wt.part
Class WTProductInstance2

java.lang.Object
  extended bywt.fc.WTObject
      extended bywt.part.WTProductInstance2
All Implemented Interfaces:
_DepthLock000, _DepthLock001, _DepthLock002, _DepthLock003, _DepthLock004, _DepthLock005, _DepthLock006, _DepthLock007, AccessControlled, AccessControlList, AdHocControlled, Baselineable, Changeable2, ChangeableIfc, DisplayIdentification, DomainAdministered, ElectronicallySignable, Externalizable, IBAHolder, Indexable, Iterated, IteratedLifeCycleManaged, LifeCycleManaged, NetFactor, Notifiable, ObjectMappable, OrganizationOwned, PathOccurrenceContext, Persistable, Promotable, RecentlyVisited, Serializable, SerialNumberedConfiguredInstanceVersion, SerialNumberedInstanceImpl, SerialNumberedInstanceVersion, SessionEditedIteration, SubjectOfNotebook, TeamManaged, Typed, Versionable, Versioned, Viewable, WTContained

public class WTProductInstance2
extends WTObject
implements SerialNumberedConfiguredInstanceVersion, Changeable2, Indexable, IteratedLifeCycleManaged, AccessControlled, Notifiable, DomainAdministered, SessionEditedIteration, ElectronicallySignable, Versioned, Typed, WTContained, Viewable, OrganizationOwned, SubjectOfNotebook, Promotable, Externalizable

Use the newWTProductInstance2 static factory method(s), not the WTProductInstance2 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: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static String CONFIGURATION
          Label for the attribute.
static String CONFIGURATION_NAME
          Label for the attribute.
static String CONFIGURATION_REFERENCE
          Label for the attribute.
private  VersionReference configurationReference
           
static String CONTAINER
          Label for the attribute.
private  WTContainerRef containerReference
           
private  ControlBranch controlBranch
           
private  AdminDomainRef domainRef
           
private  AclEntrySet entrySet
           
private  WTStringSet eventSet
           
static long EXTERNALIZATION_VERSION_UID
           
private  Timestamp incorporated
           
private  IndexerSet indexerSet
           
private  boolean inheritedDomain
           
private  IterationInfo iterationInfo
           
static String MASTER
          Label for the attribute.
static String MASTER_REFERENCE
          Label for the attribute.
private  ObjectReference masterReference
           
protected static long OLD_FORMAT_VERSION_UID
           
static String ORGANIZATION
          Label for the attribute; The organization attribute represents the organization for the part.
static String ORGANIZATION_REFERENCE
          Label for the attribute; The organizationReference attribute represents the reference to organization for the part.
private  Timestamp plannedIncorporation
           
static String PRODUCT_DEFAULT_UNIT
          Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston".
static String PRODUCT_NAME
          Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston".
static String PRODUCT_NUMBER
          Label for the attribute; The number attribute represents the number for this part and all of its versions.
static long R60_EXTERNALIZATION_VERSION_UID
           
static long R62_EXTERNALIZATION_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  WTPrincipalReference sessionOwner
           
private  LifeCycleState state
           
private  TeamReference teamId
           
private  TeamTemplateReference teamTemplateId
           
private  AttributeContainer theAttributeContainer
           
private  TypeDefinitionReference typeDefinitionReference
           
private  Timestamp unIncorporated
           
static String VERSION_DISPLAY_IDENTIFIER
          Label for the attribute.
private  VersionInfo versionInfo
           
 
Fields inherited from class wt.fc.WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMP
 
Fields inherited from interface wt.configuration.SerialNumberedInstanceVersion
INCORPORATED, INCORPORATED_AS_STRING, PLANNED_INCORPORATION, SERIAL_NUMBER, UN_INCORPORATED
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Fields inherited from interface wt.vc.Iterated
BRANCH_IDENTIFIER, CONTROL_BRANCH, CREATOR, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_INFO, ITERATION_NOTE, LATEST_ITERATION, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAME
 
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.notify.Notifiable
EVENT_SET
 
Fields inherited from interface wt.admin.DomainAdministered
DOMAIN_REF, INHERITED_DOMAIN
 
Fields inherited from interface wt.vc.sessioniteration.SessionEditedIteration
SESSION_OWNER
 
Fields inherited from interface wt.vc.Versioned
VERSION_IDENTIFIER, VERSION_INFO
 
Fields inherited from interface wt.type.Typed
TYPE_DEFINITION_REFERENCE
 
Fields inherited from interface wt.iba.value.IBAHolder
ATTRIBUTE_CONTAINER
 
Fields inherited from interface wt.inf.container.WTContained
CONTAINER_ID, CONTAINER_NAME, CONTAINER_REFERENCE
 
Fields inherited from interface wt.org.OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER
 
Fields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE
 
Constructor Summary
WTProductInstance2()
           
 
Method Summary
private  void configurationReferenceValidate(VersionReference a_ConfigurationReference)
           
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.
 AttributeContainer getAttributeContainer()
          Gets the object for the association that plays role: ATTRIBUTE_CONTAINER.
 long getBranchIdentifier()
          Gets the value of the attribute: BRANCH_IDENTIFIER.
 String getConceptualClassname()
          Deprecated.  
 Configuration getConfiguration()
          Gets the object for the association that plays role: CONFIGURATION.
 String getConfigurationName()
          Gets the value of the attribute: CONFIGURATION_NAME.
 VersionReference getConfigurationReference()
          Gets the value of the attribute: CONFIGURATION_REFERENCE.
 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.
 ControlBranch getControlBranch()
          Gets the value of the attribute: CONTROL_BRANCH.
 WTPrincipalReference getCreator()
          Gets the value of the attribute: 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.
 AdminDomainRef getDomainRef()
          Gets the object for the association that plays role: DOMAIN_REF.
 AclEntrySet getEntrySet()
          Gets the value of the attribute: ENTRY_SET.
 WTStringSet getEventSet()
          Gets the value of the attribute: EVENT_SET.
 String getIdentity()
          Gets the value of the attribute: IDENTITY.
 Timestamp getIncorporated()
          Gets the value of the attribute: INCORPORATED.
 String getIncorporatedAsString()
          Gets the value of the attribute: INCORPORATED_AS_STRING.
 IndexerSet getIndexerSet()
          Gets the value of the attribute: INDEXER_SET.
 IterationIdentifier getIterationIdentifier()
          Gets the value of the attribute: ITERATION_IDENTIFIER.
 IterationInfo getIterationInfo()
          Gets the object for the association that plays role: ITERATION_INFO.
 String getIterationNote()
          Gets the value of the attribute: ITERATION_NOTE.
 String getLifeCycleName()
          Gets the value of the attribute: LIFE_CYCLE_NAME.
 State getLifeCycleState()
          Gets the value of the attribute: LIFE_CYCLE_STATE.
 LifeCycleTemplateReference getLifeCycleTemplate()
          Gets the value of the attribute: LIFE_CYCLE_TEMPLATE.
 Mastered getMaster()
          Gets the object for the association that plays role: MASTER.
 ObjectReference getMasterReference()
          Gets the value of the attribute: MASTER_REFERENCE.
 WTPrincipalReference getModifier()
          Gets the value of the attribute: MODIFIER.
 String getModifierEMail()
          Gets the value of the attribute: MODIFIER_EMAIL.
 String getModifierFullName()
          Gets the value of the attribute: MODIFIER_FULL_NAME.
 String getModifierName()
          Gets the value of the attribute: MODIFIER_NAME.
 String getName()
          This unsupported method was created to address a change managment issue for 6.0.
 String getNumber()
          This unsupported method was created to address a change managment issue for 6.0.
 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.
 Timestamp getPlannedIncorporation()
          Gets the value of the attribute: PLANNED_INCORPORATION.
 QuantityUnit getProductDefaultUnit()
          Gets the value of the attribute: PRODUCT_DEFAULT_UNIT.
 String getProductName()
          Gets the value of the attribute: PRODUCT_NAME.
 String getProductNumber()
          Gets the value of the attribute: PRODUCT_NUMBER.
 String getSerialNumber()
          Gets the value of the attribute: SERIAL_NUMBER.
 WTPrincipalReference getSessionOwner()
          Gets the object for the association that plays role: SESSION_OWNER.
 LifeCycleState getState()
          Gets the object for the association that plays role: STATE.
 TeamReference getTeamId()
          Gets the object for the association that plays role: TEAM_ID.
 String getTeamIdentity()
          Gets the value of the attribute: TEAM_IDENTITY.
 String getTeamName()
          Gets the value of the attribute: TEAM_NAME.
 TeamTemplateReference getTeamTemplateId()
          Gets the object for the association that plays role: TEAM_TEMPLATE_ID.
 String getTeamTemplateIdentity()
          Gets the value of the attribute: TEAM_TEMPLATE_IDENTITY.
 String getTeamTemplateName()
          Gets the value of the attribute: TEAM_TEMPLATE_NAME.
 TypeDefinitionReference getTypeDefinitionReference()
          Gets the object for the association that plays role: TYPE_DEFINITION_REFERENCE.
 Timestamp getUnIncorporated()
          Gets the value of the attribute: UN_INCORPORATED.
 LocalizableMessage getVersionDisplayIdentifier()
          Gets the value of the attribute: VERSION_DISPLAY_IDENTIFIER.
 VersionIdentifier getVersionIdentifier()
          Gets the value of the attribute: VERSION_IDENTIFIER.
 VersionInfo getVersionInfo()
          Gets the object for the association that plays role: VERSION_INFO.
 int hashCode()
          Returns a hash code for this object based upon its ObjectIdentifier.
protected  void initialize(WTProductConfiguration configuration)
           
protected  void initialize(WTProductMaster instanceOf)
           
protected  void initialize(WTProductMaster instanceOf, String serialNumber)
          Supports initialization, following construction of an instance.
protected  void initialize(WTProductMaster instanceOf, String serialNumber, WTProductConfiguration configuration)
          Supports initialization, following construction of an instance.
 boolean isInheritedDomain()
          Gets the value of the attribute: INHERITED_DOMAIN.
 boolean isLatestIteration()
          Gets the value of the attribute: LATEST_ITERATION.
 boolean isLifeCycleAtGate()
          Gets the value of the attribute: LIFE_CYCLE_AT_GATE.
 boolean isLifeCycleBasic()
          Gets the value of the attribute: LIFE_CYCLE_BASIC.
private  void iterationInfoValidate(IterationInfo a_IterationInfo)
           
private  void masterReferenceValidate(ObjectReference a_MasterReference)
           
static WTProductInstance2 newWTProductInstance2(WTProductConfiguration configuration)
           
static WTProductInstance2 newWTProductInstance2(WTProductMaster instanceOf)
           
static WTProductInstance2 newWTProductInstance2(WTProductMaster instanceOf, String serialNumber)
          

Supported API: false
static WTProductInstance2 newWTProductInstance2(WTProductMaster instanceOf, String serialNumber, WTProductConfiguration configuration)
          

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(WTProductInstance2 thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
private  void sessionOwnerValidate(WTPrincipalReference a_SessionOwner)
           
 void setAttributeContainer(AttributeContainer a_AttributeContainer)
          Sets the object for the association that plays role: ATTRIBUTE_CONTAINER.
 void setConfiguration(Configuration a_Configuration)
          Sets the object for the association that plays role: CONFIGURATION.
 void setConfigurationName(String a_ConfigurationName)
          Sets the value of the attribute: CONFIGURATION_NAME.
 void setConfigurationReference(VersionReference a_ConfigurationReference)
          Sets the value of the attribute: CONFIGURATION_REFERENCE.
 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 setControlBranch(ControlBranch a_ControlBranch)
          Sets the value of the attribute: CONTROL_BRANCH.
 void setDomainRef(AdminDomainRef a_DomainRef)
          Sets the object for the association that plays role: DOMAIN_REF.
 void setEntrySet(AclEntrySet a_EntrySet)
          Sets the value of the attribute: ENTRY_SET.
 void setEventSet(WTStringSet a_EventSet)
          Sets the value of the attribute: EVENT_SET.
 void setIncorporated(Timestamp a_Incorporated)
          Sets the value of the attribute: INCORPORATED.
 void setIndexerSet(IndexerSet a_IndexerSet)
          Sets the value of the attribute: INDEXER_SET.
 void setInheritedDomain(boolean a_InheritedDomain)
          Sets the value of the attribute: INHERITED_DOMAIN.
 void setIterationInfo(IterationInfo a_IterationInfo)
          Sets the object for the association that plays role: ITERATION_INFO.
 void setMaster(Mastered a_Master)
          Sets the object for the association that plays role: MASTER.
 void setMasterReference(ObjectReference a_MasterReference)
          Sets the value of the attribute: MASTER_REFERENCE.
 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 setPlannedIncorporation(Timestamp a_PlannedIncorporation)
          Sets the value of the attribute: PLANNED_INCORPORATION.
 void setSerialNumber(String a_SerialNumber)
          Sets the value of the attribute: SERIAL_NUMBER.
 void setSessionOwner(WTPrincipalReference a_SessionOwner)
          Sets the object for the association that plays role: SESSION_OWNER.
 void setState(LifeCycleState a_State)
          Sets the object for the association that plays role: STATE.
 void setTeamId(TeamReference a_TeamId)
          Sets the object for the association that plays role: TEAM_ID.
 void setTeamTemplateId(TeamTemplateReference a_TeamTemplateId)
          Sets the object for the association that plays role: TEAM_TEMPLATE_ID.
 void setTypeDefinitionReference(TypeDefinitionReference a_TypeDefinitionReference)
          Sets the object for the association that plays role: TYPE_DEFINITION_REFERENCE.
 void setUnIncorporated(Timestamp a_UnIncorporated)
          Sets the value of the attribute: UN_INCORPORATED.
 void setVersionInfo(VersionInfo a_VersionInfo)
          Sets the object for the association that plays role: VERSION_INFO.
private  void stateValidate(LifeCycleState a_State)
           
private  void teamIdValidate(TeamReference a_TeamId)
           
private  void teamTemplateIdValidate(TeamTemplateReference a_TeamTemplateId)
           
private  void typeDefinitionReferenceValidate(TypeDefinitionReference a_TypeDefinitionReference)
           
private  void versionInfoValidate(VersionInfo a_VersionInfo)
           
 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, 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, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

PRODUCT_NUMBER

public static final String PRODUCT_NUMBER
Label for the attribute; The number attribute represents the number for this part and all of its versions. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

See Also:
Constant Field Values

PRODUCT_NAME

public static final String PRODUCT_NAME
Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston".

Supported API: true

See Also:
Constant Field Values

PRODUCT_DEFAULT_UNIT

public static final String PRODUCT_DEFAULT_UNIT
Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston".

Supported API: true

See Also:
Constant Field Values

CONFIGURATION_NAME

public static final String CONFIGURATION_NAME
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

VERSION_DISPLAY_IDENTIFIER

public static final String VERSION_DISPLAY_IDENTIFIER
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

ORGANIZATION_REFERENCE

public static final String ORGANIZATION_REFERENCE
Label for the attribute; The organizationReference attribute represents the reference to organization for the part. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

See Also:
Constant Field Values

ORGANIZATION

public static final String ORGANIZATION
Label for the attribute; The organization attribute represents the organization for the part. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

See Also:
Constant Field Values

MASTER

public static final String MASTER
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

MASTER_REFERENCE

public static final String MASTER_REFERENCE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

masterReference

private ObjectReference masterReference

CONFIGURATION

public static final String CONFIGURATION
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

CONFIGURATION_REFERENCE

public static final String CONFIGURATION_REFERENCE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

configurationReference

private VersionReference configurationReference

plannedIncorporation

private Timestamp plannedIncorporation

incorporated

private Timestamp incorporated

unIncorporated

private Timestamp unIncorporated

controlBranch

private ControlBranch controlBranch

iterationInfo

private IterationInfo iterationInfo

indexerSet

private IndexerSet indexerSet

state

private LifeCycleState state

entrySet

private AclEntrySet entrySet

teamTemplateId

private TeamTemplateReference teamTemplateId

teamId

private TeamReference teamId

eventSet

private WTStringSet eventSet

inheritedDomain

private boolean inheritedDomain

domainRef

private AdminDomainRef domainRef

sessionOwner

private WTPrincipalReference sessionOwner

versionInfo

private VersionInfo versionInfo

typeDefinitionReference

private TypeDefinitionReference typeDefinitionReference

theAttributeContainer

private AttributeContainer theAttributeContainer

CONTAINER

public static final String CONTAINER
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

containerReference

private WTContainerRef containerReference

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

R60_EXTERNALIZATION_VERSION_UID

public static final long R60_EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

R62_EXTERNALIZATION_VERSION_UID

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

WTProductInstance2

public WTProductInstance2()
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 WTObject
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 WTObject
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(WTProductInstance2 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 WTObject
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 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

getProductNumber

public String getProductNumber()
Gets the value of the attribute: PRODUCT_NUMBER. The number attribute represents the number for this part and all of its versions. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

Returns:
String

getProductName

public String getProductName()
Gets the value of the attribute: PRODUCT_NAME. The name of the part -- the name a part is commonly refered to by, such as "piston".

Supported API: true

Returns:
String

getProductDefaultUnit

public QuantityUnit getProductDefaultUnit()
Gets the value of the attribute: PRODUCT_DEFAULT_UNIT. The name of the part -- the name a part is commonly refered to by, such as "piston".

Supported API: true

Returns:
QuantityUnit

getConfigurationName

public String getConfigurationName()
Gets the value of the attribute: CONFIGURATION_NAME.

Supported API: false

Returns:
String

setConfigurationName

public void setConfigurationName(String a_ConfigurationName)
                          throws WTPropertyVetoException
Sets the value of the attribute: CONFIGURATION_NAME.

Supported API: false

Parameters:
a_ConfigurationName -
Throws:
WTPropertyVetoException

getVersionDisplayIdentifier

public LocalizableMessage getVersionDisplayIdentifier()
Gets the value of the attribute: VERSION_DISPLAY_IDENTIFIER.

Supported API: false

Returns:
LocalizableMessage

getOrganizationReference

public WTPrincipalReference getOrganizationReference()
Gets the value of the attribute: ORGANIZATION_REFERENCE. The organizationReference attribute represents the reference to organization for the part. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

Specified by:
getOrganizationReference in interface OrganizationOwned
Returns:
WTPrincipalReference

getOrganization

public WTOrganization getOrganization()
Gets the value of the attribute: ORGANIZATION. The organization attribute represents the organization for the part. Conceptually on the WTPart, it is actually implemented on the master.

Supported API: true

Specified by:
getOrganization in interface OrganizationOwned
Returns:
WTOrganization

getMaster

public Mastered getMaster()
Gets the object for the association that plays role: MASTER.

Supported API: true

Specified by:
getMaster in interface SerialNumberedConfiguredInstanceVersion
Returns:
Mastered

setMaster

public void setMaster(Mastered a_Master)
               throws WTPropertyVetoException,
                      WTException
Sets the object for the association that plays role: MASTER.

Supported API: true

Specified by:
setMaster in interface SerialNumberedConfiguredInstanceVersion
Parameters:
a_Master -
Throws:
WTPropertyVetoException
WTException

getMasterReference

public ObjectReference getMasterReference()
Gets the value of the attribute: MASTER_REFERENCE.

Supported API: true

Specified by:
getMasterReference in interface SerialNumberedConfiguredInstanceVersion
Returns:
ObjectReference

setMasterReference

public void setMasterReference(ObjectReference a_MasterReference)
                        throws WTPropertyVetoException
Sets the value of the attribute: MASTER_REFERENCE.

Supported API: true

Specified by:
setMasterReference in interface SerialNumberedConfiguredInstanceVersion
Parameters:
a_MasterReference -
Throws:
WTPropertyVetoException

masterReferenceValidate

private void masterReferenceValidate(ObjectReference a_MasterReference)
                              throws WTPropertyVetoException
Parameters:
a_MasterReference -
Throws:
WTPropertyVetoException

getConfiguration

public Configuration getConfiguration()
Gets the object for the association that plays role: CONFIGURATION.

Supported API: true

Specified by:
getConfiguration in interface SerialNumberedConfiguredInstanceVersion
Returns:
Configuration

setConfiguration

public void setConfiguration(Configuration a_Configuration)
                      throws WTPropertyVetoException,
                             WTException
Sets the object for the association that plays role: CONFIGURATION.

Supported API: true

Specified by:
setConfiguration in interface SerialNumberedConfiguredInstanceVersion
Parameters:
a_Configuration -
Throws:
WTPropertyVetoException
WTException

getConfigurationReference

public VersionReference getConfigurationReference()
Gets the value of the attribute: CONFIGURATION_REFERENCE.

Supported API: true

Specified by:
getConfigurationReference in interface SerialNumberedConfiguredInstanceVersion
Returns:
VersionReference

setConfigurationReference

public void setConfigurationReference(VersionReference a_ConfigurationReference)
                               throws WTPropertyVetoException
Sets the value of the attribute: CONFIGURATION_REFERENCE.

Supported API: true

Specified by:
setConfigurationReference in interface SerialNumberedConfiguredInstanceVersion
Parameters:
a_ConfigurationReference -
Throws:
WTPropertyVetoException

configurationReferenceValidate

private void configurationReferenceValidate(VersionReference a_ConfigurationReference)
                                     throws WTPropertyVetoException
Parameters:
a_ConfigurationReference -
Throws:
WTPropertyVetoException

newWTProductInstance2

public static WTProductInstance2 newWTProductInstance2(WTProductMaster instanceOf,
                                                       String serialNumber)
                                                throws WTException


Supported API: false

Parameters:
instanceOf -
serialNumber -
Returns:
WTProductInstance2
Throws:
WTException

initialize

protected void initialize(WTProductMaster instanceOf,
                          String serialNumber)
                   throws WTException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: false

Parameters:
instanceOf -
serialNumber -
Throws:
WTException

newWTProductInstance2

public static WTProductInstance2 newWTProductInstance2(WTProductMaster instanceOf,
                                                       String serialNumber,
                                                       WTProductConfiguration configuration)
                                                throws WTException


Supported API: false

Parameters:
instanceOf -
serialNumber -
configuration -
Returns:
WTProductInstance2
Throws:
WTException

initialize

protected void initialize(WTProductMaster instanceOf,
                          String serialNumber,
                          WTProductConfiguration configuration)
                   throws WTException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: false

Parameters:
instanceOf -
serialNumber -
configuration -
Throws:
WTException

getNumber

public String getNumber()
This unsupported method was created to address a change managment issue for 6.0. The UI for Change Activity assumes that attached Changeable2 objects are named and numbered. This is not the case for WTProductInstance2 objects. This method satisfies the call that UI will use. The method returns the serial number for the given product instance.

Supported API: false

Returns:
String

getName

public String getName()
This unsupported method was created to address a change managment issue for 6.0. The UI for Change Activity assumes that attached Changeable2 objects are named and numbered. This is not the case for WTProductInstance2 objects. This method satisfies the call that UI will use. The method returns the name concatenated with the number of the product associated with the given product instance.

Supported API: false

Returns:
String

getSerialNumber

public String getSerialNumber()
Gets the value of the attribute: SERIAL_NUMBER. The serial number of the master.

Supported API: true

Specified by:
getSerialNumber in interface SerialNumberedInstanceVersion
Returns:
String

setSerialNumber

public void setSerialNumber(String a_SerialNumber)
                     throws WTPropertyVetoException
Sets the value of the attribute: SERIAL_NUMBER. The serial number of the master.

Supported API: true

Specified by:
setSerialNumber in interface SerialNumberedInstanceVersion
Parameters:
a_SerialNumber -
Throws:
WTPropertyVetoException

getPlannedIncorporation

public Timestamp getPlannedIncorporation()
Gets the value of the attribute: PLANNED_INCORPORATION. The date this version is planned to reflect the current configuration of the serial numbered instance it represents.

Supported API: true

Specified by:
getPlannedIncorporation in interface SerialNumberedInstanceVersion
Returns:
Timestamp

setPlannedIncorporation

public void setPlannedIncorporation(Timestamp a_PlannedIncorporation)
                             throws WTPropertyVetoException
Sets the value of the attribute: PLANNED_INCORPORATION. The date this version is planned to reflect the current configuration of the serial numbered instance it represents.

Supported API: true

Specified by:
setPlannedIncorporation in interface SerialNumberedInstanceVersion
Parameters:
a_PlannedIncorporation -
Throws:
WTPropertyVetoException

getIncorporated

public Timestamp getIncorporated()
Gets the value of the attribute: INCORPORATED. The date this version actually reflects the configuration of the serial numbered instance it represents. Use incorporatedAsStriing to display this value, as it will display the incorporation range.

Supported API: true

Specified by:
getIncorporated in interface SerialNumberedInstanceVersion
Returns:
Timestamp

setIncorporated

public void setIncorporated(Timestamp a_Incorporated)
                     throws WTPropertyVetoException
Sets the value of the attribute: INCORPORATED. The date this version actually reflects the configuration of the serial numbered instance it represents. Use incorporatedAsStriing to display this value, as it will display the incorporation range.

Supported API: true

Specified by:
setIncorporated in interface SerialNumberedInstanceVersion
Parameters:
a_Incorporated -
Throws:
WTPropertyVetoException

getUnIncorporated

public Timestamp getUnIncorporated()
Gets the value of the attribute: UN_INCORPORATED.

Supported API: false

Specified by:
getUnIncorporated in interface SerialNumberedInstanceVersion
Returns:
Timestamp

setUnIncorporated

public void setUnIncorporated(Timestamp a_UnIncorporated)
                       throws WTPropertyVetoException
Sets the value of the attribute: UN_INCORPORATED.

Supported API: false

Specified by:
setUnIncorporated in interface SerialNumberedInstanceVersion
Parameters:
a_UnIncorporated -
Throws:
WTPropertyVetoException

getIncorporatedAsString

public String getIncorporatedAsString()
Gets the value of the attribute: INCORPORATED_AS_STRING. When a successor version is incorporated, its predecessor's incorporation is effectively ended. This attribute displays the incorporation as this range, so it's easier for a user to determine the actual date range this version was incorporated. If Rev A were incorporated at time X and Rev B at time Y, this attribute would return X-Y for Rev A and Y- for Rev B.

Supported API: true

Specified by:
getIncorporatedAsString in interface SerialNumberedInstanceVersion
Returns:
String

getIterationNote

public String getIterationNote()
Gets the value of the attribute: ITERATION_NOTE. Derived attribute for displaying the iteration's note in query results.

Supported API: true

Specified by:
getIterationNote in interface Iterated
Returns:
String

getCreatorEMail

public String getCreatorEMail()
Gets the value of the attribute: CREATOR_EMAIL. Derived attribute for displaying the iteration creator's E-Mail address in query results.

Supported API: true

Specified by:
getCreatorEMail in interface Iterated
Returns:
String

getCreatorName

public String getCreatorName()
Gets the value of the attribute: CREATOR_NAME. Derived attribute for displaying the iteration creator's name in query results.

Supported API: true

Specified by:
getCreatorName in interface Iterated
Returns:
String

getCreatorFullName

public String getCreatorFullName()
Gets the value of the attribute: CREATOR_FULL_NAME. Derived attribute for displaying the iteration creator's fullname in query results.

Supported API: true

Specified by:
getCreatorFullName in interface Iterated
Returns:
String

getModifier

public WTPrincipalReference getModifier()
Gets the value of the attribute: MODIFIER. Derived attribute for displaying the iteration's modifier in query results.

Supported API: true

Specified by:
getModifier in interface Iterated
Returns:
WTPrincipalReference

getModifierEMail

public String getModifierEMail()
Gets the value of the attribute: MODIFIER_EMAIL. Derived attribute for displaying the iteration modifier's E-Mail address in query results.

Supported API: true

Specified by:
getModifierEMail in interface Iterated
Returns:
String

getModifierName

public String getModifierName()
Gets the value of the attribute: MODIFIER_NAME. Derived attribute for displaying the iteration modifier's name in query results.

Supported API: true

Specified by:
getModifierName in interface Iterated
Returns:
String

getModifierFullName

public String getModifierFullName()
Gets the value of the attribute: MODIFIER_FULL_NAME. Derived attribute for displaying the iteration modifier's fullname in query results.

Supported API: true

Specified by:
getModifierFullName in interface Iterated
Returns:
String

getIterationIdentifier

public IterationIdentifier getIterationIdentifier()
Gets the value of the attribute: ITERATION_IDENTIFIER. Derived attribute for displaying the iteration identifier in query results.

Supported API: true

Specified by:
getIterationIdentifier in interface Iterated
Returns:
IterationIdentifier

getBranchIdentifier

public long getBranchIdentifier()
Gets the value of the attribute: BRANCH_IDENTIFIER. Derived attribute for displaying the iteration's branch identifier in query results.

Supported API: false

Specified by:
getBranchIdentifier in interface Iterated
Returns:
long

isLatestIteration

public boolean isLatestIteration()
Gets the value of the attribute: LATEST_ITERATION. Derived attribute for displaying the iteration "latest" flag in query results.

Supported API: true

Specified by:
isLatestIteration in interface Iterated
Returns:
boolean

getCreator

public WTPrincipalReference getCreator()
Gets the value of the attribute: CREATOR. Derived attribute for displaying the Version Creator. Will be the same for each iteration of a Version. A Version corresponds to all iterations for a given branchId

Supported API: false

Specified by:
getCreator in interface Iterated
Returns:
WTPrincipalReference

getControlBranch

public ControlBranch getControlBranch()
Gets the value of the attribute: CONTROL_BRANCH.

Supported API: true

Specified by:
getControlBranch in interface Iterated
Returns:
ControlBranch

setControlBranch

public void setControlBranch(ControlBranch a_ControlBranch)
                      throws WTPropertyVetoException
Sets the value of the attribute: CONTROL_BRANCH.

Supported API: true

Specified by:
setControlBranch in interface Iterated
Parameters:
a_ControlBranch -
Throws:
WTPropertyVetoException

getIterationInfo

public IterationInfo getIterationInfo()
Gets the object for the association that plays role: ITERATION_INFO. The iteration cookie aggregated in any business object that asserts itself as being iterated.

Supported API: false

Specified by:
getIterationInfo in interface Iterated
Returns:
IterationInfo
See Also:
IterationInfo

setIterationInfo

public void setIterationInfo(IterationInfo a_IterationInfo)
                      throws WTPropertyVetoException
Sets the object for the association that plays role: ITERATION_INFO. The iteration cookie aggregated in any business object that asserts itself as being iterated.

Supported API: false

Specified by:
setIterationInfo in interface Iterated
Parameters:
a_IterationInfo -
Throws:
WTPropertyVetoException
See Also:
IterationInfo

iterationInfoValidate

private void iterationInfoValidate(IterationInfo a_IterationInfo)
                            throws WTPropertyVetoException
Parameters:
a_IterationInfo -
Throws:
WTPropertyVetoException

getIndexerSet

public IndexerSet getIndexerSet()
Gets the value of the attribute: INDEXER_SET.

Supported API: false

Specified by:
getIndexerSet in interface Indexable
Returns:
IndexerSet

setIndexerSet

public void setIndexerSet(IndexerSet a_IndexerSet)
Sets the value of the attribute: INDEXER_SET.

Supported API: false

Specified by:
setIndexerSet in interface Indexable
Parameters:
a_IndexerSet -

getLifeCycleName

public String getLifeCycleName()
Gets the value of the attribute: LIFE_CYCLE_NAME. the Name of the LifeCycle template (a derived attribute)

Supported API: false

Specified by:
getLifeCycleName in interface LifeCycleManaged
Returns:
String

getLifeCycleState

public State getLifeCycleState()
Gets the value of the attribute: LIFE_CYCLE_STATE. the current State of the LifeCycleManaged object (a derived attribute)

Supported API: false

Specified by:
getLifeCycleState in interface LifeCycleManaged
Returns:
State

isLifeCycleAtGate

public boolean isLifeCycleAtGate()
Gets the value of the attribute: LIFE_CYCLE_AT_GATE. the current AtGate flag on the LifeCycleManaged object (a derived attribute)

Supported API: false

Specified by:
isLifeCycleAtGate in interface LifeCycleManaged
Returns:
boolean

getLifeCycleTemplate

public LifeCycleTemplateReference getLifeCycleTemplate()
Gets the value of the attribute: LIFE_CYCLE_TEMPLATE. the LifeCycleTemplate of the LifeCycleManaged object (a derived attribute)

Supported API: false

Specified by:
getLifeCycleTemplate in interface LifeCycleManaged
Returns:
LifeCycleTemplateReference

isLifeCycleBasic

public boolean isLifeCycleBasic()
Gets the value of the attribute: LIFE_CYCLE_BASIC. This attribute is used to specify if the lifecycle template is basic (no roles, ad hoc access, workflows or criteria) or advanced (may contain roles, ad hoc access, access, workfow and criteria).

Supported API: false

Specified by:
isLifeCycleBasic in interface LifeCycleManaged
Returns:
boolean

getState

public LifeCycleState getState()
Gets the object for the association that plays role: STATE.

Supported API: false

Specified by:
getState in interface LifeCycleManaged
Returns:
LifeCycleState

setState

public void setState(LifeCycleState a_State)
              throws WTPropertyVetoException
Sets the object for the association that plays role: STATE.

Supported API: false

Specified by:
setState in interface LifeCycleManaged
Parameters:
a_State -
Throws:
WTPropertyVetoException

stateValidate

private void stateValidate(LifeCycleState a_State)
                    throws WTPropertyVetoException
Parameters:
a_State -
Throws:
WTPropertyVetoException

getEntrySet

public AclEntrySet getEntrySet()
Gets the value of the attribute: ENTRY_SET.

Supported API: false

Specified by:
getEntrySet in interface AdHocControlled
Returns:
AclEntrySet

setEntrySet

public void setEntrySet(AclEntrySet a_EntrySet)
Sets the value of the attribute: ENTRY_SET.

Supported API: false

Specified by:
setEntrySet in interface AdHocControlled
Parameters:
a_EntrySet -

getTeamName

public String getTeamName()
Gets the value of the attribute: TEAM_NAME. The name of the team(a derived attribute)

Supported API: false

Specified by:
getTeamName in interface TeamManaged
Returns:
String

getTeamIdentity

public String getTeamIdentity()
Gets the value of the attribute: TEAM_IDENTITY. The identity of the team (a derived attribute)

Supported API: false

Specified by:
getTeamIdentity in interface TeamManaged
Returns:
String

getTeamTemplateName

public String getTeamTemplateName()
Gets the value of the attribute: TEAM_TEMPLATE_NAME. The name of the teamTemplate(a derived attribute)

Supported API: false

Specified by:
getTeamTemplateName in interface TeamManaged
Returns:
String

getTeamTemplateIdentity

public String getTeamTemplateIdentity()
Gets the value of the attribute: TEAM_TEMPLATE_IDENTITY. The identity of the TeamTemplate (a derived attribute)

Supported API: false

Specified by:
getTeamTemplateIdentity in interface TeamManaged
Returns:
String

getTeamTemplateId

public TeamTemplateReference getTeamTemplateId()
Gets the object for the association that plays role: TEAM_TEMPLATE_ID.

Supported API: false

Specified by:
getTeamTemplateId in interface TeamManaged
Returns:
TeamTemplateReference

setTeamTemplateId

public void setTeamTemplateId(TeamTemplateReference a_TeamTemplateId)
                       throws WTPropertyVetoException
Sets the object for the association that plays role: TEAM_TEMPLATE_ID.

Supported API: false

Specified by:
setTeamTemplateId in interface TeamManaged
Parameters:
a_TeamTemplateId -
Throws:
WTPropertyVetoException

teamTemplateIdValidate

private void teamTemplateIdValidate(TeamTemplateReference a_TeamTemplateId)
                             throws WTPropertyVetoException
Parameters:
a_TeamTemplateId -
Throws:
WTPropertyVetoException

getTeamId

public TeamReference getTeamId()
Gets the object for the association that plays role: TEAM_ID.

Supported API: false

Specified by:
getTeamId in interface TeamManaged
Returns:
TeamReference

setTeamId

public void setTeamId(TeamReference a_TeamId)
               throws WTPropertyVetoException
Sets the object for the association that plays role: TEAM_ID.

Supported API: false

Specified by:
setTeamId in interface TeamManaged
Parameters:
a_TeamId -
Throws:
WTPropertyVetoException

teamIdValidate

private void teamIdValidate(TeamReference a_TeamId)
                     throws WTPropertyVetoException
Parameters:
a_TeamId -
Throws:
WTPropertyVetoException

getEventSet

public WTStringSet getEventSet()
Gets the value of the attribute: EVENT_SET. Sets of events for which the object has a subscriber.

Supported API: false

Specified by:
getEventSet in interface Notifiable
Returns:
WTStringSet

setEventSet

public void setEventSet(WTStringSet a_EventSet)
Sets the value of the attribute: EVENT_SET. Sets of events for which the object has a subscriber.

Supported API: false

Specified by:
setEventSet in interface Notifiable
Parameters:
a_EventSet -

isInheritedDomain

public boolean isInheritedDomain()
Gets the value of the attribute: INHERITED_DOMAIN. A boolean indicating whether the administrative domain is inherited. If the value is true, the domain is inherited from a parent object.

Supported API: false

Specified by:
isInheritedDomain in interface DomainAdministered
Returns:
boolean

setInheritedDomain

public void setInheritedDomain(boolean a_InheritedDomain)
                        throws WTPropertyVetoException
Sets the value of the attribute: INHERITED_DOMAIN. A boolean indicating whether the administrative domain is inherited. If the value is true, the domain is inherited from a parent object.

Supported API: false

Specified by:
setInheritedDomain in interface DomainAdministered
Parameters:
a_InheritedDomain -
Throws:
WTPropertyVetoException

getDomainRef

public AdminDomainRef getDomainRef()
Gets the object for the association that plays role: DOMAIN_REF.

Supported API: false

Specified by:
getDomainRef in interface DomainAdministered
Returns:
AdminDomainRef

setDomainRef

public void setDomainRef(AdminDomainRef a_DomainRef)
Sets the object for the association that plays role: DOMAIN_REF.

Supported API: false

Specified by:
setDomainRef in interface DomainAdministered
Parameters:
a_DomainRef -

getSessionOwner

public WTPrincipalReference getSessionOwner()
Gets the object for the association that plays role: SESSION_OWNER. The owner of the session iteration.

Supported API: true

Specified by:
getSessionOwner in interface SessionEditedIteration
Returns:
WTPrincipalReference

setSessionOwner

public void setSessionOwner(WTPrincipalReference a_SessionOwner)
                     throws WTPropertyVetoException
Sets the object for the association that plays role: SESSION_OWNER. The owner of the session iteration.

Supported API: true

Specified by:
setSessionOwner in interface SessionEditedIteration
Parameters:
a_SessionOwner -
Throws:
WTPropertyVetoException

sessionOwnerValidate

private void sessionOwnerValidate(WTPrincipalReference a_SessionOwner)
                           throws WTPropertyVetoException
Parameters:
a_SessionOwner -
Throws:
WTPropertyVetoException

getVersionIdentifier

public VersionIdentifier getVersionIdentifier()
Gets the value of the attribute: VERSION_IDENTIFIER. Derived attribute for displaying the version identifier in query results.

Supported API: false

Specified by:
getVersionIdentifier in interface Versioned
Returns:
VersionIdentifier

getVersionInfo

public VersionInfo getVersionInfo()
Gets the object for the association that plays role: VERSION_INFO. The version cookie aggregated in any business object that asserts itself as being Versioned.

Supported API: false

Specified by:
getVersionInfo in interface Versioned
Returns:
VersionInfo
See Also:
VersionInfo

setVersionInfo

public void setVersionInfo(VersionInfo a_VersionInfo)
                    throws WTPropertyVetoException
Sets the object for the association that plays role: VERSION_INFO. The version cookie aggregated in any business object that asserts itself as being Versioned.

Supported API: false

Specified by:
setVersionInfo in interface Versioned
Parameters:
a_VersionInfo -
Throws:
WTPropertyVetoException
See Also:
VersionInfo

versionInfoValidate

private void versionInfoValidate(VersionInfo a_VersionInfo)
                          throws WTPropertyVetoException
Parameters:
a_VersionInfo -
Throws:
WTPropertyVetoException

getTypeDefinitionReference

public TypeDefinitionReference getTypeDefinitionReference()
Gets the object for the association that plays role: TYPE_DEFINITION_REFERENCE.

Supported API: false

Specified by:
getTypeDefinitionReference in interface Typed
Returns:
TypeDefinitionReference

setTypeDefinitionReference

public void setTypeDefinitionReference(TypeDefinitionReference a_TypeDefinitionReference)
                                throws WTPropertyVetoException
Sets the object for the association that plays role: TYPE_DEFINITION_REFERENCE.

Supported API: false

Specified by:
setTypeDefinitionReference in interface Typed
Parameters:
a_TypeDefinitionReference -
Throws:
WTPropertyVetoException

typeDefinitionReferenceValidate

private void typeDefinitionReferenceValidate(TypeDefinitionReference a_TypeDefinitionReference)
                                      throws WTPropertyVetoException
Parameters:
a_TypeDefinitionReference -
Throws:
WTPropertyVetoException

getAttributeContainer

public AttributeContainer getAttributeContainer()
Gets the object for the association that plays role: ATTRIBUTE_CONTAINER.

Supported API: false

Specified by:
getAttributeContainer in interface IBAHolder
Returns:
AttributeContainer

setAttributeContainer

public void setAttributeContainer(AttributeContainer a_AttributeContainer)
Sets the object for the association that plays role: ATTRIBUTE_CONTAINER.

Supported API: false

Specified by:
setAttributeContainer in interface IBAHolder
Parameters:
a_AttributeContainer -

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

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

setOrganizationReference

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

Supported API: true

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

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 WTObject
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 WTObject
Returns:
int

newWTProductInstance2

public static WTProductInstance2 newWTProductInstance2(WTProductMaster instanceOf)
                                                throws WTException
Throws:
WTException

initialize

protected void initialize(WTProductMaster instanceOf)
                   throws WTException
Throws:
WTException

newWTProductInstance2

public static WTProductInstance2 newWTProductInstance2(WTProductConfiguration configuration)
                                                throws WTException
Throws:
WTException

initialize

protected void initialize(WTProductConfiguration configuration)
                   throws WTException
Throws:
WTException

getIdentity

public String getIdentity()
Description copied from interface: Persistable
Gets the value of the attribute: IDENTITY. Supplies the identity of the object for business purposes. The identity is composed of name, number or possibly other attributes. The identity does not include the type of the object.

Supported API: false

Specified by:
getIdentity in interface Persistable
Overrides:
getIdentity in class WTObject
Returns:
String