com.ptc.core.meta.common
Class OperationIdentifier

java.lang.Object
  extended by 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:
Serialized Form

Field Summary
static String PROTOCOL
          

Supported API: true
 
Method Summary
 String getName()
          Returns the value of operationName, e.g.
static OperationIdentifier newOperationIdentifier(String the_operation_name)
          Factory method for taking a string value from OperationIdentifierConstants and returning an instance of an OperationIdentifier.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL

public static final String PROTOCOL


Supported API: true

See Also:
Constant Field Values
Method Detail

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 -
Returns:
OperationIdentifier