wt.effectivity
Class WTIncorporationDate

java.lang.Object
  extended bywt.fc.WTObject
      extended bywt.effectivity.WTIncorporationDate
All Implemented Interfaces:
DisplayIdentification, Eff, Externalizable, IncorporationDate, NetFactor, ObjectMappable, Persistable, Serializable

public class WTIncorporationDate
extends WTObject
implements IncorporationDate, Externalizable

Windchill's default implementation of an incorporation date.

Use the newWTIncorporationDate static factory method(s), not the WTIncorporationDate 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

See Also:
IncorporationDate, Serialized Form

Field Summary
private static String CLASSNAME
          Deprecated.  
static String CREATION
          Deprecated.  
private  ObjectReference creationReference
          Deprecated.  
static String DELETION
          Deprecated.  
private  ObjectReference deletionReference
          Deprecated.  
static String EFF_CONTEXT
          Deprecated.  
static String EFF_CONTEXT_REFERENCE
          Deprecated.  
private  ObjectReference effContextReference
          Deprecated.  
static long EXTERNALIZATION_VERSION_UID
          Deprecated.  
protected static long OLD_FORMAT_VERSION_UID
          Deprecated.  
private  DateEffRange range
          Deprecated.  
private static String RESOURCE
          Deprecated.  
(package private) static long serialVersionUID
          Deprecated.  
static String TARGET
          Deprecated.  
private  VersionReference targetReference
          Deprecated.  
 
Fields inherited from class wt.fc.WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMP
 
Fields inherited from interface wt.eff.IncorporationDate
RANGE
 
Fields inherited from interface wt.eff.Eff
CREATION_REFERENCE, DELETION_REFERENCE, TARGET_REFERENCE
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Fields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE
 
Constructor Summary
WTIncorporationDate()
          Deprecated.  
 
Method Summary
private  void creationReferenceValidate(ObjectReference a_CreationReference)
          Deprecated.  
private  void deletionReferenceValidate(ObjectReference a_DeletionReference)
          Deprecated.  
private  void effContextReferenceValidate(ObjectReference a_EffContextReference)
          Deprecated.  
 boolean equals(Object obj)
          Deprecated.  
 String getConceptualClassname()
          Deprecated.  
 EffChangeAudit getCreation()
          Deprecated.  
 ObjectReference getCreationReference()
          Deprecated.  
 EffChangeAudit getDeletion()
          Deprecated.  
 ObjectReference getDeletionReference()
          Deprecated.  
 EffContext getEffContext()
          Deprecated.  
 ObjectReference getEffContextReference()
          Deprecated.  
 EffRange getRange()
          Deprecated.  
 EffManagedVersion getTarget()
          Deprecated.  
 VersionReference getTargetReference()
          Deprecated.  
 int hashCode()
          Deprecated.  
protected  void initialize(Timestamp startDate, Timestamp endDate)
          Deprecated.  
static WTIncorporationDate newWTIncorporationDate()
          Deprecated.  
static WTIncorporationDate newWTIncorporationDate(Timestamp startDate, Timestamp endDate)
          Deprecated.  
private  void rangeValidate(EffRange a_Range)
          Deprecated.  
 void readExternal(ObjectInput input)
          Deprecated.  
 void readExternal(PersistentRetrieveIfc input)
          Deprecated.  
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(WTIncorporationDate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Deprecated.  
 void setCreation(EffChangeAudit a_Creation)
          Deprecated.  
 void setCreationReference(ObjectReference a_CreationReference)
          Deprecated.  
 void setDeletion(EffChangeAudit a_Deletion)
          Deprecated.  
 void setDeletionReference(ObjectReference a_DeletionReference)
          Deprecated.  
 void setEffContext(EffContext a_EffContext)
          Deprecated.  
 void setEffContextReference(ObjectReference a_EffContextReference)
          Deprecated.  
 void setRange(EffRange a_Range)
          Deprecated.  
 void setTarget(EffManagedVersion a_Target)
          Deprecated.  
 void setTargetReference(VersionReference a_TargetReference)
          Deprecated.  
private  void targetReferenceValidate(VersionReference a_TargetReference)
          Deprecated.  
 void writeExternal(ObjectOutput output)
          Deprecated.  
 void writeExternal(PersistentStoreIfc output)
          Deprecated.  
 
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
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

EFF_CONTEXT

public static final String EFF_CONTEXT
Deprecated.  

Label for the attribute.

Supported API: false

See Also:
Constant Field Values

EFF_CONTEXT_REFERENCE

public static final String EFF_CONTEXT_REFERENCE
Deprecated.  

Label for the attribute.

Supported API: false

See Also:
Constant Field Values

effContextReference

private ObjectReference effContextReference
Deprecated. 

range

private DateEffRange range
Deprecated. 

TARGET

public static final String TARGET
Deprecated.  

Label for the attribute; The target for an Eff.

Supported API: false

See Also:
Constant Field Values

targetReference

private VersionReference targetReference
Deprecated. 

CREATION

public static final String CREATION
Deprecated.  

Label for the attribute.

Supported API: false

See Also:
Constant Field Values

creationReference

private ObjectReference creationReference
Deprecated. 

DELETION

public static final String DELETION
Deprecated.  

Label for the attribute.

Supported API: false

See Also:
Constant Field Values

deletionReference

private ObjectReference deletionReference
Deprecated. 

serialVersionUID

static final long serialVersionUID
Deprecated. 
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
Deprecated. 
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

WTIncorporationDate

public WTIncorporationDate()
Deprecated. 
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Deprecated.  

Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class WTObject
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Deprecated.  

Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class WTObject
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(WTIncorporationDate thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Deprecated.  

Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Deprecated. 
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(PersistentStoreIfc output)
                   throws SQLException,
                          DatastoreException
Deprecated.  

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.

(Not intended for general use.)

Supported API: false

Specified by:
writeExternal in interface ObjectMappable
Overrides:
writeExternal in class WTObject
Parameters:
output -
Throws:
SQLException
DatastoreException

readExternal

public void readExternal(PersistentRetrieveIfc input)
                  throws SQLException,
                         DatastoreException
Deprecated.  

Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
readExternal in interface ObjectMappable
Overrides:
readExternal in class WTObject
Parameters:
input -
Throws:
SQLException
DatastoreException

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Returns:
String

getEffContext

public EffContext getEffContext()
Deprecated.  

Gets the object for the association that plays role: EFF_CONTEXT.

Supported API: false

Specified by:
getEffContext in interface IncorporationDate
Returns:
EffContext

setEffContext

public void setEffContext(EffContext a_EffContext)
                   throws WTPropertyVetoException,
                          WTException
Deprecated.  

Sets the object for the association that plays role: EFF_CONTEXT.

Supported API: false

Specified by:
setEffContext in interface IncorporationDate
Parameters:
a_EffContext -
Throws:
WTPropertyVetoException
WTException

getEffContextReference

public ObjectReference getEffContextReference()
Deprecated.  

Gets the value of the attribute: EFF_CONTEXT_REFERENCE.

Supported API: false

Specified by:
getEffContextReference in interface IncorporationDate
Returns:
ObjectReference

setEffContextReference

public void setEffContextReference(ObjectReference a_EffContextReference)
                            throws WTPropertyVetoException
Deprecated.  

Sets the value of the attribute: EFF_CONTEXT_REFERENCE.

Supported API: false

Specified by:
setEffContextReference in interface IncorporationDate
Parameters:
a_EffContextReference -
Throws:
WTPropertyVetoException

effContextReferenceValidate

private void effContextReferenceValidate(ObjectReference a_EffContextReference)
                                  throws WTPropertyVetoException
Deprecated. 
Parameters:
a_EffContextReference -
Throws:
WTPropertyVetoException

newWTIncorporationDate

public static WTIncorporationDate newWTIncorporationDate(Timestamp startDate,
                                                         Timestamp endDate)
                                                  throws WTException
Deprecated.  

Constructs an incorporation date with the given start/end values.

Supported API: false

Parameters:
startDate - The effective start date.
endDate - The effective end date.
Returns:
WTIncorporationDate
Throws:
WTException

initialize

protected void initialize(Timestamp startDate,
                          Timestamp endDate)
                   throws WTException
Deprecated.  

Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: false

Parameters:
startDate - The effective start date.
endDate - The effective end date.
Throws:
WTException

newWTIncorporationDate

public static WTIncorporationDate newWTIncorporationDate()
                                                  throws WTException
Deprecated.  

Default no argument constructor.

Supported API: false

Returns:
WTIncorporationDate
Throws:
WTException

getRange

public EffRange getRange()
Deprecated.  

Gets the object for the association that plays role: RANGE. The DateEffRange indicates when the version was assembled into the product instance.

Supported API: false

Specified by:
getRange in interface IncorporationDate
Returns:
EffRange

setRange

public void setRange(EffRange a_Range)
              throws WTPropertyVetoException
Deprecated.  

Sets the object for the association that plays role: RANGE. The DateEffRange indicates when the version was assembled into the product instance.

Supported API: false

Specified by:
setRange in interface IncorporationDate
Parameters:
a_Range -
Throws:
WTPropertyVetoException

rangeValidate

private void rangeValidate(EffRange a_Range)
                    throws WTPropertyVetoException
Deprecated. 
Parameters:
a_Range -
Throws:
WTPropertyVetoException

getTarget

public EffManagedVersion getTarget()
Deprecated.  

Gets the object for the association that plays role: TARGET. The target for an Eff.

Supported API: false

Specified by:
getTarget in interface Eff
Returns:
EffManagedVersion

setTarget

public void setTarget(EffManagedVersion a_Target)
               throws WTPropertyVetoException,
                      WTException
Deprecated.  

Sets the object for the association that plays role: TARGET. The target for an Eff.

Supported API: false

Specified by:
setTarget in interface Eff
Parameters:
a_Target -
Throws:
WTPropertyVetoException
WTException

getTargetReference

public VersionReference getTargetReference()
Deprecated.  

Gets the value of the attribute: TARGET_REFERENCE. The target for an Eff.

Supported API: false

Specified by:
getTargetReference in interface Eff
Returns:
VersionReference

setTargetReference

public void setTargetReference(VersionReference a_TargetReference)
                        throws WTPropertyVetoException
Deprecated.  

Sets the value of the attribute: TARGET_REFERENCE. The target for an Eff.

Supported API: false

Specified by:
setTargetReference in interface Eff
Parameters:
a_TargetReference -
Throws:
WTPropertyVetoException

targetReferenceValidate

private void targetReferenceValidate(VersionReference a_TargetReference)
                              throws WTPropertyVetoException
Deprecated. 
Parameters:
a_TargetReference -
Throws:
WTPropertyVetoException

getCreation

public EffChangeAudit getCreation()
Deprecated.  

Gets the object for the association that plays role: CREATION.

Supported API: false

Specified by:
getCreation in interface Eff
Returns:
EffChangeAudit

setCreation

public void setCreation(EffChangeAudit a_Creation)
                 throws WTPropertyVetoException,
                        WTException
Deprecated.  

Sets the object for the association that plays role: CREATION.

Supported API: false

Specified by:
setCreation in interface Eff
Parameters:
a_Creation -
Throws:
WTPropertyVetoException
WTException

getCreationReference

public ObjectReference getCreationReference()
Deprecated.  

Gets the value of the attribute: CREATION_REFERENCE.

Supported API: false

Specified by:
getCreationReference in interface Eff
Returns:
ObjectReference

setCreationReference

public void setCreationReference(ObjectReference a_CreationReference)
                          throws WTPropertyVetoException
Deprecated.  

Sets the value of the attribute: CREATION_REFERENCE.

Supported API: false

Specified by:
setCreationReference in interface Eff
Parameters:
a_CreationReference -
Throws:
WTPropertyVetoException

creationReferenceValidate

private void creationReferenceValidate(ObjectReference a_CreationReference)
                                throws WTPropertyVetoException
Deprecated. 
Parameters:
a_CreationReference -
Throws:
WTPropertyVetoException

getDeletion

public EffChangeAudit getDeletion()
Deprecated.  

Gets the object for the association that plays role: DELETION.

Supported API: false

Specified by:
getDeletion in interface Eff
Returns:
EffChangeAudit

setDeletion

public void setDeletion(EffChangeAudit a_Deletion)
                 throws WTPropertyVetoException,
                        WTException
Deprecated.  

Sets the object for the association that plays role: DELETION.

Supported API: false

Specified by:
setDeletion in interface Eff
Parameters:
a_Deletion -
Throws:
WTPropertyVetoException
WTException

getDeletionReference

public ObjectReference getDeletionReference()
Deprecated.  

Gets the value of the attribute: DELETION_REFERENCE.

Supported API: false

Specified by:
getDeletionReference in interface Eff
Returns:
ObjectReference

setDeletionReference

public void setDeletionReference(ObjectReference a_DeletionReference)
                          throws WTPropertyVetoException
Deprecated.  

Sets the value of the attribute: DELETION_REFERENCE.

Supported API: false

Specified by:
setDeletionReference in interface Eff
Parameters:
a_DeletionReference -
Throws:
WTPropertyVetoException

deletionReferenceValidate

private void deletionReferenceValidate(ObjectReference a_DeletionReference)
                                throws WTPropertyVetoException
Deprecated. 
Parameters:
a_DeletionReference -
Throws:
WTPropertyVetoException

equals

public boolean equals(Object obj)
Deprecated.  

Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers. 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

Overrides:
equals in class WTObject
Parameters:
obj -
Returns:
boolean

hashCode

public int hashCode()
Deprecated.  

Returns a hash code for this object based upon its 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

Overrides:
hashCode in class WTObject
Returns:
int