|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.dataops.DataMaintRecord
wt.dataops.archive.ArchiveRecord
Use the newArchiveRecord
static factory method(s), not the
ArchiveRecord
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 | |
static String |
ARCHIVE
Label for the attribute. |
static String |
ARCHIVE_REFERENCE
Label for the attribute. |
private ObjectReference |
archiveReference
|
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private String |
logNamePrefix
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private String |
operandsInfoPrefix
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private ArchiveStatus |
status
|
static String |
STATUS
Label for the attribute. |
private static int |
STATUS_UPPER_LIMIT
|
static String |
TASK_EVENT
Label for the attribute. |
static String |
TASK_EVENT_REFERENCE
Label for the attribute. |
private ObjectReference |
taskEventReference
|
Fields inherited from class wt.dataops.DataMaintRecord |
CONTAINER, CONTEXT_PATHS, CREATOR, CRITERIA, DESCRIPTION, MAP, NAME |
Fields inherited from class wt.enterprise.Simple |
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.content.ContentHolder |
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATION |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.inf.container.WTContainedIdentified |
CONTAINER_REFERENCE |
Fields inherited from interface wt.inf.container.WTContained |
CONTAINER_ID, CONTAINER_NAME |
Fields inherited from interface wt.dataops.objectcol.CollectionOp |
CRITERIA_REFERENCE, MAP_REFERENCE |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
ArchiveRecord()
|
Method Summary | |
private void |
archiveReferenceValidate(ObjectReference a_ArchiveReference)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
Archive |
getArchive()
Gets the object for the association that plays role: ARCHIVE. |
ObjectReference |
getArchiveReference()
Gets the value of the attribute: ARCHIVE_REFERENCE. |
String |
getConceptualClassname()
Deprecated. |
IdentificationObject |
getIdentificationObject()
Constructs and returns an identification object. |
String |
getLogNamePrefix()
Supported API: false |
String |
getOperandsInfoPrefix()
Supported API: false |
EnumeratedType |
getStatus()
Gets the object for the association that plays role: STATUS. |
TaskEvent |
getTaskEvent()
Gets the object for the association that plays role: TASK_EVENT. |
ObjectReference |
getTaskEventReference()
Gets the value of the attribute: TASK_EVENT_REFERENCE. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize(String name,
WTContainerRef context)
Supports initialization, following construction of an instance. |
static ArchiveRecord |
newArchiveRecord(String name,
WTContainerRef context)
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(ArchiveRecord thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setArchive(Archive a_Archive)
Sets the object for the association that plays role: ARCHIVE. |
void |
setArchiveReference(ObjectReference a_ArchiveReference)
Sets the value of the attribute: ARCHIVE_REFERENCE. |
void |
setStatus(EnumeratedType a_Status)
Sets the object for the association that plays role: STATUS. |
void |
setTaskEvent(TaskEvent a_TaskEvent)
Sets the object for the association that plays role: TASK_EVENT. |
void |
setTaskEventReference(ObjectReference a_TaskEventReference)
Sets the value of the attribute: TASK_EVENT_REFERENCE. |
private void |
statusValidate(EnumeratedType a_Status)
|
private void |
taskEventReferenceValidate(ObjectReference a_TaskEventReference)
|
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 wt.enterprise.Simple |
getBusinessType, getDomainRef, getEventSet, getIdentity, initialize, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String STATUS
private static int STATUS_UPPER_LIMIT
private ArchiveStatus status
public static final String ARCHIVE
public static final String ARCHIVE_REFERENCE
private ObjectReference archiveReference
public static final String TASK_EVENT
public static final String TASK_EVENT_REFERENCE
private ObjectReference taskEventReference
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private final String logNamePrefix
private final String operandsInfoPrefix
Constructor Detail |
public ArchiveRecord()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class DataMaintRecord
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class DataMaintRecord
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ArchiveRecord 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
writeExternal
in class DataMaintRecord
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class DataMaintRecord
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public EnumeratedType getStatus()
getStatus
in class DataMaintRecord
public void setStatus(EnumeratedType a_Status) throws WTPropertyVetoException
setStatus
in class DataMaintRecord
a_Status
-
WTPropertyVetoException
private void statusValidate(EnumeratedType a_Status) throws WTPropertyVetoException
a_Status
-
WTPropertyVetoException
public Archive getArchive()
public void setArchive(Archive a_Archive) throws WTPropertyVetoException, WTException
a_Archive
-
WTPropertyVetoException
WTException
public ObjectReference getArchiveReference()
public void setArchiveReference(ObjectReference a_ArchiveReference) throws WTPropertyVetoException
a_ArchiveReference
-
WTPropertyVetoException
private void archiveReferenceValidate(ObjectReference a_ArchiveReference) throws WTPropertyVetoException
a_ArchiveReference
-
WTPropertyVetoException
public TaskEvent getTaskEvent()
getTaskEvent
in class DataMaintRecord
public void setTaskEvent(TaskEvent a_TaskEvent) throws WTPropertyVetoException, WTException
setTaskEvent
in class DataMaintRecord
a_TaskEvent
-
WTPropertyVetoException
WTException
public ObjectReference getTaskEventReference()
public void setTaskEventReference(ObjectReference a_TaskEventReference) throws WTPropertyVetoException
a_TaskEventReference
-
WTPropertyVetoException
private void taskEventReferenceValidate(ObjectReference a_TaskEventReference) throws WTPropertyVetoException
a_TaskEventReference
-
WTPropertyVetoException
public static ArchiveRecord newArchiveRecord(String name, WTContainerRef context) throws WTException
name
- context
-
WTException
protected void initialize(String name, WTContainerRef context) throws WTException
name
- context
-
WTException
public IdentificationObject getIdentificationObject() throws WTException
getIdentificationObject
in interface Identified
WTException
public String getLogNamePrefix()
getLogNamePrefix
in class DataMaintRecord
public String getOperandsInfoPrefix()
getOperandsInfoPrefix
in class DataMaintRecord
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class DataMaintRecord
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class DataMaintRecord
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |