venice
Class MElement

java.lang.Object
  |
  +--venice.MElement
Direct Known Subclasses:
MComponent, MInterface, MPackage

public abstract class MElement
extends java.lang.Object

This class is a representation for model elements in the model.

Author:
Sami Ilonen

Field Summary
private  java.lang.String mId
           
private  java.lang.String mName
           
private  java.lang.String mType
           
 
Constructor Summary
MElement(java.lang.String inId, java.lang.String inName, java.lang.String inType)
           
 
Method Summary
 java.lang.String getId()
          Returns the id of the model element.
 java.lang.String getName()
          Returns the name of the model element.
 java.lang.String getType()
          Returns the type of the model element.
abstract  java.lang.String toXML()
          Returns the XML-representation of this model element.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mId

private java.lang.String mId

mName

private java.lang.String mName

mType

private java.lang.String mType
Constructor Detail

MElement

public MElement(java.lang.String inId,
                java.lang.String inName,
                java.lang.String inType)
Method Detail

getId

public java.lang.String getId()
Returns the id of the model element.
Returns:
Returns the id of the model element.

getName

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

getType

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

toXML

public abstract java.lang.String toXML()
Returns the XML-representation of this model element.
Returns:
Returns the XML-representation of this model element.