wt.change2
Class WTChangeRequest2

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.change2.VersionableChangeItem
          extended by wt.change2.ChangeRequest2
              extended by wt.change2.WTChangeRequest2
All Implemented Interfaces:
Externalizable, Serializable, AccessControlled, wt.access.AccessControlList, wt.access.AdHocControlled, IdentityAccessControlled, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, wt.admin.DomainAdministered, ChangeItem, ChangeItemIfc, ChangeRequestIfc, ContentHolder, NetFactor, ObjectMappable, Persistable, CabinetBased, Foldered, FolderEntry, wt.folder.FolderServiceManaged, IteratedFoldered, wt.iba.value.IBAHolder, DisplayIdentification, Indexable, WTContained, IteratedLifeCycleManaged, wt.lifecycle.LifeCycleManaged, Notifiable, wt.org.electronicIdentity.ElectronicallySignable, OrganizationOwned, OrganizationOwnedVersion, Ownable, wt.recent.RecentlyVisited, wt.team.TeamManaged, wt.type.FlexTyped, wt.type.Typed, Baselineable, Iterated, OneOffVersioned, Versionable, Versioned, wt.workflow.forum.IteratedSubjectOfForum, wt.workflow.forum.SubjectOfForum, wt.workflow.notebook.IteratedSubjectOfNotebook, wt.workflow.notebook.SubjectOfNotebook

public class WTChangeRequest2
extends ChangeRequest2
implements wt.type.Typed, WTContained, IdentityAccessControlled, 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:
wt.change2.WTChangeRequest2Identity, Serialized Form

Field Summary
static String CATEGORY
          Label for the attribute.
static String COMPLEXITY
          Label for the attribute.
static String DESCRIPTION
          Label for the attribute; An end-user provided statement to describe this WTChangeRequest.
static String NAME
          Label for the attribute; An end-user provided name for this WTChangeRequest2.
static String NEED_DATE
          Label for the attribute; The date by which the request should be completed.
static String NUMBER
          Label for the attribute; A unique number assigned to this WTChangeRequest2 when it is first stored in database.
static String REQUEST_PRIORITY
          Label for the attribute.
 
Fields inherited from class wt.change2.VersionableChangeItem
MASTER
 
Fields inherited from interface wt.vc.Iterated
CONTROL_BRANCH, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAME
 
Fields inherited from interface wt.vc.Iterated
CONTROL_BRANCH, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAME
 
Fields inherited from interface wt.vc.Iterated
CONTROL_BRANCH, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAME
 
Fields inherited from interface wt.vc.Iterated
CONTROL_BRANCH, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAME
 
Fields inherited from interface wt.org.OrganizationOwnedVersion
MASTER_REFERENCE
 
Fields inherited from interface wt.org.OrganizationOwned
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER
 
Method 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 getDescription()
          Gets the value of the attribute: DESCRIPTION.
 String getName()
          Gets the value of the attribute: NAME.
 Timestamp getNeedDate()
          Gets the value of the attribute: NEED_DATE.
 String getNumber()
          Gets the value of the attribute: NUMBER.
 RequestPriority getRequestPriority()
          Gets the object for the association that plays role: REQUEST_PRIORITY.
protected  void initialize(String name)
          Supports initialization, following construction of an instance.
protected  void initialize(WTChangeRequest2Master master)
          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.
static WTChangeRequest2 newWTChangeRequest2(WTChangeRequest2Master master)
          

Supported API: true
 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 setDescription(String a_Description)
          Sets the value of the attribute: DESCRIPTION.
 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 setNumber(String a_Number)
          Sets the value of the attribute: NUMBER.
 void setRequestPriority(RequestPriority a_RequestPriority)
          Sets the object for the association that plays role: REQUEST_PRIORITY.
 
Methods inherited from class wt.change2.VersionableChangeItem
getControlBranch, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getOrganization, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier, isLatestIteration, setControlBranch, setMaster, setMasterReference, setOrganization
 
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.vc.Iterated
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setMaster, setMasterReference
 
Methods inherited from interface wt.vc.Iterated
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setMaster, setMasterReference
 
Methods inherited from interface wt.vc.Iterated
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setMaster, setMasterReference
 
Methods inherited from interface wt.vc.Iterated
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setMaster, setMasterReference
 

Field Detail

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:
wt.change2.WTChangeRequest2Identity, Constant Field Values

NAME

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

Supported API: true

See Also:
wt.change2.WTChangeRequest2Identity, Constant Field Values

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

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

REQUEST_PRIORITY

public static final String REQUEST_PRIORITY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

CATEGORY

public static final String CATEGORY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

COMPLEXITY

public static final String COMPLEXITY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

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:
wt.change2.WTChangeRequest2Identity

setNumber

public void setNumber(String a_Number)
               throws WTPropertyVetoException
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 -
Throws:
WTPropertyVetoException
See Also:
wt.change2.WTChangeRequest2Identity

getName

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

Supported API: true

Returns:
String
See Also:
wt.change2.WTChangeRequest2Identity

setName

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

Supported API: true

Parameters:
a_Name -
Throws:
WTPropertyVetoException
See Also:
wt.change2.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

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

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

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

newWTChangeRequest2

public static WTChangeRequest2 newWTChangeRequest2(WTChangeRequest2Master master)
                                            throws WTException


Supported API: true

Parameters:
master -
Returns:
WTChangeRequest2
Throws:
WTException

initialize

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

Supported API: true

Parameters:
master -
Throws:
WTException