net.sourceforge.toscanaj.model.manyvaluedcontext
Class ManyValuedAttributeImplementation

java.lang.Object
  extended bynet.sourceforge.toscanaj.model.manyvaluedcontext.ManyValuedAttributeImplementation
All Implemented Interfaces:
ManyValuedAttribute, WritableManyValuedAttribute

public class ManyValuedAttributeImplementation
extends java.lang.Object
implements WritableManyValuedAttribute


Constructor Summary
ManyValuedAttributeImplementation(Datatype type, java.lang.String name)
           
ManyValuedAttributeImplementation(org.jdom.Element element, java.util.Hashtable typeIdMapping)
           
 
Method Summary
 java.lang.String getName()
           
 Datatype getType()
           
 void readXML(org.jdom.Element elem, java.util.Hashtable typesIdMapping)
           
 void setName(java.lang.String name)
           
 void setType(Datatype type)
           
 java.lang.String toString()
           
 org.jdom.Element toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManyValuedAttributeImplementation

public ManyValuedAttributeImplementation(Datatype type,
                                         java.lang.String name)

ManyValuedAttributeImplementation

public ManyValuedAttributeImplementation(org.jdom.Element element,
                                         java.util.Hashtable typeIdMapping)
                                  throws XMLSyntaxError
Method Detail

getType

public Datatype getType()
Specified by:
getType in interface ManyValuedAttribute

setType

public void setType(Datatype type)
Specified by:
setType in interface WritableManyValuedAttribute

getName

public java.lang.String getName()
Specified by:
getName in interface ManyValuedAttribute

toString

public java.lang.String toString()

setName

public void setName(java.lang.String name)
Specified by:
setName in interface WritableManyValuedAttribute

toXML

public org.jdom.Element toXML()

readXML

public void readXML(org.jdom.Element elem,
                    java.util.Hashtable typesIdMapping)
             throws XMLSyntaxError
Throws:
XMLSyntaxError


The ToscanaJ project