Package wt.epm.ndi

Interface EPMNDModelItem

All Superinterfaces:
EPMNDObject

public interface EPMNDModelItem extends EPMNDObject
EPM Neutral Data interface for Model Item

Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the object for the association that plays role: attributes.
    Gets the value of the attribute: bomDesignation; Optional attribute that denotes whether the user has designated this model item as a part or an assembly inside the authoring application.
    Gets the value of the attribute: controlCharacteristic.
    Gets the object for the association that plays role: dependencies.
    Gets the value of the attribute: description; It is a description of the model item specified by the user.
    Gets the value of the attribute: internalName; This is the primary identifier that the user recognizes Model Items in Windchill.
    Gets the value of the attribute: masterObjectId; Returns the ObjectIdentifier of the master of this model item.
    Gets the value of the attribute: name; It is the user visible name for the model item.
    long
    Gets the value of the attribute: ownerId; Optional internal identifier generated by the authoring application that identifies the owner of this model item.
    Gets the value of the attribute: ownerType; Optional internal identifier generated by the authoring application that identifies the ownerType of this model item.
    Gets the value of the attribute: revisionNumber; It is the revision number assigned by the application.
    Gets the object for the association that plays role: softType.
    Gets the value of the attribute: status; It denotes the status of the model item.
    Gets the value of the attribute: subType; It defines the subtype of the model item.
    Gets the value of the attribute: type; It defines the type of the model item.
    Gets the value of the attribute: uniqueId; It is an internal identifier that uniquely identifies an EPMNDModelItem in the context of its EPMNDDocument.
    int
    Gets the value of the attribute: updateCounter; When this model item is new or in an in-work state it indicates how many times the user has changed the model item.
    boolean
    Gets the value of the attribute: filebased; It denotes whether this model item was created in the CAD file by the CAD application or created in Windchill by an application.
    boolean
    Gets the value of the attribute: newItem; It denotes whether or not this model is new (a newly created model item that hasn't been checked in for the first time yet.)

    Supported API: true

    Methods inherited from interface wt.epm.ndi.EPMNDObject

    getObjectId
  • Method Details

    • getUniqueId

      String getUniqueId() throws WTException
      Gets the value of the attribute: uniqueId; It is an internal identifier that uniquely identifies an EPMNDModelItem in the context of its EPMNDDocument. (required)

      Supported API: true
      Returns:
      String
      Throws:
      WTException
    • getName

      String getName() throws WTException
      Gets the value of the attribute: name; It is the user visible name for the model item. (required)

      Supported API: true
      Returns:
      String
      Throws:
      WTException
    • getInternalName

      String getInternalName() throws WTException
      Gets the value of the attribute: internalName; This is the primary identifier that the user recognizes Model Items in Windchill.

      Supported API: true
      Returns:
      String
      Throws:
      WTException
    • getDescription

      String getDescription() throws WTException
      Gets the value of the attribute: description; It is a description of the model item specified by the user. (optional)

      Supported API: true
      Returns:
      String
      Throws:
      WTException
    • getType

      ModelItemType getType() throws WTException
      Gets the value of the attribute: type; It defines the type of the model item. (required)

      Supported API: true
      Returns:
      ModelItemType
      Throws:
      WTException
    • getSubType

      ModelItemSubType getSubType() throws WTException
      Gets the value of the attribute: subType; It defines the subtype of the model item. (optional)

      Supported API: true
      Returns:
      ModelItemSubType
      Throws:
      WTException
    • getRevisionNumber

      Integer getRevisionNumber() throws WTException
      Gets the value of the attribute: revisionNumber; It is the revision number assigned by the application. (optional)

      Supported API: true
      Returns:
      Integer
      Throws:
      WTException
    • getStatus

      ModelItemStatus getStatus() throws WTException
      Gets the value of the attribute: status; It denotes the status of the model item. (optional)

      Supported API: true
      Returns:
      ModelItemStatus
      Throws:
      WTException
    • isFilebased

      boolean isFilebased() throws WTException
      Gets the value of the attribute: filebased; It denotes whether this model item was created in the CAD file by the CAD application or created in Windchill by an application.

      Supported API: true
      Returns:
      boolean
      Throws:
      WTException
    • getMasterObjectId

      ObjectIdentifier getMasterObjectId() throws WTException
      Gets the value of the attribute: masterObjectId; Returns the ObjectIdentifier of the master of this model item.

      Supported API: true
      Returns:
      ObjectIdentifier
      Throws:
      WTException
    • getOwnerId

      long getOwnerId() throws WTException
      Gets the value of the attribute: ownerId; Optional internal identifier generated by the authoring application that identifies the owner of this model item. Its default value is -1.

      Supported API: true
      Returns:
      long
      Throws:
      WTException
    • getBomDesignation

      ModelItemBomDesignation getBomDesignation() throws WTException
      Gets the value of the attribute: bomDesignation; Optional attribute that denotes whether the user has designated this model item as a part or an assembly inside the authoring application.

      Supported API: true
      Returns:
      ModelItemBomDesignation
      Throws:
      WTException
    • getUpdateCounter

      int getUpdateCounter() throws WTException
      Gets the value of the attribute: updateCounter; When this model item is new or in an in-work state it indicates how many times the user has changed the model item. Otherwise it is -1.

      Supported API: true
      Returns:
      int
      Throws:
      WTException
    • isNewItem

      boolean isNewItem() throws WTException
      Gets the value of the attribute: newItem; It denotes whether or not this model is new (a newly created model item that hasn't been checked in for the first time yet.)

      Supported API: true
      Returns:
      boolean
      Throws:
      WTException
    • getDependencies

      Collection<EPMNDModelItemLink> getDependencies() throws WTException
      Gets the object for the association that plays role: dependencies.

      Supported API: true
      Returns:
      Collection
      Throws:
      WTException
    • getAttributes

      Collection<EPMNDAttribute> getAttributes() throws WTException
      Gets the object for the association that plays role: attributes.

      Supported API: true
      Returns:
      Collection
      Throws:
      WTException
    • getSoftType

      EPMNDSoftType getSoftType() throws WTException
      Gets the object for the association that plays role: softType.

      Supported API: true
      Returns:
      EPMNDSoftType
      Throws:
      WTException
    • getControlCharacteristic

      Boolean getControlCharacteristic() throws WTException
      Gets the value of the attribute: controlCharacteristic.

      Supported API: true
      Returns:
      Boolean
      Throws:
      WTException
    • getOwnerType

      ModelItemType getOwnerType() throws WTException
      Gets the value of the attribute: ownerType; Optional internal identifier generated by the authoring application that identifies the ownerType of this model item. Its default value is null.

      Supported API: true
      Returns:
      ModelItemType
      Throws:
      WTException