de.janicke.hj.tools.servlet
Class Vocable

java.lang.Object
  |
  +--de.janicke.hj.tools.servlet.Vocable

public class Vocable
extends java.lang.Object

Class that holds the information of a vocable. Information can be retrieved out of a Database using the VocAdmin class in this package.


Constructor Summary
Vocable()
           
 
Method Summary
 java.lang.String getDate()
          Returns the creation/update date.
 int getLanguageId1()
          Returns the languageId1.
 int getLanguageId2()
          Returns the languageId2.
 int getState()
          Returns the state.
 int getUnitId()
          Returns the VocId.
 java.lang.String getVocable1()
          Returns the vocable1.
 java.lang.String getVocable2()
          Returns the vocable2.
 int getVocId()
          Returns the VocId.
 void setDate(java.lang.String date)
          Sets the creation/update date
 void setLanguageId1(int languageId1)
          Sets the languageId1
 void setLanguageId2(int languageId2)
          Sets the languageId2
 void setState(int state)
          Sets the state.
 void setVocable1(java.lang.String vocable1)
          Sets the vocable1
 void setVocable2(java.lang.String vocable2)
          Sets the vocable2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vocable

public Vocable()
Method Detail

getVocId

public int getVocId()
Returns the VocId.
Returns:
The VocId.

getUnitId

public int getUnitId()
Returns the VocId.
Returns:
The VocId.

setVocable1

public void setVocable1(java.lang.String vocable1)
Sets the vocable1
Parameters:
vocable1 - The new vocable1

getVocable1

public java.lang.String getVocable1()
Returns the vocable1.
Returns:
The vocable1.

setVocable2

public void setVocable2(java.lang.String vocable2)
Sets the vocable2
Parameters:
vocable2 - The new vocable2

getVocable2

public java.lang.String getVocable2()
Returns the vocable2.
Returns:
The vocable2.

setLanguageId1

public void setLanguageId1(int languageId1)
Sets the languageId1
Parameters:
languageId1 - The new languageId1

getLanguageId1

public int getLanguageId1()
Returns the languageId1.
Returns:
The languageId1.

setLanguageId2

public void setLanguageId2(int languageId2)
Sets the languageId2
Parameters:
languageId2 - The new languageId2

getLanguageId2

public int getLanguageId2()
Returns the languageId2.
Returns:
The languageId2.

setDate

public void setDate(java.lang.String date)
Sets the creation/update date
Parameters:
date - The new date.

getDate

public java.lang.String getDate()
Returns the creation/update date.
Returns:
The creation/update date.

setState

public void setState(int state)
Sets the state.
Parameters:
state - The new state.

getState

public int getState()
Returns the state.
Returns:
The state.