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

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

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

public class TypeNode
extends java.lang.Object

A type node is simply the declaration of a type under a specific context


Constructor Summary
TypeNode()
           
TypeNode(java.lang.String type, java.lang.String uri)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getType()
          Returns the type of the element
 java.lang.String getUri()
           
 void setType(java.lang.String type)
          Sets the type of the element
 void setUri(java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeNode

public TypeNode()

TypeNode

public TypeNode(java.lang.String type,
                java.lang.String uri)
Method Detail

getType

public java.lang.String getType()
Returns the type of the element

Returns:
the type of the element

setType

public void setType(java.lang.String type)
Sets the type of the element

Parameters:
type - type of the element

getUri

public java.lang.String getUri()
Returns:
the uri

setUri

public void setUri(java.lang.String uri)
Parameters:
uri - the uri to set

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

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