org.olat.group.area
Class BGAreaImpl

java.lang.Object
  extended by org.olat.core.commons.persistence.PersistentObject
      extended by org.olat.group.area.BGAreaImpl
All Implemented Interfaces:
java.io.Serializable, ShortName, CreateInfo, Persistable, BGArea

public class BGAreaImpl
extends PersistentObject
implements BGArea

Description:
Initial Date: Aug 23, 2004

Author:
gnaegi
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.olat.group.area.BGArea
VALID_AREANAME_REGEXP
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares the keys.
 java.lang.String getDescription()
           
 BGContext getGroupContext()
           
 java.lang.String getName()
           
 java.lang.String getShortName()
          Get the display value that represents this object.
 int hashCode()
           
 void setDescription(java.lang.String description)
           
 void setGroupContext(BGContext groupContext)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class org.olat.core.commons.persistence.PersistentObject
equalsByPersistableKey, getCreationDate, getKey
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.olat.core.id.Persistable
equalsByPersistableKey, getKey
 
Methods inherited from interface org.olat.core.id.CreateInfo
getCreationDate
 

Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface BGArea
Returns:
The group area description
See Also:
BGArea.getDescription()

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface BGArea
Parameters:
description - the group area description
See Also:
BGArea.setDescription(java.lang.String)

getGroupContext

public BGContext getGroupContext()
Specified by:
getGroupContext in interface BGArea
Returns:
The group context
See Also:
BGArea.getGroupContext()

setGroupContext

public void setGroupContext(BGContext groupContext)
Specified by:
setGroupContext in interface BGArea
Parameters:
groupContext - The group context
See Also:
BGArea.setGroupContext(org.olat.group.context.BGContext)

getName

public java.lang.String getName()
Specified by:
getName in interface BGArea
Returns:
The group area name
See Also:
BGArea.getName()

setName

public void setName(java.lang.String name)
Specified by:
setName in interface BGArea
Parameters:
name - The group area name
See Also:
BGArea.setName(java.lang.String)

toString

public java.lang.String toString()
Overrides:
toString in class PersistentObject
See Also:
Object.toString()

getShortName

public java.lang.String getShortName()
Description copied from interface: ShortName
Get the display value that represents this object. (non-html, just a plain-vanilla string, should be on one line.) [used by velocity:tablewithfilter.html]

Specified by:
getShortName in interface ShortName
Returns:
the short name
See Also:
ShortName.getShortName()

equals

public boolean equals(java.lang.Object obj)
Compares the keys.

Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object