|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.lite.AbstractLiteObject
Represents the root of a Lightweight object hierarchy. The objectIdentifier
field allows direct retrieval of its corresponding heavy object. The
updateCount is used internally to keep track of update activity.
The Lightweigh object implies its heavy object is pesistable.
All IBA light objects implements this interface
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
static int |
ILLEGAL_ACCESS
|
private String |
localizedDisplayString
|
private ObjectIdentifier |
objectID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static boolean |
SERVER
|
private int |
updateCount
|
Fields inherited from interface wt.lite.Liteable |
UPDATE_COUNT |
Constructor Summary | |
AbstractLiteObject()
Supported API: false |
|
AbstractLiteObject(int updateCount,
ObjectIdentifier objectID)
Every lite object created by each lite object service contains update count and object identifier. |
Method Summary | |
Object |
clone()
Supported API: false |
int |
compareUpdateCount(AbstractLiteObject object)
Compare the Update Counts of the persisted objects. |
String |
getHeavyObjectClassname()
Supported API: false |
String |
getLocalizedDisplayString()
Gets the value of the attribute: localizedDisplayString. |
ObjectIdentifier |
getObjectID()
Gets the object for the association that plays role: objectID. |
int |
getUpdateCount()
Gets the value of the attribute: updateCount. |
boolean |
isPersistedObjectEqual(AbstractLiteObject object)
Checks Persited Object Ids. |
private void |
localizedDisplayStringValidate(String a_LocalizedDisplayString)
|
private void |
objectIDValidate(ObjectIdentifier a_ObjectID)
|
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(AbstractLiteObject thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setLocalizedDisplayString(String a_LocalizedDisplayString)
Sets the value of the attribute: localizedDisplayString. |
void |
setObjectID(ObjectIdentifier a_ObjectID)
Sets the object for the association that plays role: objectID. |
void |
setUpdateCount(int a_UpdateCount)
Sets the value of the attribute: updateCount. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String localizedDisplayString
private ObjectIdentifier objectID
private int updateCount
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final boolean SERVER
public static final int ILLEGAL_ACCESS
Constructor Detail |
public AbstractLiteObject(int updateCount, ObjectIdentifier objectID) throws WTException
updateCount
- objectID
-
WTException
public AbstractLiteObject()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AbstractLiteObject 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 getLocalizedDisplayString()
getLocalizedDisplayString
in interface LocalizedStringDisplayable
public void setLocalizedDisplayString(String a_LocalizedDisplayString) throws WTPropertyVetoException
a_LocalizedDisplayString
-
WTPropertyVetoException
private void localizedDisplayStringValidate(String a_LocalizedDisplayString) throws WTPropertyVetoException
a_LocalizedDisplayString
-
WTPropertyVetoException
public ObjectIdentifier getObjectID()
public void setObjectID(ObjectIdentifier a_ObjectID) throws WTPropertyVetoException
a_ObjectID
-
WTPropertyVetoException
private void objectIDValidate(ObjectIdentifier a_ObjectID) throws WTPropertyVetoException
a_ObjectID
-
WTPropertyVetoException
public boolean isPersistedObjectEqual(AbstractLiteObject object)
object
-
public int compareUpdateCount(AbstractLiteObject object)
object
-
public Object clone()
public String getHeavyObjectClassname()
public int getUpdateCount()
getUpdateCount
in interface Liteable
public void setUpdateCount(int a_UpdateCount) throws WTPropertyVetoException
setUpdateCount
in interface Liteable
a_UpdateCount
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |