|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.IdentificationObject
wt.content.DataFormatIdentity
Identification object for a DataFormat This is an implementation object that defines the uniqueness constraint for a DataFormat.
Use the newDataFormatIdentity
static factory method(s),
not the DataFormatIdentity
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: false
Extendable: false
DataFormat
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private String |
formatName
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.fc.IdentificationObject |
|
Constructor Summary | |
DataFormatIdentity()
|
Method Summary | |
private void |
formatNameValidate(String a_FormatName)
|
String |
getConceptualClassname()
Deprecated. |
String |
getFormatName()
Gets the value of the attribute: formatName. |
String |
getIdentity()
Constructs and returns a string representing the object's identity. |
protected String |
getKeyClassName()
Creates a name for the uniqueness constraint. |
protected void |
initialize(String aFormatName)
Supports initialization, following construction of an instance. |
static DataFormatIdentity |
newDataFormatIdentity(String aFormatName)
Supported API: false |
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(DataFormatIdentity thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
protected void |
setFormatName(String a_FormatName)
Sets the value of the attribute: formatName. |
protected void |
setToObject(Identified obj)
Updates the identity of the object passed as argument with the identity held in the object. |
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 String formatName
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public DataFormatIdentity()
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(DataFormatIdentity 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 getFormatName()
protected void setFormatName(String a_FormatName) throws WTPropertyVetoException
a_FormatName
-
WTPropertyVetoException
private void formatNameValidate(String a_FormatName) throws WTPropertyVetoException
a_FormatName
-
WTPropertyVetoException
public static DataFormatIdentity newDataFormatIdentity(String aFormatName) throws WTException
aFormatName
-
WTException
protected void initialize(String aFormatName) throws WTException
aFormatName
-
WTException
protected String getKeyClassName()
getKeyClassName
in class IdentificationObject
public String getIdentity()
getIdentity
in class IdentificationObject
protected void setToObject(Identified obj) throws WTException
setToObject
in class IdentificationObject
obj
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |