Package wt.part
Class WTProductConfiguration
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.part._WTProductConfiguration
wt.part.WTProductConfiguration
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,_BaselineConfigurationVersion,wt.configuration._Configuration,wt.configuration._SerialNumberedBaselineConfigurationVersion,BaselineConfigurationVersion,Configuration,SerialNumberedBaselineConfigurationVersion,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.index._Indexable,Indexable,wt.inf.container._WTContained,WTContained,wt.lifecycle._IteratedLifeCycleManaged,_LifeCycleManaged,IteratedLifeCycleManaged,LifeCycleManaged,wt.locks._Lockable,Lockable,wt.notify._Notifiable,Notifiable,wt.occurrence._PathOccurrenceContext,PathOccurrenceContext,_OrganizationOwned,wt.org.electronicIdentity._ElectronicallySignable,wt.org.electronicIdentity.ElectronicallySignable,OrganizationOwned,wt.recent.RecentlyVisited,_TeamManaged,TeamManaged,wt.type._TypeManaged,wt.type.TypeManaged,_AdHocStringVersioned,_Iterated,wt.vc._Versionable,AdHocStringVersioned,wt.vc.baseline._Baseline,wt.vc.baseline._IteratedPartialBaseline,Baseline,IteratedPartialBaseline,Iterated,_SessionEditedIteration,SessionEditedIteration,Versionable,_ViewManageable,ViewManageable,wt.viewmarkup._Viewable,wt.viewmarkup.Viewable,wt.workflow.forum._IteratedSubjectOfForum,wt.workflow.forum._SubjectOfForum,wt.workflow.forum.IteratedSubjectOfForum,SubjectOfForum,wt.workflow.notebook._IteratedSubjectOfNotebook,wt.workflow.notebook._SubjectOfNotebook,wt.workflow.notebook.IteratedSubjectOfNotebook,wt.workflow.notebook.SubjectOfNotebook
@GenAsPersistable(superClass=WTObject.class,interfaces={SerialNumberedBaselineConfigurationVersion.class,ViewManageable.class,Indexable.class,IteratedLifeCycleManaged.class,Notifiable.class,SessionEditedIteration.class,wt.org.electronicIdentity.ElectronicallySignable.class,AdHocStringVersioned.class,WTContained.class,wt.viewmarkup.Viewable.class,OrganizationOwned.class,DomainAdministered.class,wt.workflow.notebook.IteratedSubjectOfNotebook.class,wt.workflow.forum.IteratedSubjectOfForum.class,wt.type.TypeManaged.class},versions={1910585216668030772L,155752547013014703L,3938075969845474330L,-8850209012406016934L},foreignKeys=@GeneratedForeignKey(name="ConfigurationMasterConfiguration",foreignKeyRole=@ForeignKeyRole(name="master",type=WTProductConfigurationMaster.class,supportedAPI=PUBLIC,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="iteration",supportedAPI=PUBLIC,cascade=false)),derivedProperties={@DerivedProperty(name="productNumber",derivedFrom="master>configurationFor>number",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="productName",derivedFrom="master>configurationFor>name",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="productDefaultUnit",derivedFrom="master>configurationFor>defaultUnit",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="configurationName",derivedFrom="adHocStringIdentifier"),@DerivedProperty(name="organizationReference",derivedFrom="master>configurationFor>organizationReference",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="organization",derivedFrom="master>configurationFor>organization",type=WTOrganization.class,supportedAPI=PUBLIC,getBody="try { return ((wt.part.WTProductConfigurationMaster) getMaster()).getOrganization(); } catch (java.lang.NullPointerException npe) { return null; }",accessors=@PropertyAccessors(setAccess=PRIVATE))},tableProperties=@TableProperties(compositeUnique1="masterReference.key.id+upper(adHocStringIdentifier)+iterationInfo.identifier.iterationId+view.key.id+variation1+variation2+sessionOwner.key.id"),iconProperties=@IconProperties(standardIcon="wtcore/images/prod_config.gif",openIcon="wtcore/images/prod_config.gif"))
public class WTProductConfiguration
extends _WTProductConfiguration
Use the newWTProductConfiguration static factory method(s),
not the WTProductConfiguration 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:
-
Field Summary
Fields inherited from class wt.part._WTProductConfiguration
ORGANIZATION, ORGANIZATION_REFERENCE, PRODUCT_DEFAULT_UNIT, PRODUCT_NAME, PRODUCT_NUMBERFields inherited from interface wt.vc._AdHocStringVersioned
AD_HOC_STRING_IDENTIFIERFields inherited from interface wt.configuration._BaselineConfigurationVersion
DESCRIPTIONFields 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_NAMEFields inherited from interface wt.lifecycle._LifeCycleManaged
LIFE_CYCLE_STATE, STATEFields inherited from interface wt.org._OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIERFields inherited from interface wt.vc.sessioniteration._SessionEditedIteration
SESSION_OWNERFields inherited from interface wt.team._TeamManaged
TEAM_ID, TEAM_TEMPLATE_IDFields inherited from interface wt.vc.views._ViewManageable
VARIATION1, VARIATION2 -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: ORGANIZATION.Gets the value of the attribute: ORGANIZATION_REFERENCE.Gets the value of the attribute: PRODUCT_DEFAULT_UNIT.Gets the value of the attribute: PRODUCT_NAME.Gets the value of the attribute: PRODUCT_NUMBER.voidsetOrganization(WTOrganization a_Organization) Sets the value of the attribute: ORGANIZATION.voidsetOrganizationReference(WTPrincipalReference a_OrganizationReference) Sets the value of the attribute: ORGANIZATION_REFERENCE.Methods inherited from class wt.part._WTProductConfiguration
getAdHocStringIdentifier, getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getDescription, getIterationIdentifier, getIterationNote, getLifeCycleState, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier, getSessionOwner, getState, getTeamId, getTeamTemplateId, getVariation1, getVariation2, isLatestIteration, setAdHocStringIdentifier, setDescription, setMaster, setMasterReference, setSessionOwner, setVariation1, setVariation2Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
getProductNumber
Gets the value of the attribute: PRODUCT_NUMBER. The number attribute represents the number for this part and all of its versions. Conceptually on the WTPart, it is actually implemented on the master.
Supported API: true- Overrides:
getProductNumberin class_WTProductConfiguration- Returns:
- String
- See Also:
-
getProductName
Gets the value of the attribute: PRODUCT_NAME. The name of the part -- the name a part is commonly refered to by, such as "piston".
Supported API: true- Overrides:
getProductNamein class_WTProductConfiguration- Returns:
- String
- See Also:
-
getProductDefaultUnit
Gets the value of the attribute: PRODUCT_DEFAULT_UNIT. The name of the part -- the name a part is commonly refered to by, such as "piston".
Supported API: true- Overrides:
getProductDefaultUnitin class_WTProductConfiguration- Returns:
- QuantityUnit
- See Also:
-
getOrganizationReference
Gets the value of the attribute: ORGANIZATION_REFERENCE. The organizationReference attribute represents the reference to organization for the product. Conceptually on the WTPart, it is actually implemented on the master.
Supported API: true- Specified by:
getOrganizationReferencein interfaceOrganizationOwned- Overrides:
getOrganizationReferencein class_WTProductConfiguration- Returns:
- WTPrincipalReference
- See Also:
-
getOrganization
Gets the value of the attribute: ORGANIZATION. The organization attribute represents the organization for the product. Conceptually on the WTPart, it is actually implemented on the master.
Supported API: true- Specified by:
getOrganizationin interfaceOrganizationOwned- Overrides:
getOrganizationin class_WTProductConfiguration- Returns:
- WTOrganization
- See Also:
-
setOrganizationReference
public void setOrganizationReference(WTPrincipalReference a_OrganizationReference) throws WTPropertyVetoException Sets the value of the attribute: ORGANIZATION_REFERENCE.
Supported API: true- Parameters:
a_OrganizationReference-- Throws:
WTPropertyVetoException
-
setOrganization
Sets the value of the attribute: ORGANIZATION.
Supported API: true- Parameters:
a_Organization-- Throws:
WTPropertyVetoException
-