|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.lexbig.ext.PropertyType
public class PropertyType
PropertyType
Constructor Summary | |
---|---|
PropertyType()
constructor |
|
PropertyType(java.lang.String name,
int id,
java.lang.String code)
Constructs a PropertyType with the given name, id, and code values. |
Method Summary | |
---|---|
java.lang.String |
getCode()
Gets code |
int |
getId()
Gets id |
java.lang.String |
getName()
Gets name |
void |
setCode(java.lang.String code)
Assigns a value to code |
void |
setId(int id)
Assigns a value to id |
void |
setName(java.lang.String name)
Assigns a value to name |
org.w3c.dom.Document |
toDOM()
Gets a XML Document representation of a PropertyType object. |
java.lang.String |
toString()
Gets a String representation of a PropertyType object. |
java.lang.String |
toXML()
Gets a XML representation of a PropertyType object in String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyType()
public PropertyType(java.lang.String name, int id, java.lang.String code)
name
- name of the PropertyType.id
- id of the PropertyType.code
- code of the PropertyType.Method Detail |
---|
public void setId(int id)
id
- identifierpublic void setCode(java.lang.String code)
code
- codepublic void setName(java.lang.String name)
name
- namepublic int getId()
public java.lang.String getCode()
public java.lang.String getName()
public java.lang.String toXML()
public java.lang.String toString()
toString
in class java.lang.Object
public org.w3c.dom.Document toDOM()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |