gov.nih.nci.dtsrpc.client
Class IndexType

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

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

IndexType

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

Constructor Summary
IndexType()
          default constructor
IndexType(java.lang.String name, int id, java.lang.String code)
          Constructs a IndexType 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()
          Converts an IndexType object to a XML Document
 java.lang.String toString()
          Gets a String representation of an IndexType object
 java.lang.String toXML()
          Gets a XML representation of an IndexType object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexType

public IndexType()
default constructor


IndexType

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

Parameters:
name - name of the IndexType.
id - id of the IndexType.
code - code of the IndexType.
Since:
DTSRPC 2.0
Method Detail

setId

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

Parameters:
id - id
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 an IndexType object

Returns:
a XML representation of an IndexType object

toString

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

Returns:
a String representation of an IndexType object

toDOM

public org.w3c.dom.Document toDOM()
Converts an IndexType object to a XML Document

Returns:
a XML Document