COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.repository.internal.application.impl
Class AbstractSMLFragment

java.lang.Object
  extended by org.eclipse.cosmos.rm.repository.internal.resource.SMLDocumentFragment
      extended by org.eclipse.cosmos.rm.repository.internal.application.impl.AbstractSMLFragment
All Implemented Interfaces:
ISMLResourceBase, org.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocumentFragment
Direct Known Subclasses:
SMLFileResourceFacet, SMLResourceProperty

public abstract class AbstractSMLFragment
extends SMLDocumentFragment
implements ISMLResourceBase

An abstract SML fragment


Constructor Summary
AbstractSMLFragment()
           
 
Method Summary
protected abstract  org.w3c.dom.Node getRootNode()
          Returns the node that will be used as the context.
 java.lang.String retrieveDescription()
          Retrieves and returns the description of this item
 java.lang.String retrieveDisplayName()
          Retrieves and returns the display name of this item
 java.lang.String retrieveName()
          Retrieves and returns the name of this item
 
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.internal.application.ISMLResourceBase
isReference
 

Constructor Detail

AbstractSMLFragment

public AbstractSMLFragment()
Method Detail

getRootNode

protected abstract org.w3c.dom.Node getRootNode()
Returns the node that will be used as the context.

Returns:
The root node

retrieveName

public java.lang.String retrieveName()
Description copied from interface: ISMLResourceBase
Retrieves and returns the name of this item

Specified by:
retrieveName in interface ISMLResourceBase
Returns:
The name of this item
See Also:
ISMLResourceBase.retrieveName()

retrieveDisplayName

public java.lang.String retrieveDisplayName()
Description copied from interface: ISMLResourceBase
Retrieves and returns the display name of this item

Specified by:
retrieveDisplayName in interface ISMLResourceBase
Returns:
The display name of this item
See Also:
ISMLResourceBase.retrieveDisplayName()

retrieveDescription

public java.lang.String retrieveDescription()
Description copied from interface: ISMLResourceBase
Retrieves and returns the description of this item

Specified by:
retrieveDescription in interface ISMLResourceBase
Returns:
The description of this item
See Also:
ISMLResourceBase.retrieveDescription()

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification