gov.nih.nci.dtsrpc.client
Class PropertyType

java.lang.Object
  extended bygov.nih.nci.dtsrpc.client.PropertyType
All Implemented Interfaces:
java.io.Serializable

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

PropertyType

Since:
DTSRPC 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


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:
DTSRPC 2.0
Method Detail

setId

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

Parameters:
id - identifier
Since:
DTSRPC 2.0

setCode

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

Parameters:
code - code
Since:
DTSRPC 2.0

setName

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

Parameters:
name - name
Since:
DTSRPC 2.0

getId

public int getId()
Gets id

Returns:
id

getCode

public java.lang.String getCode()
Gets code

Returns:
code

getName

public java.lang.String getName()
Gets name

Returns:
name

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

toString

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

Returns:
a String representation of a PropertyType object.

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.