|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.Common.NameValueType
public class NameValueType
A tuple designed to store data, keyed by a name and type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets |
---|
HasPropertySets.PropertySets_list |
Field Summary | |
---|---|
protected java.util.List |
propertySets
Allows nested specification of name/value pairs |
Constructor Summary | |
---|---|
NameValueType()
Default constructor. |
|
NameValueType(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
void |
addToPropertySets(int position,
NameValueType nameValueType)
Method to add NameValueType at position to PropertySets_list |
void |
addToPropertySets(NameValueType nameValueType)
Method to add NameValueType to PropertySets_list |
boolean |
emptyMAGEobject()
|
NameValueType |
getFromPropertySets(int position)
Method to get NameValueType from PropertySets_list |
long |
getId()
|
java.lang.String |
getModelClassName()
|
java.lang.String |
getName()
Get method for name |
HasPropertySets.PropertySets_list |
getPropertySets()
Get method for propertySets |
java.lang.String |
getType()
Get method for type |
java.lang.String |
getValue()
Get method for value |
void |
removeElementAtFromPropertySets(int position)
Method to remove by position from PropertySets_list |
void |
removeFromPropertySets(NameValueType nameValueType)
Method to remove first NameValueType from PropertySets_list |
void |
setId(long l)
|
void |
setName(java.lang.String name)
Set method for name |
void |
setPropertySets(HasPropertySets.PropertySets_list propertySets)
Set method for propertySets |
void |
setType(java.lang.String type)
Set method for type |
void |
setValue(java.lang.String value)
Set method for value |
void |
writeAssociations(java.io.Writer out)
writeAssociations This method is responsible for assembling the association data into XML. |
void |
writeAttributes(java.io.Writer out)
writeAttributes This method is responsible for assembling the attribute data into XML. |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML This method is responsible for assembling the attribute and association data into XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List propertySets
Constructor Detail |
---|
public NameValueType()
public NameValueType(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
java.io.IOException
public boolean emptyMAGEobject()
public void writeAttributes(java.io.Writer out) throws java.io.IOException
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
java.io.IOException
public void setName(java.lang.String name)
value
- to setpublic java.lang.String getName()
public void setValue(java.lang.String value)
value
- to setpublic java.lang.String getValue()
public void setType(java.lang.String type)
value
- to setpublic java.lang.String getType()
public java.lang.String getModelClassName()
public void setPropertySets(HasPropertySets.PropertySets_list propertySets)
setPropertySets
in interface HasPropertySets
value
- to setpublic HasPropertySets.PropertySets_list getPropertySets()
getPropertySets
in interface HasPropertySets
public void addToPropertySets(NameValueType nameValueType)
addToPropertySets
in interface HasPropertySets
public void addToPropertySets(int position, NameValueType nameValueType)
addToPropertySets
in interface HasPropertySets
public NameValueType getFromPropertySets(int position)
getFromPropertySets
in interface HasPropertySets
public void removeElementAtFromPropertySets(int position)
removeElementAtFromPropertySets
in interface HasPropertySets
public void removeFromPropertySets(NameValueType nameValueType)
removeFromPropertySets
in interface HasPropertySets
public long getId()
public void setId(long l)
l
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |