kristal.client
Class DocumentType

java.lang.Object
  extended bykristal.client.DocumentType

public class DocumentType
extends java.lang.Object

This Class describes a Document Structure of KRISTAL.

See Also:
SectionType

Field Summary
 int document_id
           
 java.lang.String primary_key
           
 java.util.Vector sections
           
 int server_id
           
 int table_id
           
 float weight
           
 
Constructor Summary
DocumentType()
          Constructs a new DocumentType object.
 
Method Summary
 int getDocumentId()
          Returns the document id in this object.
 java.lang.String getPrimaryKey()
          Returns the primary key in this object.
 java.util.Vector getSections()
          Returns the sections in this object.
 java.lang.String getSectionValue(java.lang.String name)
          Returns the section value
 int getTableId()
          Returns the table id in this object.
 float getWeight()
          Returns the weight in this object.
 void setDocumentId(int document_id)
          Sets the document id of this object.
 void setPrimaryKey(java.lang.String primary_key)
          Sets the primary key of this object.
 void setSections(java.util.Vector sections)
          Sets the sections of this object.
 void setTableId(int table_id)
          Sets the table id of this object.
 void setWeight(float weight)
          Sets the weight of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document_id

public int document_id

table_id

public int table_id

server_id

public int server_id

weight

public float weight

primary_key

public java.lang.String primary_key

sections

public java.util.Vector sections
Constructor Detail

DocumentType

public DocumentType()
Constructs a new DocumentType object.

Method Detail

setDocumentId

public void setDocumentId(int document_id)
Sets the document id of this object.

Parameters:
document_id - the document id

setTableId

public void setTableId(int table_id)
Sets the table id of this object.

Parameters:
table_id - the table id

setWeight

public void setWeight(float weight)
Sets the weight of this object.

Parameters:
weight - the weight

setPrimaryKey

public void setPrimaryKey(java.lang.String primary_key)
Sets the primary key of this object.

Parameters:
primary_key - the primary key

setSections

public void setSections(java.util.Vector sections)
Sets the sections of this object.

Parameters:
sections - the sections

getDocumentId

public int getDocumentId()
Returns the document id in this object.

Returns:
the document id

getTableId

public int getTableId()
Returns the table id in this object.

Returns:
the table id

getWeight

public float getWeight()
Returns the weight in this object.

Returns:
the weight

getPrimaryKey

public java.lang.String getPrimaryKey()
Returns the primary key in this object.

Returns:
the primary key

getSections

public java.util.Vector getSections()
Returns the sections in this object.

Returns:
the sections

getSectionValue

public java.lang.String getSectionValue(java.lang.String name)
Returns the section value

Parameters:
name - the section name
Returns:
the section value