wt.iba.definition.litedefinition
Class ReferenceDefView

java.lang.Object
  extended bywt.lite.AbstractLiteObject
      extended bywt.iba.definition.litedefinition.AbstractAttributeDefinizerView
          extended bywt.iba.definition.litedefinition.AbstractAttributeDefinizerDefaultView
              extended bywt.iba.definition.litedefinition.AttributeDefDefaultView
                  extended bywt.iba.definition.litedefinition.ReferenceDefView
All Implemented Interfaces:
Cloneable, Externalizable, Liteable, LocalizedStringDisplayable, Serializable

public final class ReferenceDefView
extends AttributeDefDefaultView
implements Externalizable

Liteweight Reference type definition.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String constraintClassname
          A static string which represents a constraint class of the approriate data type.
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private  String referencedClassname
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.iba.definition.litedefinition.AttributeDefDefaultView
 
Fields inherited from class wt.iba.definition.litedefinition.AbstractAttributeDefinizerView
 
Fields inherited from class wt.lite.AbstractLiteObject
ILLEGAL_ACCESS, SERVER
 
Fields inherited from interface wt.lite.Liteable
UPDATE_COUNT
 
Constructor Summary
ReferenceDefView()
          Default Constructor.
ReferenceDefView(int updateCount, String name, ObjectIdentifier objectID, ObjectIdentifier parentObjectID, String description, String displayName, String className)
          Serverside constructor of this class.
ReferenceDefView(int updateCount, String name, ObjectIdentifier objectID, ObjectIdentifier parentObjectID, String description, String displayName, String className, String refClassname, String hierarchyID)
          Serverside constructor of this class.
ReferenceDefView(int updateCount, String name, String hierarchyDisplayName, ObjectIdentifier objectID, ObjectIdentifier parentObjectID, String description, String displayName, String className)
          Serverside constructor of this class.
ReferenceDefView(int updateCount, String name, String hierarchyDisplayName, ObjectIdentifier objectID, ObjectIdentifier parentObjectID, String description, String displayName, String className, String refClassname, String hierarchyID)
          Serverside constructor of this class.
ReferenceDefView(int updateCount, String name, String hierarchyDisplayName, ObjectIdentifier objectID, ObjectIdentifier parentObjectID, String description, String displayName, String className, String refClassname, String hierarchyID, String counterpartID)
          Added to manage the counterpartID field which is used by the R7 CounterPartService.
ReferenceDefView(String name, String description, AbstractAttributeDefinizerView parent)
          client side constructor of this class.
ReferenceDefView(String name, String description, AbstractAttributeDefinizerView parent, String refClassname)
          client side constructor of this class.
ReferenceDefView(String name, String hierarchyDisplayName, String description, AbstractAttributeDefinizerView parent)
          client side constructor of this class.
ReferenceDefView(String name, String hierarchyDisplayName, String description, AbstractAttributeDefinizerView parent, String refClassname)
          client side constructor of this class.
 
Method Summary
 Object clone()
          

Supported API: false
 String getConstraintClassname()
          

Supported API: false
 String getReferencedClassname()
          Gets the value of the attribute: referencedClassname.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(ReferenceDefView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
private  void referencedClassnameValidate(String a_ReferencedClassname)
           
 void setReferencedClassname(String a_ReferencedClassname)
          Sets the value of the attribute: referencedClassname.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.iba.definition.litedefinition.AttributeDefDefaultView
getAttributeDefinitionClassName, getCounterpartID, getDisplayName, getHierarchyID, getLocalizedDisplayString, getLogicalIdentifier, readVersion, setCounterpartID, setDisplayName, setHierarchyID, setLogicalIdentifier, toAbstractAttributeDefinizerNodeView
 
Methods inherited from class wt.iba.definition.litedefinition.AbstractAttributeDefinizerDefaultView
readVersion
 
Methods inherited from class wt.iba.definition.litedefinition.AbstractAttributeDefinizerView
getDescription, getHierarchyDisplayName, getName, getParentObjectID, isParentOf, isRoot, readVersion, setDescription, setHierarchyDisplayName, setName, setParentObjectID
 
Methods inherited from class wt.lite.AbstractLiteObject
compareUpdateCount, getHeavyObjectClassname, getObjectID, getUpdateCount, isPersistedObjectEqual, readVersion, setLocalizedDisplayString, setObjectID, setUpdateCount
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

referencedClassname

private String referencedClassname

constraintClassname

private static final String constraintClassname
A static string which represents a constraint class of the approriate data type. One of the purposes of this reference is to search the approtriate constraint subclass when a query kicks off from the attribute definition.

See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

ReferenceDefView

public ReferenceDefView()
Default Constructor.

Supported API: false


ReferenceDefView

public ReferenceDefView(String name,
                        String description,
                        AbstractAttributeDefinizerView parent)
                 throws IBAException
client side constructor of this class. Note: ReferenceDefView( String, String, AbstractAttributeDefinizerView) is deprecated and replaced by ReferenceDefView( String, String, AbstractAttributeDefinizerView, String);

Supported API: false

Parameters:
name -
description -
parent -
Throws:
IBAException

ReferenceDefView

public ReferenceDefView(int updateCount,
                        String name,
                        ObjectIdentifier objectID,
                        ObjectIdentifier parentObjectID,
                        String description,
                        String displayName,
                        String className)
                 throws WTException
Serverside constructor of this class. Contains all required attributes. Note: ReferenceDefView( int, String, ObjectIdentifier, ObjectIdentifier, String, String, String) is deprecated and replaced by ReferenceDefView( int, String, ObjectIdentifier, ObjectIdentifier, String, String, String, String);

Supported API: false

Parameters:
updateCount -
name -
objectID -
parentObjectID -
description -
displayName -
className -
Throws:
WTException

ReferenceDefView

public ReferenceDefView(String name,
                        String description,
                        AbstractAttributeDefinizerView parent,
                        String refClassname)
                 throws IBAException
client side constructor of this class.

Supported API: false

Parameters:
name -
description -
parent -
refClassname -
Throws:
IBAException

ReferenceDefView

public ReferenceDefView(int updateCount,
                        String name,
                        ObjectIdentifier objectID,
                        ObjectIdentifier parentObjectID,
                        String description,
                        String displayName,
                        String className,
                        String refClassname,
                        String hierarchyID)
                 throws IBAException
Serverside constructor of this class. Contains all required attributes.

Supported API: false

Parameters:
updateCount -
name -
objectID -
parentObjectID -
description -
displayName -
className -
refClassname -
hierarchyID -
Throws:
IBAException

ReferenceDefView

public ReferenceDefView(String name,
                        String hierarchyDisplayName,
                        String description,
                        AbstractAttributeDefinizerView parent)
                 throws IBAException
client side constructor of this class. Note: ReferenceDefView( String, String, AbstractAttributeDefinizerView) is deprecated and replaced by ReferenceDefView( String, String, AbstractAttributeDefinizerView, String);

Supported API: false

Parameters:
name -
hierarchyDisplayName -
description -
parent -
Throws:
IBAException

ReferenceDefView

public ReferenceDefView(int updateCount,
                        String name,
                        String hierarchyDisplayName,
                        ObjectIdentifier objectID,
                        ObjectIdentifier parentObjectID,
                        String description,
                        String displayName,
                        String className)
                 throws WTException
Serverside constructor of this class. Contains all required attributes. Note: ReferenceDefView( int, String, ObjectIdentifier, ObjectIdentifier, String, String, String) is deprecated and replaced by ReferenceDefView( int, String, ObjectIdentifier, ObjectIdentifier, String, String, String, String);

Supported API: false

Parameters:
updateCount -
name -
hierarchyDisplayName -
objectID -
parentObjectID -
description -
displayName -
className -
Throws:
WTException

ReferenceDefView

public ReferenceDefView(String name,
                        String hierarchyDisplayName,
                        String description,
                        AbstractAttributeDefinizerView parent,
                        String refClassname)
                 throws IBAException
client side constructor of this class.

Supported API: false

Parameters:
name -
hierarchyDisplayName -
description -
parent -
refClassname -
Throws:
IBAException

ReferenceDefView

public ReferenceDefView(int updateCount,
                        String name,
                        String hierarchyDisplayName,
                        ObjectIdentifier objectID,
                        ObjectIdentifier parentObjectID,
                        String description,
                        String displayName,
                        String className,
                        String refClassname,
                        String hierarchyID)
                 throws IBAException
Serverside constructor of this class. Contains all required attributes.

Supported API: false

Parameters:
updateCount -
name -
hierarchyDisplayName -
objectID -
parentObjectID -
description -
displayName -
className -
refClassname -
hierarchyID -
Throws:
IBAException

ReferenceDefView

public ReferenceDefView(int updateCount,
                        String name,
                        String hierarchyDisplayName,
                        ObjectIdentifier objectID,
                        ObjectIdentifier parentObjectID,
                        String description,
                        String displayName,
                        String className,
                        String refClassname,
                        String hierarchyID,
                        String counterpartID)
                 throws IBAException
Added to manage the counterpartID field which is used by the R7 CounterPartService.

Supported API: false

Parameters:
updateCount -
name -
hierarchyDisplayName -
objectID -
parentObjectID -
description -
displayName -
className -
refClassname -
hierarchyID -
counterpartID -
Throws:
IBAException
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class AttributeDefDefaultView
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class AttributeDefDefaultView
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ReferenceDefView thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getReferencedClassname

public String getReferencedClassname()
Gets the value of the attribute: referencedClassname.

Supported API: false

Returns:
String

setReferencedClassname

public void setReferencedClassname(String a_ReferencedClassname)
                            throws WTPropertyVetoException
Sets the value of the attribute: referencedClassname.

Supported API: false

Parameters:
a_ReferencedClassname -
Throws:
WTPropertyVetoException

referencedClassnameValidate

private void referencedClassnameValidate(String a_ReferencedClassname)
                                  throws WTPropertyVetoException
Parameters:
a_ReferencedClassname -
Throws:
WTPropertyVetoException

clone

public Object clone()


Supported API: false

Overrides:
clone in class AttributeDefDefaultView
Returns:
Object

getConstraintClassname

public String getConstraintClassname()


Supported API: false

Specified by:
getConstraintClassname in class AttributeDefDefaultView
Returns:
String