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

org.eclipse.cosmos.rm.validation.internal.artifacts
Class ElementNode

java.lang.Object
  extended by org.eclipse.cosmos.rm.validation.internal.artifacts.TypeNode
      extended by org.eclipse.cosmos.rm.validation.internal.artifacts.ElementNode
Direct Known Subclasses:
TargetElementNode, TargetSchemaNode

public class ElementNode
extends TypeNode

Element Node represents a node in a document.


Constructor Summary
ElementNode()
           
ElementNode(java.lang.String name, java.lang.String filePath, int line, int column)
           
 
Method Summary
 ElementLocation getLocation()
           
 java.lang.String getName()
          Returns the name of the element
 void setLocation(ElementLocation location)
           
 void setName(java.lang.String name)
          Sets the name of the element
 
Methods inherited from class org.eclipse.cosmos.rm.validation.internal.artifacts.TypeNode
equals, getType, getUri, setType, setUri
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementNode

public ElementNode()

ElementNode

public ElementNode(java.lang.String name,
                   java.lang.String filePath,
                   int line,
                   int column)
Method Detail

getName

public java.lang.String getName()
Returns the name of the element

Returns:
the name of the element

setName

public void setName(java.lang.String name)
Sets the name of the element

Parameters:
name - name of the element

getLocation

public ElementLocation getLocation()
Returns:
the location

setLocation

public void setLocation(ElementLocation location)
Parameters:
location - the location to set

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