com.stratelia.silverpeas.pdc.model
Class Value

java.lang.Object
  extended by com.silverpeas.util.i18n.AbstractI18NBean<TreeNodeI18N>
      extended by com.stratelia.silverpeas.treeManager.model.TreeNode
          extended by com.stratelia.silverpeas.pdc.model.Value
All Implemented Interfaces:
I18NBean<TreeNodeI18N>, Serializable

public class Value
extends TreeNode
implements Serializable

See Also:
Serialized Form

Constructor Summary
Value()
           
Value(String id, String treeId, String name, String creationDate, String creatorId, String path, int level, int order, String fatherId)
           
Value(String id, String treeId, String name, String description, String creationDate, String creatorId, String path, int level, int order, String fatherId)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAxisId()
           
 String getFullPath()
           
 String getMotherId()
          Returns the id of the mother value
 int getNbObjects()
           
 List<Value> getPathValues()
           
 String getStringFullPath(String delimitor)
           
 ValuePK getValuePK()
           
 int hashCode()
           
 void setAxisId(int axisId)
           
 void setNbObjects(int nbObjects)
           
 void setPathValues(List<Value> pathValues)
           
 void setValuePK(ValuePK pk)
           
 String toString()
          Method declaration
 
Methods inherited from class com.stratelia.silverpeas.treeManager.model.TreeNode
_getConnectionType, getCreationDate, getCreatorId, getFatherId, getLevelNumber, getOrderNumber, getPath, getPK, getTreeId, hasFather, setCreationDate, setCreatorId, setFatherId, setLevelNumber, setOrderNumber, setPath, setPK, setTranslationsFrom, setTreeId
 
Methods inherited from class com.silverpeas.util.i18n.AbstractI18NBean
addTranslation, getClonedTranslations, getDescription, getDescription, getLanguage, getLanguages, getLanguageToDisplay, getName, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setName, setRemoveTranslation, setTranslationId, setTranslations, setTranslations, setTranslations
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Value

public Value()

Value

public Value(String id,
             String treeId,
             String name,
             String description,
             String creationDate,
             String creatorId,
             String path,
             int level,
             int order,
             String fatherId)

Value

public Value(String id,
             String treeId,
             String name,
             String creationDate,
             String creatorId,
             String path,
             int level,
             int order,
             String fatherId)
Method Detail

setValuePK

public final void setValuePK(ValuePK pk)

getValuePK

public ValuePK getValuePK()

getMotherId

public String getMotherId()
Returns the id of the mother value

Returns:
an id

getFullPath

public String getFullPath()

getNbObjects

public int getNbObjects()

setNbObjects

public void setNbObjects(int nbObjects)

setPathValues

public void setPathValues(List<Value> pathValues)

getPathValues

public List<Value> getPathValues()

setAxisId

public void setAxisId(int axisId)

getAxisId

public String getAxisId()

getStringFullPath

public String getStringFullPath(String delimitor)

toString

public String toString()
Description copied from class: TreeNode
Method declaration

Overrides:
toString in class TreeNode

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2016 Silverpeas. All Rights Reserved.