org.eclipse.stp.core.saf
Class Context
java.lang.Object
org.eclipse.stp.core.saf.Context
- public class Context
- extends java.lang.Object
This class is used to filter the handler result set, returned by
ISAFManager
, based on the type of model (service model,
implementation model, etc.) being authored.
Constructor Summary |
Context(org.eclipse.stp.core.sca.SCAObject rootObject,
java.lang.String subType)
|
Context(java.lang.String namespace,
java.lang.String rootType,
java.lang.String subType)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Context
public Context(java.lang.String namespace,
java.lang.String rootType,
java.lang.String subType)
- Parameters:
namespace
- -
context namespace URIrootType
- -
context root typesubType
- -
context sub type
Context
public Context(org.eclipse.stp.core.sca.SCAObject rootObject,
java.lang.String subType)
- Parameters:
rootObject
- the object used to derive the context namespace and root type.
These fields are obtained from the EClass
associated
with the EObject
obtained from
SCAObject.getEObject()
.subType
- context sub type
getSubType
public java.lang.String getSubType()
- Returns:
- the sub type for this context
getNamespace
public java.lang.String getNamespace()
- Returns:
- the namespace for this context
getRootType
public java.lang.String getRootType()
- Returns:
- the root type for this context