com.ptc.windchill.mpml.resource
Class MPMResourceGroup

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.enterprise.RevisionControlled
          extended by wt.part.WTPart
              extended by com.ptc.windchill.mpml.resource.MPMResource
                  extended by com.ptc.windchill.mpml.resource.MPMResourceGroup
All Implemented Interfaces:
MPMCompatible, Externalizable, Serializable, AccessControlled, wt.access.AccessControlList, wt.access.AdHocControlled, IdentityAccessControlled, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, wt.admin.DomainAdministered, AnnotationTarget, wt.build.BuildTarget, Changeable2, ChangeableIfc, ConfigurationManageable, ConfiguredVersion, ContentHolder, EffManagedVersion, EffRecordable, wt.effectivity.EffectivityHolder, wt.effectivity.EffectivityManageable, wt.epm.workspaces.Trackable, wt.epm.workspaces.WorkspaceTrackable, Releasable, wt.fc.archive.Archiveable, wt.fc.archive.ArchiveablePrimary, wt.fc.BusinessInformation, wt.fc.importer.ImportTrackable, NetFactor, ObjectMappable, Persistable, wt.federation.FederatedLinkHolder, wt.federation.RemotelyLinkable, CabinetBased, Foldered, FolderEntry, wt.folder.FolderServiceManaged, IteratedFoldered, Genericizable, wt.generic.OVTemplate, wt.generic.Variant, wt.iba.value.IBAHolder, DisplayIdentification, Indexable, WTContained, IteratedLifeCycleManaged, wt.lifecycle.LifeCycleManaged, Lockable, wt.maturity.Promotable, wt.meeting.actionitem.IteratedSubjectOfActionItem, wt.meeting.actionitem.SubjectOfActionItem, wt.note.NoteHolder, Notifiable, PathOccurrenceContext, PathOwner, UsesOccurrenceContext, wt.org.electronicIdentity.ElectronicallySignable, OrganizationOwned, OrganizationOwnedVersion, Ownable, wt.part.Part, wt.part.PartVersion, wt.recent.RecentlyVisited, wt.representation.Representable, wt.representation.RepresentablesAndMasters, wt.representation.RepresentationContributor, wt.team.TeamManaged, wt.type.FlexTyped, wt.type.Typed, wt.ufid.Federatable, wt.util.depthLock._DepthLock000, wt.util.depthLock._DepthLock001, wt.util.depthLock._DepthLock002, wt.util.depthLock._DepthLock003, wt.util.depthLock._DepthLock004, wt.util.depthLock._DepthLock005, wt.util.depthLock._DepthLock006, wt.util.depthLock._DepthLock007, Baselineable, Iterated, OneOffVersioned, Versionable, Versioned, ViewManageable, Workable, wt.viewmarkup.Viewable, wt.workflow.forum.IteratedSubjectOfForum, wt.workflow.forum.SubjectOfForum, wt.workflow.notebook.IteratedSubjectOfNotebook, wt.workflow.notebook.SubjectOfNotebook, wt.workflow.requirement.RequirementsManageable

public class MPMResourceGroup
extends MPMResource
implements Externalizable

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

Field Summary
static String CATEGORY
          Label for the attribute.
 
Fields inherited from class com.ptc.windchill.mpml.resource.MPMResource
DESCRIPTION
 
Fields inherited from class wt.part.WTPart
CONTRACT_NUMBER, DEFAULT_TRACE_CODE, DEFAULT_UNIT, END_ITEM, GENERIC_TYPE, JOB_AUTHORIZATION_NUMBER, NAME, NUMBER, PART_TYPE, PHASE, SOURCE
 
Fields inherited from class wt.enterprise.RevisionControlled
MASTER
 
Fields inherited from interface com.ptc.windchill.mpml.MPMCompatible
MASTER, MASTER_REFERENCE, NAME, NUMBER
 
Fields inherited from interface wt.org.OrganizationOwned
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER
 
Fields inherited from interface wt.generic.Genericizable
MASTER, MASTER_REFERENCE
 
Method Summary
 MPMResourceGroupType getCategory()
          Gets the value of the attribute: CATEGORY.
protected  void initialize(String number, String name)
          Supports initialization, following construction of an instance.
protected  void initialize(String number, String name, MPMResourceGroupType category)
          Supports initialization, following construction of an instance.
protected  void initialize(String number, String name, QuantityUnit defaultUnit)
          Supports initialization, following construction of an instance.
protected  void initialize(String number, String name, QuantityUnit defaultUnit, MPMResourceGroupType category)
          Supports initialization, following construction of an instance.
static MPMResourceGroup newMPMResourceGroup()
          Constructs a new MPMResourceGroup.
static MPMResourceGroup newMPMResourceGroup(String number, String name)
          Constructs a new MPMResourceGroup and sets the MPMPResourceGroupMaster's name and number to the passed-in values.
static MPMResourceGroup newMPMResourceGroup(String number, String name, MPMResourceGroupType category)
          Constructs a new MPMResourceGroup and sets the MPMResourceGroupMaster's name and number to the passed-in values.
static MPMResourceGroup newMPMResourceGroup(String number, String name, QuantityUnit defaultUnit)
          Constructs a new MPMResourceGroup and sets the MPMResourceGroupMaster's name and number to the passed-in values.
static MPMResourceGroup newMPMResourceGroup(String number, String name, QuantityUnit defaultUnit, MPMResourceGroupType category)
          Constructs a new MPMResourceGroup and sets the MPMResourceGroupMaster's name and number to the passed-in values.
 void setCategory(MPMResourceGroupType a_Category)
          Sets the value of the attribute: CATEGORY.
 void setMaster(Mastered a_Master)
          Sets the object for the association that plays role: MASTER.
 
Methods inherited from class com.ptc.windchill.mpml.resource.MPMResource
getDescription, getName, getNumber, setDescription, setName, setNumber
 
Methods inherited from class wt.part.WTPart
getContractNumber, getDefaultTraceCode, getDefaultUnit, getGenericType, getIdentity, getJobAuthorizationNumber, getOrganization, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier, getPartType, getPhase, getSource, isEndItem, newWTPart, newWTPart, newWTPart, setContractNumber, setDefaultTraceCode, setDefaultUnit, setEndItem, setGenericType, setJobAuthorizationNumber, setOrganization, setPartType, setPhase, setSource
 
Methods inherited from class wt.enterprise.RevisionControlled
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setMasterReference
 
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 com.ptc.windchill.mpml.MPMCompatible
getMaster, getMasterReference, setMasterReference
 
Methods inherited from interface wt.org.OrganizationOwnedVersion
getOrganizationReference
 
Methods inherited from interface wt.org.OrganizationOwned
getOrganization, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier
 
Methods inherited from interface wt.generic.Genericizable
getMaster, getMasterReference, setMasterReference
 

Field Detail

CATEGORY

public static final String CATEGORY
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getCategory

public MPMResourceGroupType getCategory()
Gets the value of the attribute: CATEGORY.

Supported API: true

Returns:
MPMResourceGroupType

setCategory

public void setCategory(MPMResourceGroupType a_Category)
                 throws WTPropertyVetoException
Sets the value of the attribute: CATEGORY.

Supported API: true

Parameters:
a_Category -
Throws:
WTPropertyVetoException

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 MPMCompatible
Specified by:
setMaster in interface ConfiguredVersion
Specified by:
setMaster in interface Genericizable
Specified by:
setMaster in interface Iterated
Overrides:
setMaster in class MPMResource
Parameters:
a_Master -
Throws:
WTPropertyVetoException
WTException
See Also:
Mastered

newMPMResourceGroup

public static MPMResourceGroup newMPMResourceGroup(String number,
                                                   String name)
                                            throws WTException
Constructs a new MPMResourceGroup and sets the MPMPResourceGroupMaster's name and number to the passed-in values.

Supported API: true

Parameters:
number -
name -
Returns:
MPMResourceGroup
Throws:
WTException

initialize

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

Supported API: true

Overrides:
initialize in class WTPart
Parameters:
number -
name -
Throws:
WTException

newMPMResourceGroup

public static MPMResourceGroup newMPMResourceGroup(String number,
                                                   String name,
                                                   QuantityUnit defaultUnit)
                                            throws WTException
Constructs a new MPMResourceGroup and sets the MPMResourceGroupMaster's name and number to the passed-in values.

Supported API: true

Parameters:
number -
name -
defaultUnit -
Returns:
MPMResourceGroup
Throws:
WTException

initialize

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

Supported API: true

Overrides:
initialize in class WTPart
Parameters:
number -
name -
defaultUnit -
Throws:
WTException

newMPMResourceGroup

public static MPMResourceGroup newMPMResourceGroup()
                                            throws WTException
Constructs a new MPMResourceGroup.

Supported API: true

Returns:
MPMResourceGroup
Throws:
WTException

newMPMResourceGroup

public static MPMResourceGroup newMPMResourceGroup(String number,
                                                   String name,
                                                   QuantityUnit defaultUnit,
                                                   MPMResourceGroupType category)
                                            throws WTException
Constructs a new MPMResourceGroup and sets the MPMResourceGroupMaster's name and number to the passed-in values.

Supported API: true

Parameters:
number -
name -
defaultUnit -
category -
Returns:
MPMResourceGroup
Throws:
WTException

initialize

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

Supported API: true

Parameters:
number -
name -
defaultUnit -
category -
Throws:
WTException

newMPMResourceGroup

public static MPMResourceGroup newMPMResourceGroup(String number,
                                                   String name,
                                                   MPMResourceGroupType category)
                                            throws WTException
Constructs a new MPMResourceGroup and sets the MPMResourceGroupMaster's name and number to the passed-in values.

Supported API: true

Parameters:
number -
name -
category -
Returns:
MPMResourceGroup
Throws:
WTException

initialize

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

Supported API: true

Parameters:
number -
name -
category -
Throws:
WTException