|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.PersistInfo
PersistInfo represents the information that must be maintained about a Persistable object.
Use the newPersistInfo
static factory method(s), not the
PersistInfo
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
Field Summary | |
private static String |
CLASSNAME
|
static String |
CREATE_STAMP
Label for the attribute. |
private Timestamp |
createStamp
|
static long |
EXTERNALIZATION_VERSION_UID
|
private boolean |
isDeleted
|
private boolean |
isPersisted
|
static String |
MARK_FOR_DELETE
Label for the attribute; Indicates object as marked for delete if > 0. |
private long |
markForDelete
|
static String |
MODIFY_STAMP
Label for the attribute. |
private Timestamp |
modifyStamp
|
static String |
OBJECT_IDENTIFIER
Label for the attribute. |
protected static long |
OLD_FORMAT_VERSION_UID
|
static boolean |
persistIfcRead
|
static boolean |
persistIfcWrite
|
static boolean |
persistRmiRead
|
static boolean |
persistRmiWrite
|
private static long |
R4_THRU_R62X_VESION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private ObjectIdentifier |
theObjectIdentifier
|
static String |
UPDATE_COUNT
Label for the attribute. |
static String |
UPDATE_STAMP
Label for the attribute. |
private int |
updateCount
|
private Timestamp |
updateStamp
|
Constructor Summary | |
PersistInfo()
|
|
PersistInfo(ObjectIdentifier oid)
|
Method Summary | |
ClassInfo |
getClassInfo()
Returns the ClassInfo object for this class. |
String |
getConceptualClassname()
Deprecated. |
Timestamp |
getCreateStamp()
Gets the value of the attribute: CREATE_STAMP. |
long |
getMarkForDelete()
Gets the value of the attribute: MARK_FOR_DELETE. |
Timestamp |
getModifyStamp()
Gets the value of the attribute: MODIFY_STAMP. |
ObjectIdentifier |
getObjectIdentifier()
Gets the object for the association that plays role: OBJECT_IDENTIFIER. |
int |
getUpdateCount()
Gets the value of the attribute: UPDATE_COUNT. |
Timestamp |
getUpdateStamp()
Gets the value of the attribute: UPDATE_STAMP. |
protected void |
initialize()
Supported API: false |
protected void |
initialize(ObjectIdentifier oid)
Supported API: false |
boolean |
isDeleted()
Supported API: false |
boolean |
isPersisted()
Supported API: false |
void |
makeDeleted()
Supported API: false |
void |
makeNonPersistent()
Sets the isPersisted flag to false, and resets the update count. |
void |
makePersisted()
Supported API: false |
static PersistInfo |
newPersistInfo()
Supported API: false |
static PersistInfo |
newPersistInfo(ObjectIdentifier oid)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
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(PersistInfo thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
refresh(PersistentRetrieveIfc aPRI,
String container)
Supported API: false |
private void |
repPersistIfcReadInfo()
|
private void |
repPersistIfcWriteInfo()
|
private void |
repPersistRmiReadInfo()
|
private void |
repPersistRmiWriteInfo()
|
(package private) void |
resetDeleted()
|
void |
setCreateStamp(Timestamp a_CreateStamp)
Sets the value of the attribute: CREATE_STAMP. |
void |
setMarkForDelete(long a_MarkForDelete)
Sets the value of the attribute: MARK_FOR_DELETE. |
void |
setModifyStamp(Timestamp a_ModifyStamp)
Sets the value of the attribute: MODIFY_STAMP. |
protected void |
setObjectIdentifier(ObjectIdentifier a_ObjectIdentifier)
Sets the object for the association that plays role: OBJECT_IDENTIFIER. |
void |
setUpdateCount(int a_UpdateCount)
Sets the value of the attribute: UPDATE_COUNT. |
void |
setUpdateStamp(Timestamp a_UpdateStamp)
Sets the value of the attribute: UPDATE_STAMP. |
String |
toString()
Returns the conceptual (modeled) name for the class. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
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
public static final String CREATE_STAMP
private Timestamp createStamp
public static final String MODIFY_STAMP
private Timestamp modifyStamp
public static final String UPDATE_STAMP
private Timestamp updateStamp
public static final String UPDATE_COUNT
private int updateCount
public static final String MARK_FOR_DELETE
private long markForDelete
private boolean isDeleted
private boolean isPersisted
public static final String OBJECT_IDENTIFIER
private ObjectIdentifier theObjectIdentifier
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final long R4_THRU_R62X_VESION_UID
public static boolean persistRmiWrite
public static boolean persistRmiRead
public static boolean persistIfcWrite
public static boolean persistIfcRead
Constructor Detail |
public PersistInfo()
public PersistInfo(ObjectIdentifier oid)
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(PersistInfo 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 void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String toString()
public ClassInfo getClassInfo() throws WTIntrospectionException
getClassInfo
in interface NetFactor
WTIntrospectionException
public Timestamp getCreateStamp()
public void setCreateStamp(Timestamp a_CreateStamp)
a_CreateStamp
- public Timestamp getModifyStamp()
public void setModifyStamp(Timestamp a_ModifyStamp)
a_ModifyStamp
- public Timestamp getUpdateStamp()
public void setUpdateStamp(Timestamp a_UpdateStamp)
a_UpdateStamp
- public int getUpdateCount()
public void setUpdateCount(int a_UpdateCount)
a_UpdateCount
- public long getMarkForDelete()
public void setMarkForDelete(long a_MarkForDelete)
a_MarkForDelete
- public ObjectIdentifier getObjectIdentifier()
protected void setObjectIdentifier(ObjectIdentifier a_ObjectIdentifier)
a_ObjectIdentifier
- public static PersistInfo newPersistInfo() throws WTException
WTException
public static PersistInfo newPersistInfo(ObjectIdentifier oid) throws WTException
oid
-
WTException
public void refresh(PersistentRetrieveIfc aPRI, String container) throws SQLException
aPRI
- container
-
SQLException
public void makeDeleted()
public boolean isDeleted()
protected void initialize()
protected void initialize(ObjectIdentifier oid)
oid
- public void makePersisted()
public void makeNonPersistent()
public boolean isPersisted()
void resetDeleted()
private void repPersistRmiReadInfo()
private void repPersistRmiWriteInfo()
private void repPersistIfcReadInfo()
private void repPersistIfcWriteInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |