org.eclipse.stp.core.saf
Class Context

java.lang.Object
  extended byorg.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)
           
 
Method Summary
 java.lang.String getNamespace()
           
 java.lang.String getRootType()
           
 java.lang.String getSubType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context(java.lang.String namespace,
               java.lang.String rootType,
               java.lang.String subType)
Parameters:
namespace - - context namespace URI
rootType - - context root type
subType - - 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
Method Detail

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