Class ModelItem

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.epm.modelitems._ModelItem
wt.epm.modelitems.ModelItem
All Implemented Interfaces:
Externalizable, Serializable, wt.build._BuildSource, BuildSource, wt.epm.interfaces._Trackable, wt.epm.interfaces.Trackable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, wt.fc.archive._Archiveable, wt.fc.archive.Archiveable, NetFactor, ObjectMappable, Persistable, wt.federation._FederatedLinkHolder, wt.federation._RemotelyLinkable, wt.federation.FederatedLinkHolder, wt.federation.RemotelyLinkable, wt.iba.value._IBAHolder, wt.iba.value.IBAHolder, DisplayIdentification, wt.type._Typed, wt.type._TypeManaged, wt.type.FlexTyped, wt.type.Typed, wt.type.TypeManaged, wt.ufid._Federatable, wt.ufid.Federatable

@GenAsPersistable(superClass=WTObject.class,interfaces={wt.fc.archive.Archiveable.class,wt.type.Typed.class,BuildSource.class,wt.ufid.Federatable.class,wt.epm.interfaces.Trackable.class},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="name",type=java.lang.String.class,javaDoc="It is a user visible name. (required)",constraints=@PropertyConstraints(upperLimit=400,required=true)),@GeneratedProperty(name="internalName",type=java.lang.String.class,javaDoc="This is the primary identifier that the user recognizes Model Items in Windchill.",constraints=@PropertyConstraints(upperLimit=400)),@GeneratedProperty(name="description",type=java.lang.String.class,javaDoc="It is a description of the model item specified by the user (optional)",constraints=@PropertyConstraints(upperLimit=2000)),@GeneratedProperty(name="revisionNumber",type=java.lang.Integer.class,javaDoc="It is the revision number assigned by the application. (optional)"),@GeneratedProperty(name="ownerId",type=long.class,javaDoc="It is an optional internal identifier generated by the authoring application that identifies the owner of this model item. Its default value is -1."),@GeneratedProperty(name="ownerType",type=ModelItemType.class,javaDoc="It is internal identifier generated by the authoring application that identifies the type of owner of this model item. Its default value is null."),@GeneratedProperty(name="workingContext",type=ObjectReference.class,javaDoc="It identifies the model item container where this model item is being updated. (internal)",accessors=@PropertyAccessors(setAccess=PROTECTED)),@GeneratedProperty(name="status",type=ModelItemStatus.class,javaDoc="It is an optional attribute assigned by the authoring application that denotes the status of this model item such as inactive, frozen, unplaced or regenerated."),@GeneratedProperty(name="bomDesignation",type=ModelItemBomDesignation.class,javaDoc="It is an optional field that denotes what type of BOM item (if any) this model item represents. Authoring applications do not usually set this field. Typically, Windchill makes this determination based upon a series of preferences. But, an authoring application may set this field if it allows its users to specify the type of BOM item that a model item may represent."),@GeneratedProperty(name="controlCharacteristic",type=java.lang.Boolean.class),@GeneratedProperty(name="suppressed",type=boolean.class,javaDoc="Indicates whether or not this model item is suppressed. Suppressed model items are ignored by the build service and are usually not shown in the user interface.")},foreignKeys=@GeneratedForeignKey(myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="master",type=ModelItemMaster.class,autoNavigate=true,constraints=@PropertyConstraints(required=true),accessors=@PropertyAccessors(setAccess=PROTECTED)),myRole=@MyRole(name="iteration",cardinality=ONE_TO_MANY,accessors=@PropertyAccessors(setAccess=PRIVATE))),derivedProperties={@DerivedProperty(name="uniqueId",derivedFrom="master>uniqueId"),@DerivedProperty(name="filebased",derivedFrom="master>filebased",accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="itemType",derivedFrom="master>itemType"),@DerivedProperty(name="itemSubType",derivedFrom="master>itemSubType")},tableProperties=@TableProperties(compositeIndex1="+masterReference.key.id")) public class ModelItem extends wt.epm.modelitems._ModelItem

Use the newModelItem static factory method(s), not the ModelItem 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.epm.modelitems._ModelItem

    BOM_DESIGNATION, CONTROL_CHARACTERISTIC, DESCRIPTION, EXTERNALIZATION_VERSION_UID, FILEBASED, INTERNAL_NAME, ITEM_SUB_TYPE, ITEM_TYPE, MASTER, MASTER_REFERENCE, NAME, OWNER_ID, OWNER_TYPE, REVISION_NUMBER, STATUS, SUPPRESSED, UNIQUE_ID, WORKING_CONTEXT

    Fields inherited from class wt.fc._WTObject

    CREATE_TIMESTAMP, MODIFY_TIMESTAMP

    Fields inherited from interface wt.ufid._Federatable

    FEDERATABLE_INFO

    Fields inherited from interface wt.iba.value._IBAHolder

    ATTRIBUTE_CONTAINER

    Fields inherited from interface wt.fc._Persistable

    PERSIST_INFO

    Fields inherited from interface wt.type._Typed

    TYPE_DEFINITION_REFERENCE

    Fields inherited from interface wt.identity.DisplayIdentification

    DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE

    Fields inherited from interface wt.fc.Persistable

    IDENTITY, TYPE
  • Method Summary

    Methods inherited from class wt.epm.modelitems._ModelItem

    getAttributeContainer, getBomDesignation, getClassInfo, getConceptualClassname, getControlCharacteristic, getDescription, getFederatableInfo, getInternalName, getItemSubType, getItemType, getMaster, getMasterReference, getName, getOwnerId, getOwnerType, getRevisionNumber, getStatus, getType, getTypeDefinitionReference, getUniqueId, getWorkingContext, isFilebased, isSuppressed, readExternal, readExternal, readVersion, setAttributeContainer, setBomDesignation, setControlCharacteristic, setDescription, setFederatableInfo, setInternalName, setItemSubType, setItemType, setMaster, setMasterReference, setName, setOwnerId, setOwnerType, setRevisionNumber, setSuppressed, setTypeDefinitionReference, setUniqueId, setWorkingContext, super_readExternal_ModelItem, super_readVersion_ModelItem, super_writeExternal_ModelItem, writeExternal, writeExternal

    Methods inherited from class wt.fc._WTObject

    equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface wt.fc._Persistable

    getPersistInfo, setPersistInfo

    Methods inherited from interface wt.fc.Persistable

    checkAttributes, getIdentity