com.stratelia.silverpeas.pdc.model
Class AxisHeader

java.lang.Object
  extended by com.silverpeas.util.i18n.AbstractI18NBean<AxisHeaderI18N>
      extended by com.stratelia.silverpeas.pdc.model.AxisHeader
All Implemented Interfaces:
I18NBean<AxisHeaderI18N>, Serializable

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
AxisHeader()
           
AxisHeader(AxisHeaderPersistence persistence)
           
AxisHeader(AxisPK pk, String name, String type, int order, String creationDate, String creatorId, int rootId)
           
AxisHeader(AxisPK pk, String name, String type, int order, String creationDate, String creatorId, int rootId, String description)
           
AxisHeader(String id, String name, String type, int order, int rootId)
           
AxisHeader(String id, String name, String type, int order, int rootId, String description)
           
 
Method Summary
 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.
 WAPrimaryKey getPK()
           
 int getRootId()
          Returns the id of the axe root.
 int hashCode()
           
 void setAxisOrder(int order)
          set an order for an axe
 void setAxisType(String type)
          set a type for an axe
 void setCreationDate(String creationDate)
          set a date of creation for an axe
 void setCreatorId(String creatorId)
          set the id of the axe owner.
 void setPK(WAPrimaryKey value)
           
 void setRootId(int rootId)
          set a root id for an axe
 String toString()
          Converts the contents of the key into a readable String.
 
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

AxisHeader

public AxisHeader()

AxisHeader

public AxisHeader(AxisPK pk,
                  String name,
                  String type,
                  int order,
                  String creationDate,
                  String creatorId,
                  int rootId)

AxisHeader

public AxisHeader(AxisPK pk,
                  String name,
                  String type,
                  int order,
                  String creationDate,
                  String creatorId,
                  int rootId,
                  String description)

AxisHeader

public AxisHeader(String id,
                  String name,
                  String type,
                  int order,
                  int rootId,
                  String description)

AxisHeader

public AxisHeader(String id,
                  String name,
                  String type,
                  int order,
                  int rootId)

AxisHeader

public AxisHeader(AxisHeaderPersistence persistence)
Method Detail

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 WAPrimaryKey getPK()

setPK

public void setPK(WAPrimaryKey value)

toString

public String toString()
Converts the contents of the key into a readable String.

Overrides:
toString in class Object
Returns:
The string representation of this object

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.