public final class MetaShortcut extends java.lang.Object implements MetaData
Constructor and Description |
---|
MetaShortcut(java.lang.String contextName,
MetaOperation operation)
Creates a shortcut object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContextName()
Returns the context identifier that describes the operation that can be parameterized with (can
refer to) the given shortcut operation.
|
Type |
getDataType()
Returns the type associated with the metadata element or
null
if the element has no type. |
java.lang.String |
getName()
Returns the shortcut name.
|
MetaOperation |
getOperation()
Returns a metadata object describing the signature of the shortcut operation.
|
public MetaShortcut(java.lang.String contextName, MetaOperation operation)
contextName
- Context identifier.operation
- Description of the shortcut operation signature.java.lang.IllegalArgumentException
- if any of the arguments is null
.public java.lang.String getName()
public Type getDataType()
MetaData
null
if the element has no type.getDataType
in interface MetaData
null
if the element has no type.public java.lang.String getContextName()
public MetaOperation getOperation()