Package wt.part
Class WTProductConfigurationMaster
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.part._WTProductConfigurationMaster
wt.part.WTProductConfigurationMaster
- All Implemented Interfaces:
Externalizable,Serializable,_BaselineConfigurationMaster,BaselineConfigurationMaster,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.occurrence._PathOccurrenceMasterContext,PathOccurrenceMasterContext,_OrganizationOwned,OrganizationOwned,wt.vc._Mastered,Mastered
@GenAsPersistable(superClass=WTObject.class,interfaces={BaselineConfigurationMaster.class,OrganizationOwned.class},versions=4869743409573000056L,foreignKeys=@GeneratedForeignKey(name="ProductConfigForConfig",foreignKeyRole=@ForeignKeyRole(name="configurationFor",type=WTPartMaster.class,supportedAPI=PUBLIC,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="configuration",cascade=false)),derivedProperties={@DerivedProperty(name="productNumber",derivedFrom="configurationFor>number",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="productName",derivedFrom="configurationFor>name",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="productDefaultUnit",derivedFrom="configurationFor>defaultUnit",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="organization",derivedFrom="configurationFor>organization",type=WTOrganization.class,supportedAPI=PUBLIC,getBody="try { return ((wt.part.WTPartMaster) getConfigurationFor()).getOrganization(); } catch (java.lang.NullPointerException npe) { return null; }",accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="organizationReference",derivedFrom="configurationFor>organizationReference",supportedAPI=PUBLIC,accessors=@PropertyAccessors(setAccess=PRIVATE))},tableProperties=@TableProperties(tableName="WTProductConfigMaster"))
public class WTProductConfigurationMaster
extends _WTProductConfigurationMaster
Use the newWTProductConfigurationMaster static factory method(s),
not the WTProductConfigurationMaster 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._WTProductConfigurationMaster
ORGANIZATION, ORGANIZATION_REFERENCE, PRODUCT_DEFAULT_UNIT, PRODUCT_NAME, PRODUCT_NUMBERFields inherited from interface wt.configuration._BaselineConfigurationMaster
CONFIGURATION_FOR, CONFIGURATION_FOR_REFERENCEFields inherited from interface wt.org._OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER -
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._WTProductConfigurationMaster
getConfigurationFor, getConfigurationForReference, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier, setConfigurationFor, setConfigurationForReferenceMethods 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_WTProductConfigurationMaster- 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_WTProductConfigurationMaster- 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_WTProductConfigurationMaster- Returns:
- QuantityUnit
- 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_WTProductConfigurationMaster- Returns:
- WTOrganization
- 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_WTProductConfigurationMaster- Returns:
- WTPrincipalReference
- 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
-