|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.IdentificationObject
wt.folder.SubFolderLinkIdentity
Class that defines the uniquness constraint for a SubFolder.
Use the newSubFolderLinkIdentity
static factory method(s),
not the SubFolderLinkIdentity
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
SubFolderLink
,
SubFolderLinkConstraint
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static String |
KEY_CLASS_NAME
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private ObjectReference |
parentFolderReference
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private String |
subFolderName
|
Fields inherited from class wt.fc.IdentificationObject |
|
Constructor Summary | |
SubFolderLinkIdentity()
|
Method Summary | |
String |
getConceptualClassname()
Deprecated. |
String |
getIdentity()
Returns the internal uniquness value for a SubFolderLink. |
protected String |
getKeyClassName()
Returns the name of the class (table) that provides the uniqueness constraint for a SubFolderLink. |
ObjectReference |
getParentFolderReference()
Gets the value of the attribute: parentFolderReference; Reference to the parent Folder. |
String |
getSubFolderName()
Gets the value of the attribute: subFolderName; Name of the SubFolder. |
protected void |
initialize(SubFolderLink link)
Supports initialization, following construction of an instance. |
protected static SubFolderLinkIdentity |
newSubFolderLinkIdentity(SubFolderLink link)
Factory to construct the object. |
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(SubFolderLinkIdentity thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setParentFolderReference(ObjectReference a_ParentFolderReference)
Sets the value of the attribute: parentFolderReference; Reference to the parent Folder. |
void |
setSubFolderName(String a_SubFolderName)
Sets the value of the attribute: subFolderName; Name of the SubFolder. |
void |
setToObject(Identified obj)
Method to change the the SubFolderLink when uniqueness is changed (eg the SubFolder is move to a new Folder.) Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.fc.IdentificationObject |
changeIdentity, checkIdentity, createKey, getClassInfo, getSemanticKey, initialize, readVersion, setAdditionalKeyAttributes, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String KEY_CLASS_NAME
private String subFolderName
private ObjectReference parentFolderReference
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public SubFolderLinkIdentity()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class IdentificationObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class IdentificationObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(SubFolderLinkIdentity thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String getSubFolderName()
public void setSubFolderName(String a_SubFolderName)
a_SubFolderName
- public ObjectReference getParentFolderReference()
public void setParentFolderReference(ObjectReference a_ParentFolderReference)
a_ParentFolderReference
- public void setToObject(Identified obj)
setToObject
in class IdentificationObject
obj
- public String getIdentity()
getIdentity
in class IdentificationObject
protected static SubFolderLinkIdentity newSubFolderLinkIdentity(SubFolderLink link) throws WTException
link
-
WTException
protected void initialize(SubFolderLink link) throws WTException
link
-
WTException
protected String getKeyClassName()
getKeyClassName
in class IdentificationObject
SubFolderLinkConstraint
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |