Class AxisHeaderPersistence
- java.lang.Object
-
- org.silverpeas.core.persistence.jdbc.bean.SilverpeasBean
-
- org.silverpeas.core.pdc.pdc.model.AxisHeaderPersistence
-
- All Implemented Interfaces:
Serializable
,SilverpeasBeanIntf
public class AxisHeaderPersistence 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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AxisHeaderPersistence()
AxisHeaderPersistence(AxisHeader axis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
_getConnectionType()
String
_getTableName()
boolean
equals(Object obj)
int
getAxisOrder()
Returns the order of the axe.String
getAxisType()
Returns the type of the axe.String
getCreationDate()
Returns the date of creation of the axe.String
getCreatorId()
Returns the id of the axe owner.String
getDescription()
Returns the description of the axe.String
getLang()
String
getName()
Returns the name of the axe.int
getRootId()
Returns the id of the axe root.int
hashCode()
void
setAxisOrder(int order)
set an order for an axevoid
setAxisType(String type)
set a type for an axevoid
setCreationDate(String creationDate)
set a date of creation for an axevoid
setCreatorId(String creatorId)
set the id of the axe owner.void
setDescription(String description)
set a description for an axevoid
setLang(String lang)
void
setName(String name)
set a name for an axevoid
setRootId(int rootId)
set a root id for an axeString
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
-
AxisHeaderPersistence
public AxisHeaderPersistence()
-
AxisHeaderPersistence
public AxisHeaderPersistence(AxisHeader axis)
-
-
Method Detail
-
getName
public String getName()
Returns the name of the axe.- Returns:
- the name
-
setName
public void setName(String name)
set a name for an axe- Parameters:
name
- - the name of the axe
-
getAxisType
public String getAxisType()
Returns the type of the axe.- Returns:
- the type
-
setAxisType
public void setAxisType(String type)
set a type for an axe- Parameters:
type
- - the type of the axe
-
getAxisOrder
public int getAxisOrder()
Returns the order of the axe.- Returns:
- the order
-
setAxisOrder
public void setAxisOrder(int order)
set an order for an axe- Parameters:
order
- - the order of the axe
-
getRootId
public int getRootId()
Returns the id of the axe root.- Returns:
- the root id
-
setRootId
public void setRootId(int rootId)
set a root id for an axe- Parameters:
rootId
- - the id of the axe root
-
getCreationDate
public String getCreationDate()
Returns the date of creation of the axe.- Returns:
- the creationDate
-
setCreationDate
public void setCreationDate(String creationDate)
set a date of creation for an axe- Parameters:
creationDate
- - the date of creation of the axe
-
getCreatorId
public String getCreatorId()
Returns the id of the axe owner.- Returns:
- the creatorId
-
setCreatorId
public void setCreatorId(String creatorId)
set the id of the axe owner.- Parameters:
creatorId
- - the id of the axe owner.
-
getDescription
public String getDescription()
Returns the description of the axe.- Returns:
- the description
-
setDescription
public void setDescription(String description)
set a description for an axe- Parameters:
description
- - the description of the axe
-
getLang
public String getLang()
-
setLang
public void setLang(String lang)
-
toString
public String toString()
Converts the contents of the key into a readable String.
-
_getConnectionType
public int _getConnectionType()
- Specified by:
_getConnectionType
in interfaceSilverpeasBeanIntf
- Overrides:
_getConnectionType
in classSilverpeasBean
-
_getTableName
public String _getTableName()
- Specified by:
_getTableName
in interfaceSilverpeasBeanIntf
- Overrides:
_getTableName
in classSilverpeasBean
-
-