|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.effectivity.UnitEffectivity
Abstract class representing a unit based effectivity. All effectivity
types which result from specializing this class contain a start number
and end number, and represent the number span during which some item
is effective.
Supported API: true
Extendable: true
Effectivity
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
static String |
CREATION
Label for the attribute. |
private ObjectReference |
creationReference
|
static String |
DELETION
Label for the attribute. |
private ObjectReference |
deletionReference
|
static String |
EFF_CONTEXT
Label for the attribute. |
static String |
EFF_CONTEXT_REFERENCE
Label for the attribute. |
private ObjectReference |
effContextReference
|
static String |
END_NUMBER
Label for the attribute; The effective end number. |
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private LeftFilledStringEffRange |
range
|
static String |
RANGE
Label for the attribute. |
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private ObjectReference |
standardTargetReference
|
static String |
START_NUMBER
Label for the attribute; The effective start number. |
static String |
TARGET
Label for the attribute. |
private VersionReference |
targetReference
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.effectivity.Effectivity |
CONFIG_ITEM_EFFECTIVITY_TYPE, CONFIG_ITEM_NAME, CONFIG_ITEM_REF, STANDARD_TARGET_REFERENCE, TARGET_REFERENCE, VERSIONED_TARGET |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.eff.Eff |
CREATION_REFERENCE, DELETION_REFERENCE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
UnitEffectivity()
|
Method Summary | |
private void |
creationReferenceValidate(ObjectReference a_CreationReference)
|
private void |
deletionReferenceValidate(ObjectReference a_DeletionReference)
|
private void |
effContextReferenceValidate(ObjectReference a_EffContextReference)
|
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. |
EffectivityType |
getConfigItemEffectivityType()
Gets the value of the attribute: CONFIG_ITEM_EFFECTIVITY_TYPE. |
String |
getConfigItemName()
Gets the value of the attribute: CONFIG_ITEM_NAME. |
ConfigurationItemReference |
getConfigItemRef()
Gets the value of the attribute: CONFIG_ITEM_REF. |
EffChangeAudit |
getCreation()
Gets the object for the association that plays role: CREATION. |
ObjectReference |
getCreationReference()
Gets the value of the attribute: CREATION_REFERENCE. |
EffChangeAudit |
getDeletion()
Gets the object for the association that plays role: DELETION. |
ObjectReference |
getDeletionReference()
Gets the value of the attribute: DELETION_REFERENCE. |
EffContext |
getEffContext()
Gets the object for the association that plays role: EFF_CONTEXT. |
ObjectReference |
getEffContextReference()
Gets the value of the attribute: EFF_CONTEXT_REFERENCE. |
String |
getEndNumber()
Gets the value of the attribute: END_NUMBER. |
EffRange |
getRange()
Gets the object for the association that plays role: RANGE. |
ObjectReference |
getStandardTargetReference()
Gets the value of the attribute: STANDARD_TARGET_REFERENCE. |
String |
getStartNumber()
Gets the value of the attribute: START_NUMBER. |
EffManagedVersion |
getTarget()
Gets the object for the association that plays role: TARGET. |
VersionReference |
getTargetReference()
Gets the value of the attribute: TARGET_REFERENCE. |
VersionReference |
getVersionedTarget()
Gets the value of the attribute: VERSIONED_TARGET. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
private void |
rangeValidate(EffRange a_Range)
|
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(UnitEffectivity thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setConfigItemRef(ConfigurationItemReference a_ConfigItemRef)
Sets the value of the attribute: CONFIG_ITEM_REF. |
void |
setCreation(EffChangeAudit a_Creation)
Sets the object for the association that plays role: CREATION. |
void |
setCreationReference(ObjectReference a_CreationReference)
Sets the value of the attribute: CREATION_REFERENCE. |
void |
setDeletion(EffChangeAudit a_Deletion)
Sets the object for the association that plays role: DELETION. |
void |
setDeletionReference(ObjectReference a_DeletionReference)
Sets the value of the attribute: DELETION_REFERENCE. |
void |
setEffContext(EffContext a_EffContext)
Sets the object for the association that plays role: EFF_CONTEXT. |
void |
setEffContextReference(ObjectReference a_EffContextReference)
Sets the value of the attribute: EFF_CONTEXT_REFERENCE. |
void |
setEndNumber(String a_EndNumber)
Sets the value of the attribute: END_NUMBER. |
void |
setRange(EffRange a_Range)
Sets the object for the association that plays role: RANGE. |
void |
setStandardTargetReference(ObjectReference a_StandardTargetReference)
Sets the value of the attribute: STANDARD_TARGET_REFERENCE. |
void |
setStartNumber(String a_StartNumber)
Sets the value of the attribute: START_NUMBER. |
void |
setTarget(EffManagedVersion a_Target)
Sets the object for the association that plays role: TARGET. |
void |
setTargetReference(VersionReference a_TargetReference)
Sets the value of the attribute: TARGET_REFERENCE. |
void |
setVersionedTarget(VersionReference a_VersionedTarget)
Sets the value of the attribute: VERSIONED_TARGET. |
private void |
standardTargetReferenceValidate(ObjectReference a_StandardTargetReference)
|
private void |
targetReferenceValidate(VersionReference a_TargetReference)
|
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.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, initialize, 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 START_NUMBER
public static final String END_NUMBER
public static final String RANGE
private LeftFilledStringEffRange range
public static final String EFF_CONTEXT
public static final String EFF_CONTEXT_REFERENCE
private ObjectReference effContextReference
private ObjectReference standardTargetReference
public static final String TARGET
private VersionReference targetReference
public static final String CREATION
private ObjectReference creationReference
public static final String DELETION
private ObjectReference deletionReference
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public UnitEffectivity()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WTObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WTObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(UnitEffectivity 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 WTObject
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 WTObject
input
-
SQLException
DatastoreException
public String getStartNumber()
public void setStartNumber(String a_StartNumber) throws WTPropertyVetoException
a_StartNumber
-
WTPropertyVetoException
public String getEndNumber()
public void setEndNumber(String a_EndNumber) throws WTPropertyVetoException
a_EndNumber
-
WTPropertyVetoException
public EffRange getRange()
getRange
in interface Eff
public void setRange(EffRange a_Range) throws WTPropertyVetoException
setRange
in interface Eff
a_Range
-
WTPropertyVetoException
private void rangeValidate(EffRange a_Range) throws WTPropertyVetoException
a_Range
-
WTPropertyVetoException
public EffContext getEffContext()
getEffContext
in interface Effectivity
public void setEffContext(EffContext a_EffContext) throws WTPropertyVetoException, WTException
setEffContext
in interface Effectivity
a_EffContext
-
WTPropertyVetoException
WTException
public ObjectReference getEffContextReference()
getEffContextReference
in interface Effectivity
public void setEffContextReference(ObjectReference a_EffContextReference) throws WTPropertyVetoException
setEffContextReference
in interface Effectivity
a_EffContextReference
-
WTPropertyVetoException
private void effContextReferenceValidate(ObjectReference a_EffContextReference) throws WTPropertyVetoException
a_EffContextReference
-
WTPropertyVetoException
public String getConfigItemName()
getConfigItemName
in interface Effectivity
public EffectivityType getConfigItemEffectivityType()
getConfigItemEffectivityType
in interface Effectivity
public VersionReference getVersionedTarget()
getVersionedTarget
in interface Effectivity
public void setVersionedTarget(VersionReference a_VersionedTarget) throws WTPropertyVetoException
setVersionedTarget
in interface Effectivity
a_VersionedTarget
-
WTPropertyVetoException
public ConfigurationItemReference getConfigItemRef()
getConfigItemRef
in interface Effectivity
public void setConfigItemRef(ConfigurationItemReference a_ConfigItemRef) throws WTPropertyVetoException
setConfigItemRef
in interface Effectivity
a_ConfigItemRef
-
WTPropertyVetoException
public ObjectReference getStandardTargetReference()
getStandardTargetReference
in interface Effectivity
public void setStandardTargetReference(ObjectReference a_StandardTargetReference) throws WTPropertyVetoException
setStandardTargetReference
in interface Effectivity
a_StandardTargetReference
-
WTPropertyVetoException
private void standardTargetReferenceValidate(ObjectReference a_StandardTargetReference) throws WTPropertyVetoException
a_StandardTargetReference
-
WTPropertyVetoException
public EffManagedVersion getTarget()
getTarget
in interface Effectivity
public void setTarget(EffManagedVersion a_Target) throws WTPropertyVetoException, WTException
setTarget
in interface Effectivity
a_Target
-
WTPropertyVetoException
WTException
public VersionReference getTargetReference()
getTargetReference
in interface Effectivity
public void setTargetReference(VersionReference a_TargetReference) throws WTPropertyVetoException
setTargetReference
in interface Effectivity
a_TargetReference
-
WTPropertyVetoException
private void targetReferenceValidate(VersionReference a_TargetReference) throws WTPropertyVetoException
a_TargetReference
-
WTPropertyVetoException
public EffChangeAudit getCreation()
getCreation
in interface Eff
public void setCreation(EffChangeAudit a_Creation) throws WTPropertyVetoException, WTException
setCreation
in interface Eff
a_Creation
-
WTPropertyVetoException
WTException
public ObjectReference getCreationReference()
getCreationReference
in interface Eff
public void setCreationReference(ObjectReference a_CreationReference) throws WTPropertyVetoException
setCreationReference
in interface Eff
a_CreationReference
-
WTPropertyVetoException
private void creationReferenceValidate(ObjectReference a_CreationReference) throws WTPropertyVetoException
a_CreationReference
-
WTPropertyVetoException
public EffChangeAudit getDeletion()
getDeletion
in interface Eff
public void setDeletion(EffChangeAudit a_Deletion) throws WTPropertyVetoException, WTException
setDeletion
in interface Eff
a_Deletion
-
WTPropertyVetoException
WTException
public ObjectReference getDeletionReference()
getDeletionReference
in interface Eff
public void setDeletionReference(ObjectReference a_DeletionReference) throws WTPropertyVetoException
setDeletionReference
in interface Eff
a_DeletionReference
-
WTPropertyVetoException
private void deletionReferenceValidate(ObjectReference a_DeletionReference) throws WTPropertyVetoException
a_DeletionReference
-
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 WTObject
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 WTObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |