wt.change2
Class WTChangeRequest2

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

public class WTChangeRequest2
extends ChangeRequest2
implements Typed, UniquelyIdentified, Externalizable

A Windchill provided reference implementation of a ChangeRequest2. Depending on its suitability, the site may use it as is, extend it or disregard it entirely and extend the abstract ChangeRequest2 class instead.

Each WTChangeRequest2 instance is assigned a unique number which is generated by the system when the change request is stored in the database.

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

See Also:
WTChangeRequest2Identity, Serialized Form

Field Summary
static String BUSINESS_DECISION_AUDIT
          Label for the attribute.
static String BUSINESS_DECISION_CATEGORY
          Label for the attribute.
private static int BUSINESS_DECISION_CATEGORY_UPPER_LIMIT
           
static String BUSINESS_DECISION_SUMMARY
          Label for the attribute.
private static int BUSINESS_DECISION_SUMMARY_UPPER_LIMIT
           
private  String businessDecisionSummary
           
static String CATEGORY
          Label for the attribute.
private static int CATEGORY_UPPER_LIMIT
           
private static String CLASSNAME
           
static String COMPLEXITY
          Label for the attribute.
private static int COMPLEXITY_UPPER_LIMIT
           
static String CYCLE_TIME
          Label for the attribute.
private  Timestamp cycleTime
           
private  String description
           
static String DESCRIPTION
          Label for the attribute; An end-user provided statement to describe this WTChangeRequest.
private static int DESCRIPTION_UPPER_LIMIT
           
static long EXTERNALIZATION_VERSION_UID
           
private  String name
           
static String NAME
          Label for the attribute; An end-user provided name for this WTChangeRequest2.
private static int NAME_UPPER_LIMIT
           
static String NEED_DATE
          Label for the attribute; The date by which the request should be completed.
private  Timestamp needDate
           
static String NON_RECURRING_COST_EST
          Label for the attribute.
private static int NON_RECURRING_COST_EST_UPPER_LIMIT
           
private  String nonRecurringCostEst
           
private  String number
           
static String NUMBER
          Label for the attribute; A unique number assigned to this WTChangeRequest2 when it is first stored in database.
private static int NUMBER_UPPER_LIMIT
           
protected static long OLD_FORMAT_VERSION_UID
           
static String RECURRING_COST_EST
          Label for the attribute.
private static int RECURRING_COST_EST_UPPER_LIMIT
           
private  String recurringCostEst
           
static String REQUEST_PRIORITY
          Label for the attribute.
private static int REQUEST_PRIORITY_UPPER_LIMIT
           
static String RESOLUTION_DATE
          Label for the attribute.
private  Timestamp resolutionDate
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  AttributeContainer theAttributeContainer
           
private  BusinessDecisionAudit theBusinessDecisionAudit
           
private  BusinessDecisionCategory theBusinessDecisionCategory
           
private  Category theCategory
           
private  Complexity theComplexity
           
private  RequestPriority theRequestPriority
           
private  TypeDefinitionReference typeDefinitionReference
           
 
Fields inherited from class wt.change2.ChangeRequest2
CONTAINER, R51_EXTERNALIZATION_VERSION_UID
 
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.type.Typed
TYPE_DEFINITION_REFERENCE
 
Fields inherited from interface wt.iba.value.IBAHolder
ATTRIBUTE_CONTAINER
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Fields inherited from interface wt.content.ContentHolder
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATION
 
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
 
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
WTChangeRequest2()
           
 
Method Summary
private  void businessDecisionSummaryValidate(String a_BusinessDecisionSummary)
           
 void checkAttributes()
          Validate that the name, description, requster and RequestType attributes have user supplied values.
private  void descriptionValidate(String a_Description)
           
 boolean equals(Object obj)
          Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers.
 AttributeContainer getAttributeContainer()
          Gets the object for the association that plays role: ATTRIBUTE_CONTAINER.
 BusinessDecisionAudit getBusinessDecisionAudit()
          Gets the object for the association that plays role: BUSINESS_DECISION_AUDIT.
 BusinessDecisionCategory getBusinessDecisionCategory()
          Gets the object for the association that plays role: BUSINESS_DECISION_CATEGORY.
 String getBusinessDecisionSummary()
          Gets the value of the attribute: BUSINESS_DECISION_SUMMARY.
 Category getCategory()
          Gets the object for the association that plays role: CATEGORY.
 Complexity getComplexity()
          Gets the object for the association that plays role: COMPLEXITY.
 String getConceptualClassname()
          Deprecated.  
 Timestamp getCycleTime()
          Gets the value of the attribute: CYCLE_TIME.
 String getDescription()
          Gets the value of the attribute: DESCRIPTION.
 IdentificationObject getIdentificationObject()
          Constructs and returns an identification object.
 String getName()
          Gets the value of the attribute: NAME.
 Timestamp getNeedDate()
          Gets the value of the attribute: NEED_DATE.
 String getNonRecurringCostEst()
          Gets the value of the attribute: NON_RECURRING_COST_EST.
 String getNumber()
          Gets the value of the attribute: NUMBER.
 String getRecurringCostEst()
          Gets the value of the attribute: RECURRING_COST_EST.
 RequestPriority getRequestPriority()
          Gets the object for the association that plays role: REQUEST_PRIORITY.
 Timestamp getResolutionDate()
          Gets the value of the attribute: RESOLUTION_DATE.
 TypeDefinitionReference getTypeDefinitionReference()
          Gets the object for the association that plays role: TYPE_DEFINITION_REFERENCE.
 int hashCode()
          Returns a hash code for this object based upon its ObjectIdentifier.
protected  void initialize(String name)
          Supports initialization, following construction of an instance.
static WTChangeRequest2 newWTChangeRequest2()
          A no-arg new-factory method to construct an initialized instance of a WTChangeRequest2.
static WTChangeRequest2 newWTChangeRequest2(String name)
          A new-factory method that construct an initialized instance of a WTChangeRequest2 with the given name.
private  void nonRecurringCostEstValidate(String a_NonRecurringCostEst)
           
 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(WTChangeRequest2 thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
private  void recurringCostEstValidate(String a_RecurringCostEst)
           
 void setAttributeContainer(AttributeContainer a_AttributeContainer)
          Sets the object for the association that plays role: ATTRIBUTE_CONTAINER.
 void setBusinessDecisionAudit(BusinessDecisionAudit a_BusinessDecisionAudit)
          Sets the object for the association that plays role: BUSINESS_DECISION_AUDIT.
 void setBusinessDecisionCategory(BusinessDecisionCategory a_BusinessDecisionCategory)
          Sets the object for the association that plays role: BUSINESS_DECISION_CATEGORY.
 void setBusinessDecisionSummary(String a_BusinessDecisionSummary)
          Sets the value of the attribute: BUSINESS_DECISION_SUMMARY.
 void setCategory(Category a_Category)
          Sets the object for the association that plays role: CATEGORY.
 void setComplexity(Complexity a_Complexity)
          Sets the object for the association that plays role: COMPLEXITY.
 void setCycleTime(Timestamp a_CycleTime)
          Sets the value of the attribute: CYCLE_TIME.
 void setDescription(String a_Description)
          Sets the value of the attribute: DESCRIPTION.
protected  void setName(String a_Name)
          Sets the value of the attribute: NAME.
 void setNeedDate(Timestamp a_NeedDate)
          Sets the value of the attribute: NEED_DATE.
 void setNonRecurringCostEst(String a_NonRecurringCostEst)
          Sets the value of the attribute: NON_RECURRING_COST_EST.
protected  void setNumber(String a_Number)
          Sets the value of the attribute: NUMBER.
 void setRecurringCostEst(String a_RecurringCostEst)
          Sets the value of the attribute: RECURRING_COST_EST.
 void setRequestPriority(RequestPriority a_RequestPriority)
          Sets the object for the association that plays role: REQUEST_PRIORITY.
 void setResolutionDate(Timestamp a_ResolutionDate)
          Sets the value of the attribute: RESOLUTION_DATE.
 void setTypeDefinitionReference(TypeDefinitionReference a_TypeDefinitionReference)
          Sets the object for the association that plays role: TYPE_DEFINITION_REFERENCE.
private  void typeDefinitionReferenceValidate(TypeDefinitionReference a_TypeDefinitionReference)
           
 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.change2.ChangeRequest2
getContainer, getContainerName, getContainerReference, getContentVector, getHttpVector, getOperation, getOrganization, getOrganizationCodingSystem, getOrganizationName, getOrganizationReference, getOrganizationUniqueIdentifier, isHasContents, readVersion, setContainer, setContainerReference, setContentVector, setHasContents, setHttpVector, setOperation, setOrganization, setOrganizationReference
 
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, 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
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
getIdentity, 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

NUMBER

public static final String NUMBER
Label for the attribute; A unique number assigned to this WTChangeRequest2 when it is first stored in database.

Supported API: true

See Also:
WTChangeRequest2Identity, Constant Field Values

NUMBER_UPPER_LIMIT

private static int NUMBER_UPPER_LIMIT

number

private String number

NAME

public static final String NAME
Label for the attribute; An end-user provided name for this WTChangeRequest2.

Supported API: true

See Also:
WTChangeRequest2Identity, Constant Field Values

NAME_UPPER_LIMIT

private static int NAME_UPPER_LIMIT

name

private String name

DESCRIPTION

public static final String DESCRIPTION
Label for the attribute; An end-user provided statement to describe this WTChangeRequest.

Supported API: true

See Also:
Constant Field Values

DESCRIPTION_UPPER_LIMIT

private static int DESCRIPTION_UPPER_LIMIT

description

private String description

NEED_DATE

public static final String NEED_DATE
Label for the attribute; The date by which the request should be completed.

Supported API: true

See Also:
Constant Field Values

needDate

private Timestamp needDate

BUSINESS_DECISION_SUMMARY

public static final String BUSINESS_DECISION_SUMMARY
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

BUSINESS_DECISION_SUMMARY_UPPER_LIMIT

private static int BUSINESS_DECISION_SUMMARY_UPPER_LIMIT

businessDecisionSummary

private String businessDecisionSummary

CYCLE_TIME

public static final String CYCLE_TIME
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

cycleTime

private Timestamp cycleTime

RESOLUTION_DATE

public static final String RESOLUTION_DATE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

resolutionDate

private Timestamp resolutionDate

RECURRING_COST_EST

public static final String RECURRING_COST_EST
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

RECURRING_COST_EST_UPPER_LIMIT

private static int RECURRING_COST_EST_UPPER_LIMIT

recurringCostEst

private String recurringCostEst

NON_RECURRING_COST_EST

public static final String NON_RECURRING_COST_EST
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

NON_RECURRING_COST_EST_UPPER_LIMIT

private static int NON_RECURRING_COST_EST_UPPER_LIMIT

nonRecurringCostEst

private String nonRecurringCostEst

REQUEST_PRIORITY

public static final String REQUEST_PRIORITY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

REQUEST_PRIORITY_UPPER_LIMIT

private static int REQUEST_PRIORITY_UPPER_LIMIT

theRequestPriority

private RequestPriority theRequestPriority

CATEGORY

public static final String CATEGORY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

CATEGORY_UPPER_LIMIT

private static int CATEGORY_UPPER_LIMIT

theCategory

private Category theCategory

COMPLEXITY

public static final String COMPLEXITY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

COMPLEXITY_UPPER_LIMIT

private static int COMPLEXITY_UPPER_LIMIT

theComplexity

private Complexity theComplexity

BUSINESS_DECISION_CATEGORY

public static final String BUSINESS_DECISION_CATEGORY
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

BUSINESS_DECISION_CATEGORY_UPPER_LIMIT

private static int BUSINESS_DECISION_CATEGORY_UPPER_LIMIT

theBusinessDecisionCategory

private BusinessDecisionCategory theBusinessDecisionCategory

BUSINESS_DECISION_AUDIT

public static final String BUSINESS_DECISION_AUDIT
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

theBusinessDecisionAudit

private BusinessDecisionAudit theBusinessDecisionAudit

typeDefinitionReference

private TypeDefinitionReference typeDefinitionReference

theAttributeContainer

private AttributeContainer theAttributeContainer

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
Constructor Detail

WTChangeRequest2

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

readVersion

protected boolean readVersion(WTChangeRequest2 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 ChangeRequest2
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 ChangeRequest2
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

getNumber

public String getNumber()
Gets the value of the attribute: NUMBER. A unique number assigned to this WTChangeRequest2 when it is first stored in database.

Supported API: true

Returns:
String
See Also:
WTChangeRequest2Identity

setNumber

protected void setNumber(String a_Number)
Sets the value of the attribute: NUMBER. A unique number assigned to this WTChangeRequest2 when it is first stored in database.

Supported API: true

Parameters:
a_Number -
See Also:
WTChangeRequest2Identity

getName

public String getName()
Gets the value of the attribute: NAME. An end-user provided name for this WTChangeRequest2.

Supported API: true

Specified by:
getName in interface CabinetBased
Overrides:
getName in class Managed
Returns:
String
See Also:
WTChangeRequest2Identity

setName

protected void setName(String a_Name)
Sets the value of the attribute: NAME. An end-user provided name for this WTChangeRequest2.

Supported API: true

Parameters:
a_Name -
See Also:
WTChangeRequest2Identity

getDescription

public String getDescription()
Gets the value of the attribute: DESCRIPTION. An end-user provided statement to describe this WTChangeRequest.

Supported API: true

Returns:
String

setDescription

public void setDescription(String a_Description)
                    throws WTPropertyVetoException
Sets the value of the attribute: DESCRIPTION. An end-user provided statement to describe this WTChangeRequest.

Supported API: true

Parameters:
a_Description -
Throws:
WTPropertyVetoException

descriptionValidate

private void descriptionValidate(String a_Description)
                          throws WTPropertyVetoException
Parameters:
a_Description -
Throws:
WTPropertyVetoException

getNeedDate

public Timestamp getNeedDate()
Gets the value of the attribute: NEED_DATE. The date by which the request should be completed.

Supported API: true

Returns:
Timestamp

setNeedDate

public void setNeedDate(Timestamp a_NeedDate)
                 throws WTPropertyVetoException
Sets the value of the attribute: NEED_DATE. The date by which the request should be completed.

Supported API: true

Parameters:
a_NeedDate -
Throws:
WTPropertyVetoException

getBusinessDecisionSummary

public String getBusinessDecisionSummary()
Gets the value of the attribute: BUSINESS_DECISION_SUMMARY.

Supported API: false

Returns:
String

setBusinessDecisionSummary

public void setBusinessDecisionSummary(String a_BusinessDecisionSummary)
                                throws WTPropertyVetoException
Sets the value of the attribute: BUSINESS_DECISION_SUMMARY.

Supported API: false

Parameters:
a_BusinessDecisionSummary -
Throws:
WTPropertyVetoException

businessDecisionSummaryValidate

private void businessDecisionSummaryValidate(String a_BusinessDecisionSummary)
                                      throws WTPropertyVetoException
Parameters:
a_BusinessDecisionSummary -
Throws:
WTPropertyVetoException

getCycleTime

public Timestamp getCycleTime()
Gets the value of the attribute: CYCLE_TIME.

Supported API: false

Returns:
Timestamp

setCycleTime

public void setCycleTime(Timestamp a_CycleTime)
                  throws WTPropertyVetoException
Sets the value of the attribute: CYCLE_TIME.

Supported API: false

Parameters:
a_CycleTime -
Throws:
WTPropertyVetoException

getResolutionDate

public Timestamp getResolutionDate()
Gets the value of the attribute: RESOLUTION_DATE.

Supported API: false

Returns:
Timestamp

setResolutionDate

public void setResolutionDate(Timestamp a_ResolutionDate)
                       throws WTPropertyVetoException
Sets the value of the attribute: RESOLUTION_DATE.

Supported API: false

Parameters:
a_ResolutionDate -
Throws:
WTPropertyVetoException

getRecurringCostEst

public String getRecurringCostEst()
Gets the value of the attribute: RECURRING_COST_EST.

Supported API: false

Returns:
String

setRecurringCostEst

public void setRecurringCostEst(String a_RecurringCostEst)
                         throws WTPropertyVetoException
Sets the value of the attribute: RECURRING_COST_EST.

Supported API: false

Parameters:
a_RecurringCostEst -
Throws:
WTPropertyVetoException

recurringCostEstValidate

private void recurringCostEstValidate(String a_RecurringCostEst)
                               throws WTPropertyVetoException
Parameters:
a_RecurringCostEst -
Throws:
WTPropertyVetoException

getNonRecurringCostEst

public String getNonRecurringCostEst()
Gets the value of the attribute: NON_RECURRING_COST_EST.

Supported API: false

Returns:
String

setNonRecurringCostEst

public void setNonRecurringCostEst(String a_NonRecurringCostEst)
                            throws WTPropertyVetoException
Sets the value of the attribute: NON_RECURRING_COST_EST.

Supported API: false

Parameters:
a_NonRecurringCostEst -
Throws:
WTPropertyVetoException

nonRecurringCostEstValidate

private void nonRecurringCostEstValidate(String a_NonRecurringCostEst)
                                  throws WTPropertyVetoException
Parameters:
a_NonRecurringCostEst -
Throws:
WTPropertyVetoException

getRequestPriority

public RequestPriority getRequestPriority()
Gets the object for the association that plays role: REQUEST_PRIORITY.

Supported API: true

Returns:
RequestPriority

setRequestPriority

public void setRequestPriority(RequestPriority a_RequestPriority)
                        throws WTPropertyVetoException
Sets the object for the association that plays role: REQUEST_PRIORITY.

Supported API: true

Parameters:
a_RequestPriority -
Throws:
WTPropertyVetoException

getCategory

public Category getCategory()
Gets the object for the association that plays role: CATEGORY.

Supported API: true

Returns:
Category

setCategory

public void setCategory(Category a_Category)
                 throws WTPropertyVetoException
Sets the object for the association that plays role: CATEGORY.

Supported API: true

Parameters:
a_Category -
Throws:
WTPropertyVetoException

getComplexity

public Complexity getComplexity()
Gets the object for the association that plays role: COMPLEXITY.

Supported API: true

Returns:
Complexity

setComplexity

public void setComplexity(Complexity a_Complexity)
                   throws WTPropertyVetoException
Sets the object for the association that plays role: COMPLEXITY.

Supported API: true

Parameters:
a_Complexity -
Throws:
WTPropertyVetoException

getBusinessDecisionCategory

public BusinessDecisionCategory getBusinessDecisionCategory()
Gets the object for the association that plays role: BUSINESS_DECISION_CATEGORY.

Supported API: false

Returns:
BusinessDecisionCategory

setBusinessDecisionCategory

public void setBusinessDecisionCategory(BusinessDecisionCategory a_BusinessDecisionCategory)
                                 throws WTPropertyVetoException
Sets the object for the association that plays role: BUSINESS_DECISION_CATEGORY.

Supported API: false

Parameters:
a_BusinessDecisionCategory -
Throws:
WTPropertyVetoException

getBusinessDecisionAudit

public BusinessDecisionAudit getBusinessDecisionAudit()
Gets the object for the association that plays role: BUSINESS_DECISION_AUDIT.

Supported API: false

Returns:
BusinessDecisionAudit

setBusinessDecisionAudit

public void setBusinessDecisionAudit(BusinessDecisionAudit a_BusinessDecisionAudit)
                              throws WTPropertyVetoException
Sets the object for the association that plays role: BUSINESS_DECISION_AUDIT.

Supported API: false

Parameters:
a_BusinessDecisionAudit -
Throws:
WTPropertyVetoException

newWTChangeRequest2

public static WTChangeRequest2 newWTChangeRequest2()
                                            throws WTException
A no-arg new-factory method to construct an initialized instance of a WTChangeRequest2.

Supported API: true

Returns:
WTChangeRequest2
Throws:
WTException

newWTChangeRequest2

public static WTChangeRequest2 newWTChangeRequest2(String name)
                                            throws WTException
A new-factory method that construct an initialized instance of a WTChangeRequest2 with the given name.

Supported API: true

Parameters:
name -
Returns:
WTChangeRequest2
Throws:
WTException

initialize

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

Supported API: true

Parameters:
name -
Throws:
WTException

checkAttributes

public void checkAttributes()
                     throws InvalidAttributeException
Validate that the name, description, requster and RequestType attributes have user supplied values.

Supported API: true

Specified by:
checkAttributes in interface Persistable
Overrides:
checkAttributes in class WTObject
Throws:
InvalidAttributeException

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 -

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

getIdentificationObject

public IdentificationObject getIdentificationObject()
                                             throws WTException
Description copied from interface: Identified
Constructs and returns an identification object. This method is the only way to obtain an identification object.

Supported API: true

Specified by:
getIdentificationObject in interface Identified
Returns:
IdentificationObject
Throws:
WTException