|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nci.mageom.domain.impl.MAGEOMObject
gov.nih.nci.mageom.domain.impl.NameValueTypeImpl
public class NameValueTypeImpl
A tuple designed to store data, keyed by a name and type.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected java.lang.String |
name
The name of the key. |
protected NameValueType[] |
propertySets
DOCUMENT ME |
protected int |
propertySetsCount
The count of NameValueType objects. |
protected java.lang.String |
type
The type of the key. |
protected java.lang.String |
value
The value of the name. |
| Constructor Summary | |
|---|---|
NameValueTypeImpl()
Default constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the value of this NameValueType object's name attribute. |
NameValueType[] |
getPropertySets()
Returns the value of this NameValueType object's propertySets attribute. |
int |
getPropertySetsCount()
Returns the count of all NameValueType
associated with this NameValueType object. |
java.lang.String |
getType()
Returns the value of this NameValueType object's type attribute. |
java.lang.String |
getValue()
Returns the value of this NameValueType object's value attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
NameValueType[] |
searchNameValueTypes(NameValueTypeSearchCriteria criteria)
Returns an array of NameValueType objects that
satisfy the given NameValueTypeSearchCriteria. |
void |
setName(java.lang.String p_name)
Sets the name attribute. |
void |
setPropertySets(NameValueType[] p_propertySets)
Sets the propertySets attribute. |
void |
setType(java.lang.String p_type)
Sets the type attribute. |
void |
setValue(java.lang.String p_value)
Sets the value attribute. |
java.lang.String |
toString()
Returns a String representation of this object suitable for console display. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLDoc(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
Returns an XML representation of the object. |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.MAGEOMObject |
|---|
getId, getIsEditable, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static java.util.ArrayList allAssociationMethods
protected static java.util.Hashtable associationMethods
protected java.lang.String name
protected java.lang.String value
protected java.lang.String type
protected int propertySetsCount
protected NameValueType[] propertySets
| Constructor Detail |
|---|
public NameValueTypeImpl()
| Method Detail |
|---|
protected void init()
public NameValueType[] searchNameValueTypes(NameValueTypeSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
NameValueType objects that
satisfy the given NameValueTypeSearchCriteria.
criteria - The NameValueTypeSearchCriteria
which represents a query for NameValueType objects.
NameValueType objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setName(java.lang.String p_name)
NameValueType object.
setName in interface NameValueTypep_name - The new value for name.NameValueType.getName()public java.lang.String getName()
NameValueTypeNameValueType object's name attribute.
Description of name:
The name of the key.
getName in interface NameValueTypeString The value of name.NameValueType.getName()public void setValue(java.lang.String p_value)
NameValueType object.
setValue in interface NameValueTypep_value - The new value for value.NameValueType.getValue()public java.lang.String getValue()
NameValueTypeNameValueType object's value attribute.
Description of value:
The value of the name.
getValue in interface NameValueTypeString The value of value.NameValueType.getValue()public void setType(java.lang.String p_type)
NameValueType object.
setType in interface NameValueTypep_type - The new value for type.NameValueType.getType()public java.lang.String getType()
NameValueTypeNameValueType object's type attribute.
Description of type:
The type of the key.
getType in interface NameValueTypeString The value of type.NameValueType.getType()public void setPropertySets(NameValueType[] p_propertySets)
NameValueType object.
setPropertySets in interface NameValueTypep_propertySets - The new value for propertySets.NameValueType.getPropertySets()public NameValueType[] getPropertySets()
NameValueTypeNameValueType object's propertySets attribute.
getPropertySets in interface NameValueTypegov.nih.nci.mageom.bean.NameValueType[] The value of propertySets.NameValueType.getPropertySets()public int getPropertySetsCount()
NameValueType
associated with this NameValueType object.
NameValueType.getPropertySets()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
public org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
doc - the working documentfillOutValues - a list of attribute names that should have
full XML for their values.
public java.util.Hashtable getXMLMethodDescriptors()
XMLMethodDescriptors descriptors of
the association methods of this object.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||