Package com.ptc.wpcfg.doc
Class VariantSpec
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._RevisionControlled
wt.enterprise.RevisionControlled
com.ptc.wpcfg.doc._VariantSpec
com.ptc.wpcfg.doc.VariantSpec
- All Implemented Interfaces:
com.ptc.wpcfg.doc._VariantSpecTypeInterface,com.ptc.wpcfg.doc.VariantSpecTypeInterface,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,wt.change2._Changeable2,wt.change2._ChangeableIfc,Changeable2,ChangeableIfc,wt.content._ContentHolder,wt.content._FormatContentHolder,ContentHolder,FormatContentHolder,wt.esi._Datable,wt.esi._Releasable,Datable,Releasable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.archive._Archiveable,wt.fc.archive.Archiveable,wt.fc.BusinessInformation,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,wt.folder._CabinetBased,wt.folder._Foldered,wt.folder._FolderEntry,wt.folder._FolderServiceManaged,wt.folder._IteratedFoldered,CabinetBased,Foldered,FolderEntry,wt.folder.FolderServiceManaged,IteratedFoldered,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.index._Indexable,Indexable,wt.inf.container._WTContained,WTContained,wt.lifecycle._IteratedLifeCycleManaged,_LifeCycleManaged,IteratedLifeCycleManaged,LifeCycleManaged,wt.locks._Lockable,Lockable,wt.maturity._Promotable,Promotable,wt.meeting.actionitem._IteratedSubjectOfActionItem,wt.meeting.actionitem._SubjectOfActionItem,wt.meeting.actionitem.IteratedSubjectOfActionItem,wt.meeting.actionitem.SubjectOfActionItem,wt.notify._Notifiable,Notifiable,wt.option._ModuleVariantInformationContext,ModuleVariantInformationContext,_OrganizationOwned,wt.org._OrganizationOwnedVersion,OrganizationOwned,OrganizationOwnedVersion,wt.ownership._Ownable,wt.ownership.Ownable,wt.productfamily._ProductFamilyMemberIfc,wt.productfamily.ProductFamilyMemberIfc,wt.projmgmt.deliverable._SubjectOfDeliverable,wt.projmgmt.deliverable._VersionedSubjectOfDeliverable,wt.projmgmt.deliverable.SubjectOfDeliverable,wt.projmgmt.deliverable.VersionedSubjectOfDeliverable,wt.recent.RecentlyVisited,wt.sandbox._Interoperable,wt.sandbox.Interoperable,_TeamManaged,TeamManaged,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable,_Iterated,wt.vc._OneOffVersioned,wt.vc._Versionable,wt.vc._Versioned,wt.vc.baseline._Baselineable,Baselineable,Iterated,OneOffVersioned,Versionable,Versioned,wt.vc.wip._Workable,Workable,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=RevisionControlled.class,interfaces={wt.iba.value.IBAHolder.class,WTContained.class,wt.ufid.Federatable.class,FormatContentHolder.class,wt.type.Typed.class,wt.fc.archive.Archiveable.class,OrganizationOwnedVersion.class,OneOffVersioned.class,wt.sandbox.Interoperable.class,com.ptc.wpcfg.doc.VariantSpecTypeInterface.class,wt.productfamily.ProductFamilyMemberIfc.class,wt.projmgmt.deliverable.VersionedSubjectOfDeliverable.class,Datable.class,ModuleVariantInformationContext.class,Releasable.class},versions={2437200917848557231L,4029543429321180234L},properties={@GeneratedProperty(name="complete",type=boolean.class,javaDoc="If true variant spec is complete - all persistent parameters have values. This attribute must be in sync with XML content. (See attribute wpcfamily.isresolved)"),@GeneratedProperty(name="sessionid",type=long.class,javaDoc="Reserved for Spec Editor session. Internal use only."),@GeneratedProperty(name="description",type=java.lang.String.class,supportedAPI=PUBLIC,constraints=@PropertyConstraints(upperLimit=2000)),@GeneratedProperty(name="basedOnDefaultBaseline",type=boolean.class,javaDoc="Attribute that indicates that the configSpec reference of this VariantSpec is a default baseline configSpec or not."),@GeneratedProperty(name="managedAs",type=com.ptc.wpcfg.doc.VariantSpecManagedType.class,initialValue="VariantSpecManagedType.STANDALONE",constraints=@PropertyConstraints(required=true,upperLimit=40),columnProperties=@ColumnProperties(defaultValue="standalone"),javaDoc="Management type used for this VariantSpec version.")},foreignKeys={@GeneratedForeignKey(myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="genericizable",type=Genericizable.class),myRole=@MyRole(name="variantSpec")),@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="master",type=com.ptc.wpcfg.doc.VariantSpecMaster.class,cascade=false,constraints=@PropertyConstraints(required=true),accessors=@PropertyAccessors(getAccess=PRIVATE)),myRole=@MyRole(name="iteration",cascade=false,accessors=@PropertyAccessors(getAccess=PRIVATE,setAccess=PROTECTED))),@GeneratedForeignKey(name="VariantSpecConfigSpecLink",myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="configSpec",type=wt.vc.config.PersistableConfigSpec.class,constraints=@PropertyConstraints(required=false)),myRole=@MyRole(name="variantSpec",cardinality=ZERO_TO_ONE)),@GeneratedForeignKey(myRoleIsRoleA=true,foreignKeyRole=@ForeignKeyRole(name="navigationCriteria",type=NavigationCriteria.class,constraints=@PropertyConstraints(required=false)),myRole=@MyRole(name="variantSpec",cardinality=ZERO_TO_ONE)),@GeneratedForeignKey(myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="releasedConfigurationBaseline",type=Baseline.class,constraints=@PropertyConstraints(required=false)),myRole=@MyRole(name="variantSpec"))},derivedProperties={@DerivedProperty(name="name",derivedFrom="master>name",supportedAPI=PUBLIC),@DerivedProperty(name="number",derivedFrom="master>number",supportedAPI=PUBLIC)},tableProperties=@TableProperties(compositeIndex10="iterationInfo.latest",compositeIndex11="thePersistInfo.markForDelete",compositeIndex12="genericizableReference.key.id",compositeIndex17="releasedConfigurationBaselineReference.key.id",compositeUnique1="+oneOffVersionInfo.identifier.oneOffVersionId"),iconProperties=@IconProperties(standardIcon="wt/clients/images/variantspec.gif",openIcon="wt/clients/images/variantspec.gif"))
public class VariantSpec
extends _VariantSpec
Variant specification stores output of Order Generator (values for all
model parameter) as XML file.
Use the newVariantSpec static factory method(s), not the
VariantSpec 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.wpcfg.doc._VariantSpec
BASED_ON_DEFAULT_BASELINE, COMPLETE, CONFIG_SPEC, CONFIG_SPEC_REFERENCE, DESCRIPTION, EXTERNALIZATION_VERSION_UID, GENERICIZABLE, GENERICIZABLE_REFERENCE, MANAGED_AS, NAME, NAVIGATION_CRITERIA, NAVIGATION_CRITERIA_REFERENCE, NUMBER, RELEASED_CONFIGURATION_BASELINE, RELEASED_CONFIGURATION_BASELINE_REFERENCE, SESSIONIDFields inherited from class wt.enterprise.RevisionControlled
VERSION_DISPLAY_IDENTIFIER, VERSION_DISPLAY_IDENTITY, VERSION_DISPLAY_TYPEFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.access._AdHocControlled
ENTRY_SETFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.change2._Changeable2
HAS_HANGING_CHANGE, HAS_PENDING_CHANGE, HAS_RESULTING_CHANGE, HAS_SUSPECT, HAS_VARIANCEFields inherited from interface wt.content._ContentHolder
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATIONFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.folder._Foldered
CABINET, CABINET_NAME, FOLDERING_INFO, PARENT_FOLDERFields inherited from interface wt.content._FormatContentHolder
FORMAT, FORMAT_NAME, PRIMARYFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.index._Indexable
INDEXER_SETFields inherited from interface wt.sandbox._Interoperable
INTEROP_INFOFields 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.vc._OneOffVersioned
ONE_OFF_VERSION_IDENTIFIER, ONE_OFF_VERSION_INFOFields inherited from interface wt.org._OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIERFields inherited from interface wt.org._OrganizationOwnedVersion
ORGANIZATION_REFERENCEFields inherited from interface wt.ownership._Ownable
OWNERSHIPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.productfamily._ProductFamilyMemberIfc
TOP_PRODUCT_FAMILY_REFERENCEFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields 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.type._Typed
TYPE_DEFINITION_REFERENCEFields inherited from interface com.ptc.wpcfg.doc._VariantSpecTypeInterface
TYPE_INFO_VARIANT_SPECFields inherited from interface wt.vc._Versioned
VERSION_IDENTIFIER, VERSION_INFOFields inherited from interface wt.vc.wip._Workable
CHECKOUT_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.folder.CabinetBased
FOLDER_PATH, LOCATIONFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.org.OrganizationOwned
ORGANIZATIONFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.projmgmt.deliverable.SubjectOfDeliverable
loggerFields inherited from interface wt.vc.Versioned
MASTER_SERIESFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the value of the attribute: NAME.Gets the value of the attribute: NUMBER.Gets the value of the attribute: ORGANIZATION.booleanReturns true for product family managed VariantSpec.booleanReturns true for a product family organized VariantSpec.booleanReturns true for a standalone VariantSpec.voidSets the value of the attribute: NAME.voidSets the value of the attribute: NUMBER.Methods inherited from class com.ptc.wpcfg.doc._VariantSpec
getAttributeContainer, getClassInfo, getConceptualClassname, getConfigSpecReference, getContainer, getContainerName, getContainerReference, getContentVector, getDescription, getFederatableInfo, getFormat, getFormatName, getHttpVector, getInteropInfo, getManagedAs, getNavigationCriteriaReference, getOneOffVersionIdentifier, getOneOffVersionInfo, getOperation, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier, getPrimary, getReleasedConfigurationBaseline, getReleasedConfigurationBaselineReference, getSessionid, getTopProductFamilyReference, getType, getTypeDefinitionReference, getTypeInfoVariantSpec, isBasedOnDefaultBaseline, isComplete, isHasContents, readExternal, readExternal, setAttributeContainer, setBasedOnDefaultBaseline, setComplete, setConfigSpec, setConfigSpecReference, setContainer, setContainerReference, setContentVector, setDescription, setFederatableInfo, setFormat, setGenericizable, setHasContents, setHttpVector, setInteropInfo, setManagedAs, setNavigationCriteria, setNavigationCriteriaReference, setOneOffVersionInfo, setOperation, setPrimary, setReleasedConfigurationBaseline, setReleasedConfigurationBaselineReference, setSessionid, setTopProductFamilyReference, setTypeDefinitionReference, setTypeInfoVariantSpec, super_readExternal_VariantSpec, super_readVersion_VariantSpec, super_writeExternal_VariantSpec, writeExternal, writeExternalMethods inherited from class wt.enterprise.RevisionControlled
getBusinessType, getCabinetReference, getCreator, getFolderPath, getIdentity, getIterationDisplayIdentifier, getLocation, getVersionDisplayIdentifier, getVersionDisplayIdentity, getVersionDisplayType, getVersionIdentifier, initialize, setIterationInfoMethods inherited from class wt.enterprise._RevisionControlled
getAdministrativeLock, getBranchIdentifier, getCabinet, getCabinetName, getCheckoutInfo, getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getDomainRef, getEntrySet, getEventSet, getFolderingInfo, getIndexerSet, getIterationIdentifier, getIterationInfo, getIterationNote, getLifeCycleName, getLifeCycleState, getLifeCycleTemplate, getLock, getLockDate, getLocker, getLockerEMail, getLockerFullName, getLockerName, getLockNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getOwnership, getParentFolder, getSecurityLabels, getState, getTeamId, getTeamIdentity, getTeamName, getTeamTemplateId, getTeamTemplateIdentity, getTeamTemplateName, getVersionInfo, isHasHangingChange, isHasPendingChange, isHasResultingChange, isHasSuspect, isHasVariance, isInheritedDomain, isLatestIteration, isLifeCycleAtGate, isLifeCycleBasic, isLocked, readVersion, setAdministrativeLock, setCheckoutInfo, setControlBranch, setDomainRef, setEntrySet, setEventSet, setFolderingInfo, setHasHangingChange, setHasPendingChange, setHasResultingChange, setHasSuspect, setHasVariance, setIndexerSet, setInheritedDomain, setLock, setMaster, setMasterReference, setOwnership, setSecurityLabels, setState, setTeamId, setTeamTemplateId, setVersionInfo, super_readExternal_RevisionControlled, super_readVersion_RevisionControlled, super_writeExternal_RevisionControlledMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, 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.vc._Iterated
getBranchIdentifier, getControlBranch, getCreator, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationInfo, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setIterationInfo, setMaster, setMasterReferenceMethods inherited from interface wt.locks._Lockable
getLock, getLockDate, getLocker, getLockerEMail, getLockerFullName, getLockerName, getLockNote, isLocked, setLockMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.vc._Versioned
getVersionIdentifier, getVersionInfo, setVersionInfoMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
Method Details
-
getName
Gets the value of the attribute: NAME.
Supported API: true- Specified by:
getNamein interfaceCabinetBased- Specified by:
getNamein interfacewt.projmgmt.deliverable.SubjectOfDeliverable- Overrides:
getNamein class_VariantSpec- Returns:
- String
- See Also:
-
setName
Sets the value of the attribute: NAME.
Supported API: true- Overrides:
setNamein class_VariantSpec- Parameters:
a_Name-- Throws:
WTPropertyVetoException- See Also:
-
getNumber
Gets the value of the attribute: NUMBER.
Supported API: true- Overrides:
getNumberin class_VariantSpec- Returns:
- String
- See Also:
-
setNumber
Sets the value of the attribute: NUMBER.
Supported API: true- Overrides:
setNumberin class_VariantSpec- Parameters:
a_Number-- Throws:
WTPropertyVetoException- See Also:
-
getOrganization
Gets the value of the attribute: ORGANIZATION.
Supported API: true- Returns:
- WTOrganization
-
isStandalone
public boolean isStandalone()Returns true for a standalone VariantSpec.
Supported API: true -
isProductFamilyOrganized
public boolean isProductFamilyOrganized()Returns true for a product family organized VariantSpec.
Supported API: true -
isProductFamilyManaged
public boolean isProductFamilyManaged()Returns true for product family managed VariantSpec.
Supported API: true
-