gov.nih.nci.lexbig.ext
Class PropertyType

java.lang.Object
  extended by gov.nih.nci.lexbig.ext.PropertyType
All Implemented Interfaces:
java.io.Serializable

public class PropertyType
extends java.lang.Object
implements java.io.Serializable

PropertyType

Since:
DLBExt 1.0
Version:
1.0
Author:
Northrop Grumman Information Technology
See Also:
Serialized Form

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

PropertyType

public PropertyType()
constructor

Since:
DLBExt 1.0

PropertyType

public PropertyType(java.lang.String name,
                    int id,
                    java.lang.String code)
Constructs a PropertyType with the given name, id, and code values.

Parameters:
name - name of the PropertyType.
id - id of the PropertyType.
code - code of the PropertyType.
Since:
DLBExt 1.0
Method Detail

setId

public void setId(int id)
Assigns a value to id

Parameters:
id - identifier
Since:
DLBExt 1.0

setCode

public void setCode(java.lang.String code)
Assigns a value to code

Parameters:
code - code
Since:
DLBExt 1.0

setName

public void setName(java.lang.String name)
Assigns a value to name

Parameters:
name - name
Since:
DLBExt 1.0

getId

public int getId()
Gets id

Returns:
id
Since:
DLBExt 1.0

getCode

public java.lang.String getCode()
Gets code

Returns:
code
Since:
DLBExt 1.0

getName

public java.lang.String getName()
Gets name

Returns:
name
Since:
DLBExt 1.0

toXML

public java.lang.String toXML()
Gets a XML representation of a PropertyType object in String

Returns:
a XML representation of a PropertyType object in String
Since:
DLBExt 1.0

toString

public java.lang.String toString()
Gets a String representation of a PropertyType object.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of a PropertyType object.
Since:
DLBExt 1.0

toDOM

public org.w3c.dom.Document toDOM()
Gets a XML Document representation of a PropertyType object.

Returns:
a XML Document representation of a PropertyType object.
Since:
DLBExt 1.0


Copyright © 2007 National Cancer Institute (NCI). All Rights Reserved.