|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.repository.internal.resource.SMLDocumentFragment
org.eclipse.cosmos.rm.repository.internal.application.impl.AbstractSMLFragment
org.eclipse.cosmos.rm.repository.internal.application.impl.SMLFileResourceFacet
public class SMLFileResourceFacet
An implementation of a resource facet. The #load(Node) method should
be used to instantiate an instance of this class.
| Method Summary | |
|---|---|
protected org.w3c.dom.Node |
getRootNode()
Returns the node that will be used as the context. |
boolean |
isReference()
Indicates whether this item is a reference or not |
static SMLFileResourceFacet |
load(org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository repository,
org.w3c.dom.Node node)
Instantiate an instance of this class based on the DOM node passed in. |
ISMLResourceFacet |
resolveReference()
If this object happens to represent a reference to a facet (i.e. isReference() returns true), then this method will have it resolved to the actual facet. |
ISMLResourceFacet[] |
retrieveFacets()
Retrieves and returns the facets that are directly referenced by this facet. |
ISMLResourceProperty[] |
retrieveProperties()
Retrieves and returns the properties that are directly referenced by this facet. |
ISMLResourceInstance[] |
retrieveResources()
Retrieves and returns the resources that are directly referenced by this facet. |
| Methods inherited from class org.eclipse.cosmos.rm.repository.internal.application.impl.AbstractSMLFragment |
|---|
retrieveDescription, retrieveDisplayName, retrieveName |
| Methods inherited from class org.eclipse.cosmos.rm.repository.internal.resource.SMLDocumentFragment |
|---|
getNodeList, getParentDocument, setNodeList, setParentDocument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocumentFragment |
|---|
getNodeList, getParentDocument |
| Methods inherited from interface org.eclipse.cosmos.rm.repository.internal.application.ISMLResourceBase |
|---|
retrieveDescription, retrieveDisplayName, retrieveName |
| Method Detail |
|---|
public static SMLFileResourceFacet load(org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository repository,
org.w3c.dom.Node node)
node - The facet node
public ISMLResourceFacet resolveReference()
ISMLResourceFacet
resolveReference in interface ISMLResourceFacetISMLResourceFacet.resolveReference()public ISMLResourceFacet[] retrieveFacets()
ISMLResourceFacet
retrieveFacets in interface ISMLResourceFacetISMLResourceFacet.retrieveFacets()public ISMLResourceProperty[] retrieveProperties()
ISMLResourceFacet
retrieveProperties in interface ISMLResourceFacetISMLResourceFacet.retrieveProperties()public ISMLResourceInstance[] retrieveResources()
ISMLResourceFacet
retrieveResources in interface ISMLResourceFacetISMLResourceFacet.retrieveResources()public boolean isReference()
ISMLResourceBase
isReference in interface ISMLResourceBaseISMLResourceBase.isReference()protected org.w3c.dom.Node getRootNode()
AbstractSMLFragment
getRootNode in class AbstractSMLFragmentAbstractSMLFragment.getRootNode()
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||