Class AxisHeader
- java.lang.Object
-
- org.silverpeas.core.i18n.AbstractI18NBean<AxisHeaderI18N>
-
- org.silverpeas.core.pdc.pdc.model.AxisHeader
-
- All Implemented Interfaces:
Serializable
,I18NBean<AxisHeaderI18N>
,Translatable
,Nameable
public class AxisHeader extends AbstractI18NBean<AxisHeaderI18N> 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 AxisHeader()
AxisHeader(String id, String name, String type, int order, int rootId)
AxisHeader(String id, String name, String type, int order, int rootId, String description)
AxisHeader(AxisHeaderPersistence persistence)
AxisHeader(AxisPK pk, String name, String type, int order, String creationDate, String creatorId, int rootId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.AxisPK
getPK()
int
getRootId()
Returns the id of the axe root.protected Class<AxisHeaderI18N>
getTranslationType()
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
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.i18n.AbstractI18NBean
addTranslation, getClonedTranslations, getDescription, getDescription, getLanguage, getLanguages, getLanguageToDisplay, getName, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setName, setRemoveTranslation, setTranslationId, setTranslations, setTranslations
-
-
-
-
Constructor Detail
-
AxisHeader
public AxisHeader()
-
AxisHeader
public AxisHeader(AxisPK pk, String name, String type, int order, String creationDate, String creatorId, int rootId)
-
AxisHeader
public AxisHeader(String id, String name, String type, int order, int rootId, String description)
-
AxisHeader
public AxisHeader(AxisHeaderPersistence persistence)
-
-
Method Detail
-
getTranslationType
protected Class<AxisHeaderI18N> getTranslationType()
- Specified by:
getTranslationType
in classAbstractI18NBean<AxisHeaderI18N>
-
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.
-
getPK
public AxisPK getPK()
-
toString
public String toString()
Converts the contents of the key into a readable String.
-
-