wt.change2
Class ChangeOrder2

java.lang.Object
  extended bywt.fc.WTObject
      extended bywt.enterprise.Managed
          extended bywt.change2.ChangeOrder2
All Implemented Interfaces:
AccessControlled, AccessControlList, AdHocControlled, BusinessInformation, CabinetBased, ChangeItem, ChangeItemIfc, ChangeOrderIfc, ContentHolder, DisplayIdentification, DomainAdministered, ElectronicallySignable, Externalizable, Foldered, FolderEntry, FolderServiceManaged, Identified, Indexable, LifeCycleManaged, NetFactor, Notifiable, ObjectMappable, OrganizationOwned, OrganizationOwnedImpl, Ownable, Persistable, RecentlyVisited, Serializable, SubjectOfForum, SubjectOfNotebook, TeamManaged, WTContained, WTContainedIdentified
Direct Known Subclasses:
WTChangeOrder2

public abstract class ChangeOrder2
extends Managed
implements ContentHolder, ChangeOrderIfc, ChangeItem, ElectronicallySignable, WTContained, OrganizationOwnedImpl, WTContainedIdentified, Externalizable

The abstract level representation of a change order.

Supported API: true

Extendable: false

See Also:
ChangeOrderIfc, WTChangeOrder2, Serialized Form

Field Summary
private static String CLASSNAME
           
static String CONTAINER
          Label for the attribute.
private  WTContainerRef containerReference
           
private  Vector contentVector
           
static long EXTERNALIZATION_VERSION_UID
           
private  boolean hasContents
           
private  Vector httpVector
           
protected static long OLD_FORMAT_VERSION_UID
           
private  HttpContentOperation operation
           
private  WTPrincipalReference organizationReference
           
static long R51_EXTERNALIZATION_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.enterprise.Managed
CREATOR, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME
 
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.WTContained
CONTAINER_ID, CONTAINER_NAME, CONTAINER_REFERENCE
 
Fields inherited from interface wt.org.OrganizationOwnedImpl
ORGANIZATION_REFERENCE
 
Fields inherited from interface wt.org.OrganizationOwned
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER
 
Fields inherited from interface wt.inf.container.WTContainedIdentified
CONTAINER_REFERENCE
 
Fields inherited from interface wt.admin.DomainAdministered
DOMAIN_REF, INHERITED_DOMAIN
 
Fields inherited from interface wt.folder.Foldered
CABINET, CABINET_NAME, FOLDERING_INFO
 
Fields inherited from interface wt.folder.CabinetBased
CABINET_REFERENCE, FOLDER_PATH, LOCATION, NAME
 
Fields inherited from interface wt.ownership.Ownable
OWNERSHIP
 
Fields inherited from interface wt.fc.BusinessInformation
BUSINESS_TYPE, IDENTITY
 
Fields inherited from interface wt.notify.Notifiable
EVENT_SET
 
Fields inherited from interface wt.index.Indexable
INDEXER_SET
 
Fields inherited from interface wt.lifecycle.LifeCycleManaged
LIFE_CYCLE_AT_GATE, LIFE_CYCLE_BASIC, LIFE_CYCLE_NAME, LIFE_CYCLE_STATE, LIFE_CYCLE_TEMPLATE, STATE
 
Fields inherited from interface wt.access.AdHocControlled
ENTRY_SET
 
Fields inherited from interface wt.team.TeamManaged
TEAM_ID, TEAM_IDENTITY, TEAM_NAME, TEAM_TEMPLATE_ID, TEAM_TEMPLATE_IDENTITY, TEAM_TEMPLATE_NAME
 
Fields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE
 
Constructor Summary
ChangeOrder2()
           
 
Method Summary
private  void containerReferenceValidate(WTContainerRef a_ContainerReference)
           
 boolean equals(Object obj)
          Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers.
 WTContainer getContainer()
          Gets the object for the association that plays role: CONTAINER.
 String getContainerName()
          Gets the value of the attribute: CONTAINER_NAME.
 WTContainerRef getContainerReference()
          Gets the value of the attribute: CONTAINER_REFERENCE.
 Vector getContentVector()
          Gets the value of the attribute: CONTENT_VECTOR.
 Vector getHttpVector()
          Gets the value of the attribute: HTTP_VECTOR.
 HttpContentOperation getOperation()
          Gets the value of the attribute: OPERATION.
 WTOrganization getOrganization()
          Gets the value of the attribute: ORGANIZATION.
 String getOrganizationCodingSystem()
          Gets the value of the attribute: ORGANIZATION_CODING_SYSTEM.
 String getOrganizationName()
          Gets the value of the attribute: ORGANIZATION_NAME.
 WTPrincipalReference getOrganizationReference()
          Gets the value of the attribute: ORGANIZATION_REFERENCE.
 String getOrganizationUniqueIdentifier()
          Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER.
 int hashCode()
          Returns a hash code for this object based upon its ObjectIdentifier.
 boolean isHasContents()
          Gets the value of the attribute: HAS_CONTENTS.
private  void organizationReferenceValidate(WTPrincipalReference a_OrganizationReference)
           
 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(ChangeOrder2 thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setContainer(WTContainer a_Container)
          Sets the object for the association that plays role: CONTAINER.
 void setContainerReference(WTContainerRef a_ContainerReference)
          Sets the value of the attribute: CONTAINER_REFERENCE.
 void setContentVector(Vector a_ContentVector)
          Sets the value of the attribute: CONTENT_VECTOR.
 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 setOrganization(WTOrganization a_Organization)
          Sets the value of the attribute: ORGANIZATION.
 void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
          Sets the value of the attribute: ORGANIZATION_REFERENCE.
 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.Managed
getBusinessType, getCabinet, getCabinetName, getCabinetReference, getCreator, getCreatorEMail, getCreatorFullName, getCreatorName, getDomainRef, getEntrySet, getEventSet, getFolderingInfo, getFolderPath, getIdentity, getIndexerSet, getLifeCycleName, getLifeCycleState, getLifeCycleTemplate, getLocation, getName, getOwnership, getState, getTeamId, getTeamIdentity, getTeamName, getTeamTemplateId, getTeamTemplateIdentity, getTeamTemplateName, initialize, isInheritedDomain, isLifeCycleAtGate, isLifeCycleBasic, readVersion, setDomainRef, setEntrySet, setEventSet, setFolderingInfo, setIndexerSet, setInheritedDomain, setOwnership, setState, setTeamId, setTeamTemplateId
 
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
 
Methods inherited from interface wt.fc.Identified
getIdentificationObject
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

contentVector

private Vector contentVector

hasContents

private boolean hasContents

operation

private HttpContentOperation operation

httpVector

private Vector httpVector

CONTAINER

public static final String CONTAINER
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

containerReference

private WTContainerRef containerReference

organizationReference

private WTPrincipalReference organizationReference

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

R51_EXTERNALIZATION_VERSION_UID

public static final long R51_EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

ChangeOrder2

public ChangeOrder2()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
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 Managed
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
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 Managed
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ChangeOrder2 thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
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
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
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 Managed
Parameters:
output -
Throws:
SQLException
DatastoreException

readExternal

public void readExternal(PersistentRetrieveIfc input)
                  throws SQLException,
                         DatastoreException
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 Managed
Parameters:
input -
Throws:
SQLException
DatastoreException

getContentVector

public Vector getContentVector()
Gets the value of the attribute: CONTENT_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
getContentVector in interface ContentHolder
Returns:
Vector

setContentVector

public void setContentVector(Vector a_ContentVector)
                      throws WTPropertyVetoException
Sets the value of the attribute: CONTENT_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
setContentVector in interface ContentHolder
Parameters:
a_ContentVector -
Throws:
WTPropertyVetoException

isHasContents

public boolean isHasContents()
Gets the value of the attribute: HAS_CONTENTS. This is a non-persistent variable that is used to pass information from server to client. Should not be directly accessed by the client

Supported API: false

Specified by:
isHasContents in interface ContentHolder
Returns:
boolean

setHasContents

public void setHasContents(boolean a_HasContents)
                    throws WTPropertyVetoException
Sets the value of the attribute: HAS_CONTENTS. This is a non-persistent variable that is used to pass information from server to client. Should not be directly accessed by the client

Supported API: false

Specified by:
setHasContents in interface ContentHolder
Parameters:
a_HasContents -
Throws:
WTPropertyVetoException

getOperation

public HttpContentOperation getOperation()
Gets the value of the attribute: OPERATION.

Supported API: false

Specified by:
getOperation in interface ContentHolder
Returns:
HttpContentOperation

setOperation

public void setOperation(HttpContentOperation a_Operation)
                  throws WTPropertyVetoException
Sets the value of the attribute: OPERATION.

Supported API: false

Specified by:
setOperation in interface ContentHolder
Parameters:
a_Operation -
Throws:
WTPropertyVetoException

getHttpVector

public Vector getHttpVector()
Gets the value of the attribute: HTTP_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
getHttpVector in interface ContentHolder
Returns:
Vector

setHttpVector

public void setHttpVector(Vector a_HttpVector)
                   throws WTPropertyVetoException
Sets the value of the attribute: HTTP_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
setHttpVector in interface ContentHolder
Parameters:
a_HttpVector -
Throws:
WTPropertyVetoException

getContainerName

public String getContainerName()
Gets the value of the attribute: CONTAINER_NAME. The name of the WTContainer this object is assigned to.

Supported API: false

Specified by:
getContainerName in interface WTContained
Returns:
String

getContainer

public WTContainer getContainer()
Gets the object for the association that plays role: CONTAINER.

Supported API: false

Specified by:
getContainer in interface WTContained
Returns:
WTContainer

setContainer

public void setContainer(WTContainer a_Container)
                  throws WTPropertyVetoException,
                         WTException
Sets the object for the association that plays role: CONTAINER.

Supported API: false

Specified by:
setContainer in interface WTContained
Parameters:
a_Container -
Throws:
WTPropertyVetoException
WTException

getContainerReference

public WTContainerRef getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE.

Supported API: false

Specified by:
getContainerReference in interface WTContained
Returns:
WTContainerRef

setContainerReference

public void setContainerReference(WTContainerRef a_ContainerReference)
                           throws WTPropertyVetoException
Sets the value of the attribute: CONTAINER_REFERENCE.

Supported API: false

Specified by:
setContainerReference in interface WTContained
Parameters:
a_ContainerReference -
Throws:
WTPropertyVetoException

containerReferenceValidate

private void containerReferenceValidate(WTContainerRef a_ContainerReference)
                                 throws WTPropertyVetoException
Parameters:
a_ContainerReference -
Throws:
WTPropertyVetoException

getOrganizationReference

public WTPrincipalReference getOrganizationReference()
Gets the value of the attribute: ORGANIZATION_REFERENCE.

Supported API: false

Specified by:
getOrganizationReference in interface OrganizationOwnedImpl
Returns:
WTPrincipalReference

setOrganizationReference

public void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
                              throws WTPropertyVetoException
Sets the value of the attribute: ORGANIZATION_REFERENCE.

Supported API: false

Specified by:
setOrganizationReference in interface OrganizationOwnedImpl
Parameters:
a_OrganizationReference -
Throws:
WTPropertyVetoException

organizationReferenceValidate

private void organizationReferenceValidate(WTPrincipalReference a_OrganizationReference)
                                    throws WTPropertyVetoException
Parameters:
a_OrganizationReference -
Throws:
WTPropertyVetoException

getOrganizationUniqueIdentifier

public String getOrganizationUniqueIdentifier()
Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER. The getter for this attribute delivers organization unique identifier.

Supported API: true

Specified by:
getOrganizationUniqueIdentifier in interface OrganizationOwned
Returns:
String

getOrganizationCodingSystem

public String getOrganizationCodingSystem()
Gets the value of the attribute: ORGANIZATION_CODING_SYSTEM. The getter for this attribute delivers organization coding system.

Supported API: true

Specified by:
getOrganizationCodingSystem in interface OrganizationOwned
Returns:
String

getOrganizationName

public String getOrganizationName()
Gets the value of the attribute: ORGANIZATION_NAME. The getter for this attribute delivers organization name.

Supported API: true

Specified by:
getOrganizationName in interface OrganizationOwned
Returns:
String

getOrganization

public WTOrganization getOrganization()
Gets the value of the attribute: ORGANIZATION.

Supported API: true

Specified by:
getOrganization in interface OrganizationOwned
Returns:
WTOrganization

setOrganization

public void setOrganization(WTOrganization a_Organization)
                     throws WTPropertyVetoException
Sets the value of the attribute: ORGANIZATION.

Supported API: true

Specified by:
setOrganization in interface OrganizationOwned
Parameters:
a_Organization -
Throws:
WTPropertyVetoException

equals

public boolean equals(Object obj)
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 Managed
Parameters:
obj -
Returns:
boolean

hashCode

public int hashCode()
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 Managed
Returns:
int