|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.enterprise.Master
wt.part.WTPartMaster
public class WTPartMaster
This reference implementation of a PartMaster represents the unchanging
aspects of a part, is managed by WTPartService and also has one or more
associated WTParts which represent the various stages (versions
or iterations) of change for the changeable aspects of this part.
It has a name and number, the latter of which must be unique and it also
has a default unit of measure. Some of its version/iteration functionality
comes from being a Master.
Associations:
WTPartUsageLink links this WTPartMaster to a
WTPart that uses this WTPartMaster (actually
uses one of this WTPartMaster's WTParts based
on a config spec)
WTPartSubstituteLink links this WTPartMaster
to a WTPartUsageLink making it a replacement part for that
particular usage
WTPartAlternateLink links this WTPartMaster
to another WTPartMaster that is a replacement part for any
usage
Use the newWTPartMaster static factory method(s), not the
WTPartMaster 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
WTPartMasterIdentity,
WTPartMasterKey,
"Part Abstractions" in "Application Developer's Guide",
Serialized Form| Field Summary | |
|---|---|
static String |
DEFAULT_UNIT
Label for the attribute; The default unit of measurement assigned to the part when it is used in a structure. |
static String |
EFF_PROPAGATION_STOP
Label for the attribute; Indicates if effectivity propagation should stop or continue through this part. |
static String |
END_ITEM
Label for the attribute; Indicates if the part should be treated as an end item. |
static String |
NAME
Label for the attribute; The name of the part -- the name a part is commonly refered to by, such as "piston". |
static String |
NUMBER
Label for the attribute; The number attribute represents the number for this part and all of its versions. |
| 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.configuration.SerialNumbered |
|---|
DEFAULT_TRACE_CODE |
| Method Summary | |
|---|---|
TraceCode |
getDefaultTraceCode()
Gets the object for the association that plays role: DEFAULT_TRACE_CODE. |
QuantityUnit |
getDefaultUnit()
Gets the object for the association that plays role: DEFAULT_UNIT. |
IdentificationObject |
getIdentificationObject()
Constructs and returns an identification object. |
String |
getIdentity()
Returns the number and name of the part master in the form " |
String |
getName()
Gets the value of the attribute: NAME. |
String |
getNumber()
Gets the value of the attribute: NUMBER. |
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. |
boolean |
isEffPropagationStop()
Gets the value of the attribute: EFF_PROPAGATION_STOP. |
boolean |
isEndItem()
Gets the value of the attribute: END_ITEM. |
void |
setDefaultTraceCode(TraceCode a_DefaultTraceCode)
Sets the object for the association that plays role: DEFAULT_TRACE_CODE. |
void |
setDefaultUnit(QuantityUnit a_DefaultUnit)
Sets the object for the association that plays role: DEFAULT_UNIT. |
void |
setEffPropagationStop(boolean a_EffPropagationStop)
Sets the value of the attribute: EFF_PROPAGATION_STOP. |
void |
setEndItem(boolean a_EndItem)
Sets the value of the attribute: END_ITEM. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setNumber(String a_Number)
Sets the value of the attribute: NUMBER. |
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. |
| 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 |
| Field Detail |
|---|
public static final String NUMBER
public static final String NAME
public static final String END_ITEM
public static final String EFF_PROPAGATION_STOP
public static final String DEFAULT_UNIT
| Method Detail |
|---|
public String getNumber()
public void setNumber(String a_Number)
throws WTPropertyVetoException
a_Number -
WTPropertyVetoExceptionpublic String getName()
public void setName(String a_Name)
throws WTPropertyVetoException
a_Name -
WTPropertyVetoExceptionpublic boolean isEndItem()
public void setEndItem(boolean a_EndItem)
throws WTPropertyVetoException
a_EndItem -
WTPropertyVetoExceptionpublic boolean isEffPropagationStop()
public void setEffPropagationStop(boolean a_EffPropagationStop)
throws WTPropertyVetoException
a_EffPropagationStop -
WTPropertyVetoExceptionpublic QuantityUnit getDefaultUnit()
public void setDefaultUnit(QuantityUnit a_DefaultUnit)
throws WTPropertyVetoException
a_DefaultUnit -
WTPropertyVetoExceptionpublic String getIdentity()
public IdentificationObject getIdentificationObject()
throws WTException
getIdentificationObject in interface IdentifiedWTExceptionpublic WTPrincipalReference getOrganizationReference()
getOrganizationReference in interface OrganizationOwnedgetOrganizationReference in interface OrganizationOwnedImpl
public void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
throws WTPropertyVetoException
a_OrganizationReference -
WTPropertyVetoExceptionpublic String getOrganizationUniqueIdentifier()
getOrganizationUniqueIdentifier in interface OrganizationOwnedpublic String getOrganizationCodingSystem()
getOrganizationCodingSystem in interface OrganizationOwnedpublic String getOrganizationName()
getOrganizationName in interface OrganizationOwnedpublic WTOrganization getOrganization()
getOrganization in interface OrganizationOwned
public void setOrganization(WTOrganization a_Organization)
throws WTPropertyVetoException
a_Organization -
WTPropertyVetoExceptionpublic TraceCode getDefaultTraceCode()
getDefaultTraceCode in interface SerialNumbered
public void setDefaultTraceCode(TraceCode a_DefaultTraceCode)
throws WTPropertyVetoException
setDefaultTraceCode in interface SerialNumbereda_DefaultTraceCode -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||