Klasse SecurityEntityImpl
java.lang.Object
org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
- Alle implementierten Schnittstellen:
Serializable
,SecurityEntity
- Bekannte direkte Unterklassen:
AbstractTurbineSecurityEntityImpl
,BasicGroupImpl
,BasicUserImpl
,DynamicPermissionImpl
,DynamicRoleImpl
,TurbinePermissionImpl
Base class for all objects implementing SecurityEnitity. This class
automatically lowercases the name. So the permission "EDIT" will equal "eDit"
and "edit";
- Version:
- $Id$
- Autor:
- Eric Pugh
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Check if this object is equal to anothergetId()
Get the Id of the SecurityEntity.getName()
Get the Name of the SecurityEntity.int
hashCode()
Calculate a hash code for this objectvoid
Sets the Id of the SecurityEntity.void
Pass in the name for this entity.toString()
-
Konstruktordetails
-
SecurityEntityImpl
public SecurityEntityImpl()
-
-
Methodendetails
-
getId
Beschreibung aus Schnittstelle kopiert:SecurityEntity
Get the Id of the SecurityEntity.- Angegeben von:
getId
in SchnittstelleSecurityEntity
- Gibt zurück:
- object id
-
setId
Beschreibung aus Schnittstelle kopiert:SecurityEntity
Sets the Id of the SecurityEntity.- Angegeben von:
setId
in SchnittstelleSecurityEntity
- Parameter:
id
- the object id
-
getName
Beschreibung aus Schnittstelle kopiert:SecurityEntity
Get the Name of the SecurityEntity.- Angegeben von:
getName
in SchnittstelleSecurityEntity
- Gibt zurück:
- object name
-
setName
Pass in the name for this entity. Also lowercases it.- Angegeben von:
setName
in SchnittstelleSecurityEntity
- Parameter:
name
- name of entity- Löst aus:
IllegalArgumentException
- must provide a name
-
toString
-
equals
Check if this object is equal to another -
hashCode
public int hashCode()Calculate a hash code for this object
-