com.silverpeas.thesaurus.model
Class Synonym

java.lang.Object
  extended by com.stratelia.webactiv.persistence.SilverpeasBean
      extended by com.silverpeas.thesaurus.model.Synonym
All Implemented Interfaces:
SilverpeasBeanIntf, Serializable, Comparable

public class Synonym
extends SilverpeasBean
implements Comparable

This class contains a full information about a Synonym a Synonym is linked to a Vocabulary and a Value (idTree - idTerm)

See Also:
Serialized Form

Constructor Summary
Synonym()
           
 
Method Summary
 int _getConnectionType()
           
 String _getTableName()
           
 int compareTo(Object voca)
           
 long getIdTerm()
           
 long getIdTree()
           
 long getIdVoca()
           
 String getName()
           
 void setIdTerm(long idTerm)
           
 void setIdTree(long idTree)
           
 void setIdVoca(long idVoca)
           
 void setName(String name)
           
 
Methods inherited from class com.stratelia.webactiv.persistence.SilverpeasBean
_getDatasourceName, _getJdbcData, getPK, getSureString, setPK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Synonym

public Synonym()
Method Detail

getIdVoca

public long getIdVoca()

setIdVoca

public void setIdVoca(long idVoca)

getIdTree

public long getIdTree()

setIdTree

public void setIdTree(long idTree)

getIdTerm

public long getIdTerm()

setIdTerm

public void setIdTerm(long idTerm)

getName

public String getName()

setName

public void setName(String name)

compareTo

public int compareTo(Object voca)
Specified by:
compareTo in interface Comparable

_getTableName

public String _getTableName()
Specified by:
_getTableName in interface SilverpeasBeanIntf
Overrides:
_getTableName in class SilverpeasBean

_getConnectionType

public int _getConnectionType()
Specified by:
_getConnectionType in interface SilverpeasBeanIntf
Overrides:
_getConnectionType in class SilverpeasBean


Copyright © 2016 Silverpeas. All Rights Reserved.