Class OperationIdentifier

java.lang.Object
com.ptc.core.meta.common.OperationIdentifier
All Implemented Interfaces:
DefinitionIdentifier, Identifier, Serializable
Direct Known Subclasses:
ChangeOperationIdentifier, DeleteOperationIdentifier, DisplayOperationIdentifier

public class OperationIdentifier extends Object implements DefinitionIdentifier, Serializable
OperationIdentifier identifies a particular operation instance. Get OperationIdentifier instances in the following way: OperationIdentifier op_id = OperationIdentifier.newOperationIdentifier(OperationIdentifierConstants.VIEW); The above example code returns an instance of a DisplayOperationIdentifier for the VIEW constant from the OperationIdentifierConstants interface. Operation names are mapped to operation instances in wt.properties. The external form for an OperationIdentifier has the form "STDOP|com.ptc.windchill.view".

Supported API: true

Extendable: false
See Also:
  • Field Details

  • Method Details

    • getName

      public String getName()
      Returns the value of operationName, e.g. com.ptc.windchill.view

      Supported API: true
      Returns:
      String
    • newOperationIdentifier

      public static OperationIdentifier newOperationIdentifier(String the_operation_name)
      Factory method for taking a string value from OperationIdentifierConstants and returning an instance of an OperationIdentifier.

      Supported API: true
      Parameters:
      the_operation_name - Must not be null.
      Returns:
      OperationIdentifier will return null if an invalid operation identifier is passed in.