Class UsedAxis
- java.lang.Object
-
- org.silverpeas.core.persistence.jdbc.bean.SilverpeasBean
-
- org.silverpeas.core.pdc.pdc.model.UsedAxis
-
- All Implemented Interfaces:
Serializable
,SilverpeasBeanIntf
public class UsedAxis extends SilverpeasBean implements Serializable
This class contains headers of axis. And uses the persistence class for the DAO. The user can access to the axis main information.- Author:
- Nicolas EYSSERIC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UsedAxis()
UsedAxis(int usedAxisId, String instanceId, int axisId, int baseValue, int mandatory, int variant)
UsedAxis(String usedAxisId, String instanceId, int axisId, int baseValue, int mandatory, int variant)
UsedAxis(UsedAxisPK pk, String instanceId, int axisId, int baseValue, int mandatory, int variant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
_getAxisName()
String
_getAxisName(String language)
int
_getAxisRootId()
String
_getAxisType()
List
_getAxisValues()
String
_getBaseValueName()
String
_getBaseValuePath()
int
_getConnectionType()
determine the connection type to the databaseString
_getInvariantValue()
String
_getTableName()
define the table namevoid
_setAxisHeader(AxisHeader header)
void
_setAxisName(String axisName)
void
_setAxisRootId(int rootId)
void
_setAxisType(String axisType)
void
_setAxisValues(List axisValues)
void
_setBaseValueName(String baseValueName)
void
_setInvariantValue(String invariantValue)
UsedAxis
copy()
Copies this used axis except its unique identifier.int
getAxisId()
int
getBaseValue()
String
getInstanceId()
int
getMandatory()
int
getVariant()
void
setAxisId(int axisId)
void
setBaseValue(int baseValue)
void
setInstanceId(String instanceId)
void
setMandatory(int mandatory)
void
setVariant(int variant)
String
toString()
Converts the contents of the key into a readable String.-
Methods inherited from class org.silverpeas.core.persistence.jdbc.bean.SilverpeasBean
_getDatasourceName, _getJdbcData, getPK, getSureString, setPK
-
-
-
-
Constructor Detail
-
UsedAxis
public UsedAxis()
-
UsedAxis
public UsedAxis(UsedAxisPK pk, String instanceId, int axisId, int baseValue, int mandatory, int variant)
-
UsedAxis
public UsedAxis(int usedAxisId, String instanceId, int axisId, int baseValue, int mandatory, int variant)
-
-
Method Detail
-
_setAxisHeader
public void _setAxisHeader(AxisHeader header)
-
getInstanceId
public String getInstanceId()
-
setInstanceId
public void setInstanceId(String instanceId)
-
getAxisId
public int getAxisId()
-
setAxisId
public void setAxisId(int axisId)
-
getBaseValue
public int getBaseValue()
-
setBaseValue
public void setBaseValue(int baseValue)
-
getMandatory
public int getMandatory()
-
setMandatory
public void setMandatory(int mandatory)
-
getVariant
public int getVariant()
-
setVariant
public void setVariant(int variant)
-
_setAxisName
public void _setAxisName(String axisName)
-
_getAxisName
public String _getAxisName()
-
_setAxisType
public void _setAxisType(String axisType)
-
_getAxisType
public String _getAxisType()
-
_setBaseValueName
public void _setBaseValueName(String baseValueName)
-
_getBaseValueName
public String _getBaseValueName()
-
_setAxisValues
public void _setAxisValues(List axisValues)
-
_getAxisValues
public List _getAxisValues()
-
_setAxisRootId
public void _setAxisRootId(int rootId)
-
_getAxisRootId
public int _getAxisRootId()
-
_setInvariantValue
public void _setInvariantValue(String invariantValue)
-
_getInvariantValue
public String _getInvariantValue()
-
_getBaseValuePath
public String _getBaseValuePath()
-
toString
public String toString()
Converts the contents of the key into a readable String.
-
_getConnectionType
public int _getConnectionType()
determine the connection type to the database- Specified by:
_getConnectionType
in interfaceSilverpeasBeanIntf
- Overrides:
_getConnectionType
in classSilverpeasBean
-
_getTableName
public String _getTableName()
define the table name- Specified by:
_getTableName
in interfaceSilverpeasBeanIntf
- Overrides:
_getTableName
in classSilverpeasBean
-
copy
public UsedAxis copy()
Copies this used axis except its unique identifier.- Returns:
- a value copy of this axis.
-
-