|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.lite.DefaultLightweightInfo
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private ObjectIdentifier |
key
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private int |
updateCount
|
Constructor Summary | |
DefaultLightweightInfo()
Supported API: false |
|
DefaultLightweightInfo(Lightweight a_lightweight,
Object a_context_object)
Supported API: false |
Method Summary | |
protected void |
checkInfoSet()
Supported API: false |
int |
compareFreshness(Lightweight a_lightweight)
Supported API: false |
boolean |
equals(Lightweight a_lightweight,
Object an_object)
Supported API: false |
Object |
getHeavyWeight(Lightweight a_lightweight)
Supported API: false |
ObjectIdentifier |
getKey()
Gets the object for the association that plays role: key. |
int |
getUpdateCount()
Gets the value of the attribute: updateCount. |
int |
hashCode()
Supported API: false |
void |
initialize(Lightweight a_lightweight,
Object a_context_object)
Supported API: false |
boolean |
isStillValid()
Supported API: false |
private void |
keyValidate(ObjectIdentifier a_Key)
|
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(DefaultLightweightInfo thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
boolean |
references(Lightweight a_lightweight)
Supported API: false |
boolean |
references(Persistable an_object)
Supported API: false |
void |
refresh()
Supported API: false |
void |
setKey(ObjectIdentifier a_Key)
Sets the object for the association that plays role: key. |
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 |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private int updateCount
private ObjectIdentifier key
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public DefaultLightweightInfo(Lightweight a_lightweight, Object a_context_object)
a_lightweight
- a_context_object
- public DefaultLightweightInfo()
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(DefaultLightweightInfo 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 int getUpdateCount()
public void setUpdateCount(int a_UpdateCount) throws WTPropertyVetoException
a_UpdateCount
-
WTPropertyVetoException
public ObjectIdentifier getKey()
public void setKey(ObjectIdentifier a_Key) throws WTPropertyVetoException
a_Key
-
WTPropertyVetoException
private void keyValidate(ObjectIdentifier a_Key) throws WTPropertyVetoException
a_Key
-
WTPropertyVetoException
protected void checkInfoSet()
public boolean isStillValid()
isStillValid
in interface LightweightInfo
public Object getHeavyWeight(Lightweight a_lightweight)
getHeavyWeight
in interface LightweightInfo
a_lightweight
-
public boolean equals(Lightweight a_lightweight, Object an_object)
equals
in interface LightweightInfo
a_lightweight
- an_object
-
public int hashCode()
hashCode
in interface LightweightInfo
public void refresh()
refresh
in interface LightweightInfo
public boolean references(Persistable an_object)
references
in interface LightweightInfo
an_object
-
public boolean references(Lightweight a_lightweight)
references
in interface LightweightInfo
a_lightweight
-
public void initialize(Lightweight a_lightweight, Object a_context_object)
initialize
in interface LightweightInfo
a_lightweight
- a_context_object
- public int compareFreshness(Lightweight a_lightweight)
compareFreshness
in interface LightweightInfo
a_lightweight
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |