wt.change2
Class WTVariance

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.change2.VersionableChangeItem
          extended by wt.change2.ChangeIssue
              extended by wt.change2.WTVariance
All Implemented Interfaces:
Externalizable, Serializable, AccessControlled, wt.access.AccessControlList, wt.access.AdHocControlled, IdentityAccessControlled, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, wt.admin.DomainAdministered, ChangeIssueIfc, ChangeItem, ChangeItemIfc, 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 WTVariance
extends ChangeIssue
implements wt.type.Typed, IdentityAccessControlled, Externalizable

Variance is another implementation of ChangeIssue. It represents a documentation for departing from as-designed product configuration.

Each WTVariance instance is assigned a unique number which is generated by the system when the variance is stored in the database.

Use the newWTVariance static factory method(s), not the WTVariance 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:
WTVarianceMasterIdentity, Serialized Form

Field Summary
static String DESCRIPTION
          Label for the attribute.
static String NAME
          Label for the attribute; An end user provides name for WTVariance.
static String NEED_DATE
          Label for the attribute.
static String NUMBER
          Label for the attribute; A unique number is assigned to WTVariance when stored in database.
static String REASON
          Label for the attribute.
static String RECURRING
          Label for the attribute.
static String VARIANCE_OWNER
          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
 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.
 String getReason()
          Gets the value of the attribute: REASON.
 Boolean getRecurring()
          Gets the value of the attribute: RECURRING.
 WTPrincipalReference getVarianceOwner()
          Gets the value of the attribute: VARIANCE_OWNER.
protected  void initialize(String name)
          Supports initialization, following construction of an instance.
protected  void initialize(WTVarianceMaster master)
          Supports initialization, following construction of an instance.
static WTVariance newWTVariance()
          A no-arg constructor for internal use only.
static WTVariance newWTVariance(String name)
          A new-factory method that construct an initialized instance of a WTVariance with the given name.
static WTVariance newWTVariance(WTVarianceMaster master)
          

Supported API: true
 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 setReason(String a_Reason)
          Sets the value of the attribute: REASON.
 void setRecurring(Boolean a_Recurring)
          Sets the value of the attribute: RECURRING.
 void setVarianceOwner(WTPrincipalReference a_VarianceOwner)
          Sets the value of the attribute: VARIANCE_OWNER.
 
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

NAME

public static final String NAME
Label for the attribute; An end user provides name for WTVariance.

Supported API: true

See Also:
Constant Field Values

NUMBER

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

Supported API: true

See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

VARIANCE_OWNER

public static final String VARIANCE_OWNER
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

NEED_DATE

public static final String NEED_DATE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

RECURRING

public static final String RECURRING
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

REASON

public static final String REASON
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getName

public String getName()
Gets the value of the attribute: NAME. An end user provides name for WTVariance.

Supported API: true

Returns:
String

setName

public void setName(String a_Name)
             throws WTPropertyVetoException
Sets the value of the attribute: NAME. An end user provides name for WTVariance.

Supported API: true

Parameters:
a_Name -
Throws:
WTPropertyVetoException

getNumber

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

Supported API: true

Returns:
String

setNumber

public void setNumber(String a_Number)
               throws WTPropertyVetoException
Sets the value of the attribute: NUMBER. A unique number is assigned to WTVariance when stored in database.

Supported API: true

Parameters:
a_Number -
Throws:
WTPropertyVetoException

getDescription

public String getDescription()
Gets the value of the attribute: DESCRIPTION.

Supported API: true

Returns:
String

setDescription

public void setDescription(String a_Description)
                    throws WTPropertyVetoException
Sets the value of the attribute: DESCRIPTION.

Supported API: true

Parameters:
a_Description -
Throws:
WTPropertyVetoException

getVarianceOwner

public WTPrincipalReference getVarianceOwner()
Gets the value of the attribute: VARIANCE_OWNER.

Supported API: true

Returns:
WTPrincipalReference

setVarianceOwner

public void setVarianceOwner(WTPrincipalReference a_VarianceOwner)
                      throws WTPropertyVetoException
Sets the value of the attribute: VARIANCE_OWNER.

Supported API: true

Parameters:
a_VarianceOwner -
Throws:
WTPropertyVetoException

getNeedDate

public Timestamp getNeedDate()
Gets the value of the attribute: NEED_DATE.

Supported API: true

Returns:
Timestamp

setNeedDate

public void setNeedDate(Timestamp a_NeedDate)
                 throws WTPropertyVetoException
Sets the value of the attribute: NEED_DATE.

Supported API: true

Parameters:
a_NeedDate -
Throws:
WTPropertyVetoException

getRecurring

public Boolean getRecurring()
Gets the value of the attribute: RECURRING.

Supported API: true

Returns:
Boolean

setRecurring

public void setRecurring(Boolean a_Recurring)
                  throws WTPropertyVetoException
Sets the value of the attribute: RECURRING.

Supported API: true

Parameters:
a_Recurring -
Throws:
WTPropertyVetoException

getReason

public String getReason()
Gets the value of the attribute: REASON.

Supported API: true

Returns:
String

setReason

public void setReason(String a_Reason)
               throws WTPropertyVetoException
Sets the value of the attribute: REASON.

Supported API: true

Parameters:
a_Reason -
Throws:
WTPropertyVetoException

newWTVariance

public static WTVariance newWTVariance()
                                throws WTException
A no-arg constructor for internal use only.

Supported API: true

Returns:
WTVariance
Throws:
WTException

newWTVariance

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

Supported API: true

Parameters:
name -
Returns:
WTVariance
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

newWTVariance

public static WTVariance newWTVariance(WTVarianceMaster master)
                                throws WTException


Supported API: true

Parameters:
master -
Returns:
WTVariance
Throws:
WTException

initialize

protected void initialize(WTVarianceMaster 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