|
|||||||||||
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.replication.unit.UnitOperationRecord
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private Vector |
contentVector
|
private WTPrincipalReference |
creator
|
static String |
CREATOR
Label for the attribute. |
static String |
CREATOR_EMAIL
Label for the attribute. |
static String |
CREATOR_FULL_NAME
Label for the attribute. |
static String |
CREATOR_NAME
Label for the attribute. |
private String |
description
|
static String |
DESCRIPTION
Label for the attribute. |
private static int |
DESCRIPTION_UPPER_LIMIT
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
FINISH_TIME
Label for the attribute. |
private Timestamp |
finishTime
|
private boolean |
hasContents
|
private Vector |
httpVector
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private HttpContentOperation |
operation
|
private static String |
RESOURCE
|
static String |
SCHEDULE_ITEM
Label for the attribute. |
static String |
SCHEDULE_ITEM_REFERENCE
Label for the attribute. |
(package private) static long |
serialVersionUID
|
static String |
START_TIME
Label for the attribute. |
private Timestamp |
startTime
|
private UnitReplicationStatus |
status
|
static String |
STATUS
Label for the attribute. |
private static int |
STATUS_UPPER_LIMIT
|
private ObjectReference |
theScheduleItemReference
|
static String |
UNIT
Label for the attribute. |
static String |
UNIT_REFERENCE
Label for the attribute. |
private ObjectReference |
unitReference
|
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.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 | |
UnitOperationRecord()
|
Method Summary | |
private void |
creatorValidate(WTPrincipalReference a_Creator)
|
private void |
descriptionValidate(String a_Description)
|
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. |
Vector |
getContentVector()
Gets the value of the attribute: CONTENT_VECTOR. |
WTPrincipalReference |
getCreator()
Gets the object for the association that plays role: CREATOR. |
String |
getCreatorEMail()
Gets the value of the attribute: CREATOR_EMAIL. |
String |
getCreatorFullName()
Gets the value of the attribute: CREATOR_FULL_NAME. |
String |
getCreatorName()
Gets the value of the attribute: CREATOR_NAME. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
Timestamp |
getFinishTime()
Gets the value of the attribute: FINISH_TIME. |
Vector |
getHttpVector()
Gets the value of the attribute: HTTP_VECTOR. |
HttpContentOperation |
getOperation()
Gets the value of the attribute: OPERATION. |
ScheduleItem |
getSchedItem()
A method to get the ScheduleItem for the unit that has access control disabled. |
ScheduleItem |
getScheduleItem()
Gets the object for the association that plays role: SCHEDULE_ITEM. |
ObjectReference |
getScheduleItemReference()
Gets the value of the attribute: SCHEDULE_ITEM_REFERENCE. |
Timestamp |
getStartTime()
Gets the value of the attribute: START_TIME. |
UnitReplicationStatus |
getStatus()
Gets the object for the association that plays role: STATUS. |
WTUnit |
getUnit()
Gets the object for the association that plays role: UNIT. |
ObjectReference |
getUnitReference()
Gets the value of the attribute: UNIT_REFERENCE. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize(WTUnit unit,
ScheduleItem item,
String description,
Timestamp schTime)
Supported API: false |
boolean |
isHasContents()
Gets the value of the attribute: HAS_CONTENTS. |
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(UnitOperationRecord thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setContentVector(Vector a_ContentVector)
Sets the value of the attribute: CONTENT_VECTOR. |
void |
setCreator(WTPrincipalReference a_Creator)
Sets the object for the association that plays role: CREATOR. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setFinishTime(Timestamp a_FinishTime)
Sets the value of the attribute: FINISH_TIME. |
void |
setHasContents(boolean a_HasContents)
Sets the value of the attribute: HAS_CONTENTS. |
void |
setHttpVector(Vector a_HttpVector)
Sets the value of the attribute: HTTP_VECTOR. |
void |
setOperation(HttpContentOperation a_Operation)
Sets the value of the attribute: OPERATION. |
void |
setScheduleItem(ScheduleItem a_ScheduleItem)
Sets the object for the association that plays role: SCHEDULE_ITEM. |
void |
setScheduleItemReference(ObjectReference a_ScheduleItemReference)
Sets the value of the attribute: SCHEDULE_ITEM_REFERENCE. |
void |
setStartTime(Timestamp a_StartTime)
Sets the value of the attribute: START_TIME. |
void |
setStatus(UnitReplicationStatus a_Status)
Sets the object for the association that plays role: STATUS. |
void |
setStatuses(UnitReplicationStatus status)
Supported API: false |
void |
setUnit(WTUnit a_Unit)
Sets the object for the association that plays role: UNIT. |
void |
setUnitReference(ObjectReference a_UnitReference)
Sets the value of the attribute: UNIT_REFERENCE. |
protected abstract void |
setUnitStatus(UnitReplicationStatus status)
Supported API: false |
private void |
statusValidate(UnitReplicationStatus a_Status)
|
private void |
unitReferenceValidate(ObjectReference a_UnitReference)
|
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, getConceptualClassname |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String DESCRIPTION
private static int DESCRIPTION_UPPER_LIMIT
private String description
public static final String CREATOR_EMAIL
public static final String CREATOR_NAME
public static final String CREATOR_FULL_NAME
public static final String START_TIME
private Timestamp startTime
public static final String FINISH_TIME
private Timestamp finishTime
public static final String SCHEDULE_ITEM
public static final String SCHEDULE_ITEM_REFERENCE
private ObjectReference theScheduleItemReference
public static final String UNIT
public static final String UNIT_REFERENCE
private ObjectReference unitReference
public static final String CREATOR
private WTPrincipalReference creator
public static final String STATUS
private static int STATUS_UPPER_LIMIT
private UnitReplicationStatus status
private Vector contentVector
private boolean hasContents
private HttpContentOperation operation
private Vector httpVector
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public UnitOperationRecord()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Simple
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Simple
input
-
IOException
ClassNotFoundException
protected boolean readVersion(UnitOperationRecord 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 Simple
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 Simple
input
-
SQLException
DatastoreException
public String getDescription()
public void setDescription(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
private void descriptionValidate(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public String getCreatorEMail()
public String getCreatorName()
public String getCreatorFullName()
public Timestamp getStartTime()
public void setStartTime(Timestamp a_StartTime) throws WTPropertyVetoException
a_StartTime
-
WTPropertyVetoException
public Timestamp getFinishTime()
public void setFinishTime(Timestamp a_FinishTime) throws WTPropertyVetoException
a_FinishTime
-
WTPropertyVetoException
public ScheduleItem getScheduleItem()
public void setScheduleItem(ScheduleItem a_ScheduleItem) throws WTException
a_ScheduleItem
-
WTException
public ObjectReference getScheduleItemReference()
public void setScheduleItemReference(ObjectReference a_ScheduleItemReference)
a_ScheduleItemReference
- public WTUnit getUnit()
public void setUnit(WTUnit a_Unit) throws WTPropertyVetoException, WTException
a_Unit
-
WTPropertyVetoException
WTException
public ObjectReference getUnitReference()
public void setUnitReference(ObjectReference a_UnitReference) throws WTPropertyVetoException
a_UnitReference
-
WTPropertyVetoException
private void unitReferenceValidate(ObjectReference a_UnitReference) throws WTPropertyVetoException
a_UnitReference
-
WTPropertyVetoException
public WTPrincipalReference getCreator()
public void setCreator(WTPrincipalReference a_Creator) throws WTPropertyVetoException
a_Creator
-
WTPropertyVetoException
private void creatorValidate(WTPrincipalReference a_Creator) throws WTPropertyVetoException
a_Creator
-
WTPropertyVetoException
public UnitReplicationStatus getStatus()
public void setStatus(UnitReplicationStatus a_Status) throws WTPropertyVetoException
a_Status
-
WTPropertyVetoException
private void statusValidate(UnitReplicationStatus a_Status) throws WTPropertyVetoException
a_Status
-
WTPropertyVetoException
protected void initialize(WTUnit unit, ScheduleItem item, String description, Timestamp schTime) throws WTPropertyVetoException, WTException
unit
- item
- description
- schTime
-
WTPropertyVetoException
WTException
public void setStatuses(UnitReplicationStatus status) throws WTPropertyVetoException, WTException
status
-
WTPropertyVetoException
WTException
protected abstract void setUnitStatus(UnitReplicationStatus status) throws ObjectNoLongerExistsException, WTException
status
-
ObjectNoLongerExistsException
WTException
public ScheduleItem getSchedItem() throws WTException
WTException
public Vector getContentVector()
getContentVector
in interface ContentHolder
public void setContentVector(Vector a_ContentVector) throws WTPropertyVetoException
setContentVector
in interface ContentHolder
a_ContentVector
-
WTPropertyVetoException
public boolean isHasContents()
isHasContents
in interface ContentHolder
public void setHasContents(boolean a_HasContents) throws WTPropertyVetoException
setHasContents
in interface ContentHolder
a_HasContents
-
WTPropertyVetoException
public HttpContentOperation getOperation()
getOperation
in interface ContentHolder
public void setOperation(HttpContentOperation a_Operation) throws WTPropertyVetoException
setOperation
in interface ContentHolder
a_Operation
-
WTPropertyVetoException
public Vector getHttpVector()
getHttpVector
in interface ContentHolder
public void setHttpVector(Vector a_HttpVector) throws WTPropertyVetoException
setHttpVector
in interface ContentHolder
a_HttpVector
-
WTPropertyVetoException
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 Simple
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 Simple
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |