com.stratelia.silverpeas.pdc.model
Class AxisHeaderPersistence

java.lang.Object
  extended by com.stratelia.webactiv.persistence.SilverpeasBean
      extended by com.stratelia.silverpeas.pdc.model.AxisHeaderPersistence
All Implemented Interfaces:
SilverpeasBeanIntf, Serializable

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
AxisHeaderPersistence()
           
AxisHeaderPersistence(AxisHeader axis)
           
 
Method Summary
 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 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 setDescription(String description)
          set a description for an axe
 void setLang(String lang)
           
 void setName(String name)
          set a name for an axe
 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.stratelia.webactiv.persistence.SilverpeasBean
_getDatasourceName, _getJdbcData, getPK, getSureString, setPK
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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.

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

_getConnectionType

public int _getConnectionType()
Specified by:
_getConnectionType in interface SilverpeasBeanIntf
Overrides:
_getConnectionType in class SilverpeasBean

_getTableName

public String _getTableName()
Specified by:
_getTableName in interface SilverpeasBeanIntf
Overrides:
_getTableName in class SilverpeasBean

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.