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
CONFIGURATION_NAME, EXTERNALIZATION_VERSION_UID, ORGANIZATION, ORGANIZATION_REFERENCE, PRODUCT_DEFAULT_UNIT, PRODUCT_NAME, PRODUCT_NUMBERFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.access._AdHocControlled
ENTRY_SETFields inherited from interface wt.vc._AdHocStringVersioned
AD_HOC_STRING_IDENTIFIERFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.configuration._BaselineConfigurationVersion
BASIC, DESCRIPTIONFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.index._Indexable
INDEXER_SETFields inherited from interface wt.vc._Iterated
BRANCH_IDENTIFIER, CONTROL_BRANCH, CREATOR, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_INFO, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAMEFields inherited from interface wt.lifecycle._LifeCycleManaged
LIFE_CYCLE_AT_GATE, LIFE_CYCLE_BASIC, LIFE_CYCLE_NAME, LIFE_CYCLE_STATE, LIFE_CYCLE_TEMPLATE, STATEFields inherited from interface wt.locks._Lockable
LOCK, LOCK_DATE, LOCK_NOTE, LOCKED, LOCKER, LOCKER_EMAIL, LOCKER_FULL_NAME, LOCKER_NAMEFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.org._OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIERFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.vc.sessioniteration._SessionEditedIteration
SESSION_OWNERFields inherited from interface wt.team._TeamManaged
TEAM_ID, TEAM_IDENTITY, TEAM_NAME, TEAM_TEMPLATE_ID, TEAM_TEMPLATE_IDENTITY, TEAM_TEMPLATE_NAMEFields inherited from interface wt.vc.views._ViewManageable
VARIATION1, VARIATION2, VIEW, VIEW_NAMEFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
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, getAdministrativeLock, getBranchIdentifier, getClassInfo, getConceptualClassname, getConfigurationName, getContainer, getContainerName, getContainerReference, getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getDescription, getDomainRef, getEntrySet, getEventSet, getIndexerSet, getIterationIdentifier, getIterationInfo, getIterationNote, getLifeCycleName, getLifeCycleState, getLifeCycleTemplate, getLock, getLockDate, getLocker, getLockerEMail, getLockerFullName, getLockerName, getLockNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier, getSecurityLabels, getSessionOwner, getState, getTeamId, getTeamIdentity, getTeamName, getTeamTemplateId, getTeamTemplateIdentity, getTeamTemplateName, getType, getVariation1, getVariation2, getView, getViewName, isBasic, isInheritedDomain, isLatestIteration, isLifeCycleAtGate, isLifeCycleBasic, isLocked, readExternal, readExternal, readVersion, setAdHocStringIdentifier, setAdministrativeLock, setBasic, setConfigurationName, setContainer, setContainerReference, setControlBranch, setDescription, setDomainRef, setEntrySet, setEventSet, setIndexerSet, setInheritedDomain, setIterationInfo, setLock, setMaster, setMasterReference, setSecurityLabels, setSessionOwner, setState, setTeamId, setTeamTemplateId, setVariation1, setVariation2, setView, super_readExternal_WTProductConfiguration, super_readVersion_WTProductConfiguration, super_writeExternal_WTProductConfiguration, writeExternal, writeExternalMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, initialize, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods 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
-