Package com.ptc.windchill.option.model
Class OptionMaster
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Master
wt.enterprise.Master
com.ptc.windchill.option.model._OptionMaster
com.ptc.windchill.option.model.OptionMaster
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._Identified,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.BusinessInformation,Identified,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,DisplayIdentification,wt.inf.container._WTContained,WTContained,wt.recent.RecentlyVisited,wt.ufid._Federatable,wt.ufid.Federatable,wt.vc._Mastered,Mastered
@GenAsPersistable(superClass=Master.class,interfaces={wt.ufid.Federatable.class,WTContained.class},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="optionDataType",type=OptionDataType.class,initialValue="com.ptc.windchill.option.model.OptionDataType.STRING",columnProperties=@ColumnProperties(defaultValue="STRING")),@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="Name of the option.",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,required=true)),@GeneratedProperty(name="overrideDisplayUnits",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="Override Display units.",constraints=@PropertyConstraints(upperLimit=200),columnProperties=@ColumnProperties(columnName="overrideDisplayUnits")),@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="Name of the option.",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,required=true)),@GeneratedProperty(name="number",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="Number of the option.",constraints=@PropertyConstraints(stringCase=UPPER_CASE,changeable=VIA_OTHER_MEANS,upperLimit=40,required=true),columnProperties=@ColumnProperties(columnName="optionnumber",unique=true)),@GeneratedProperty(name="allowExcludeOption",type=boolean.class,initialValue="false",supportedAPI=DEPRECATED,constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(defaultValue="0"),javaDoc="Indicates if this option is allowed to be excluded.")},foreignKeys={@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="group",type=com.ptc.windchill.option.model.Group.class),myRole=@MyRole(name="theOption")),@GeneratedForeignKey(myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="qom",type=wt.units.display.QuantityOfMeasure.class),myRole=@MyRole(name="theOption",cardinality=ONE))},derivedProperties=@DerivedProperty(name="groupName",derivedFrom="group>name",supportedAPI=PUBLIC),tableProperties=@TableProperties(compositeIndex1="+ optionDataType+groupReference.key.id+thePersistInfo.theObjectIdentifier.id+number+name",compositeIndex8="+ thePersistInfo.theObjectIdentifier.id+thePersistInfo.markForDelete",compositeUnique1="containerReference.key.id +UPPER(name)",tableName="ATOOption2Master"))
public class OptionMaster
extends _OptionMaster
Master for the
Option class.
Use the newOptionMaster static factory method(s), not the
OptionMaster 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 com.ptc.windchill.option.model._OptionMaster
ALLOW_EXCLUDE_OPTION, EXTERNALIZATION_VERSION_UID, GROUP, GROUP_NAME, GROUP_REFERENCE, NAME, NUMBER, OPTION_DATA_TYPE, OVERRIDE_DISPLAY_UNITS, QOM, QOM_REFERENCEFields inherited from class wt.enterprise.Master
OLD_FORMAT_VERSION_UIDFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.vc._Mastered
SERIESFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.fc.BusinessInformation
BUSINESS_TYPE, IDENTITYFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Replaced by Boolean OptionvoidsetAllowExcludeOption(boolean allowExcludeOption) Deprecated.Replaced by Boolean OptionMethods inherited from class com.ptc.windchill.option.model._OptionMaster
getClassInfo, getConceptualClassname, getContainer, getContainerName, getContainerReference, getFederatableInfo, getGroup, getGroupName, getGroupReference, getName, getNumber, getOptionDataType, getOverrideDisplayUnits, getQom, getQomReference, getType, readExternal, readExternal, readVersion, setContainer, setContainerReference, setFederatableInfo, setGroup, setGroupName, setName, setNumber, setOptionDataType, setOverrideDisplayUnits, setQom, setQomReference, super_readExternal_OptionMaster, super_readVersion_OptionMaster, super_writeExternal_OptionMaster, writeExternal, writeExternalMethods inherited from class wt.enterprise.Master
getBusinessType, getIdentity, setSeriesMethods inherited from class wt.enterprise._Master
getSeries, readVersion, super_readExternal_Master, super_readVersion_Master, super_writeExternal_MasterMethods 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, getIdentity
-
Method Details
-
isAllowExcludeOption
public boolean isAllowExcludeOption()Deprecated.Replaced by Boolean OptionIndicates if this option is allowed to be excluded.Supported API: true
- Overrides:
isAllowExcludeOptionin class_OptionMaster- See Also:
-
setAllowExcludeOption
Deprecated.Replaced by Boolean OptionIndicates if this option is allowed to be excluded.Supported API: true
- Overrides:
setAllowExcludeOptionin class_OptionMaster- Throws:
WTPropertyVetoException- See Also:
-