UML.Semantic.Foundation.DataTypes
Class Name

java.lang.Object
  |
  +--UML.Semantic.Foundation.DataTypes.Name

public class Name
extends java.lang.Object

In the metamodel a Name defines a token which is used for naming ModelElements. Each Name has a corresponding String representation.


Constructor Summary
Name()
           
Name(java.lang.String body)
           
 
Method Summary
 java.lang.String getBody()
          Gets the text body of the name.
 java.lang.String getElementType()
           
 void setBody(java.lang.String body)
          Assigns the given text to the name body.
 void setElementType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Name

public Name()

Name

public Name(java.lang.String body)
Method Detail

setBody

public void setBody(java.lang.String body)
Assigns the given text to the name body.


getBody

public java.lang.String getBody()
Gets the text body of the name.

Returns:
The body text.

setElementType

public void setElementType(java.lang.String type)

getElementType

public java.lang.String getElementType()