deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.security.drm.model
Class SecurableObject

java.lang.Object
  extended by org.deegree.security.drm.model.SecurableObject
Direct Known Subclasses:
Group, Role, SecuredObject, Service, User

public abstract class SecurableObject
extends java.lang.Object

Abstract superclass of objects that are securable, i.e. which carry information about which Roles have which Rights concerning these objects.

Version:
$Revision: 18195 $
Author:
Markus Schneider

Field Summary
protected  int id
           
protected  java.lang.String name
           
protected  SecurityRegistry registry
           
protected  java.lang.String title
           
protected  int type
           
 
Constructor Summary
SecurableObject()
           
 
Method Summary
 boolean equals(java.lang.Object that)
          Indicates whether some other object is "equal to" this one.
 int getID()
          Returns the unique identifier of this SecurableObject.
 java.lang.String getName()
          Returns the name of this SecurableObject.
 java.lang.String getTitle()
          Returns the human readable name of this SecurableObject.
 int getType()
          Returns the type of this SecurableObject.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id

type

protected int type

name

protected java.lang.String name

title

protected java.lang.String title

registry

protected SecurityRegistry registry
Constructor Detail

SecurableObject

public SecurableObject()
Method Detail

getID

public int getID()
Returns the unique identifier of this SecurableObject.


getType

public int getType()
Returns the type of this SecurableObject.

NOTE: Unique in conjunction with name field.


getName

public java.lang.String getName()
Returns the name of this SecurableObject.

NOTE: Unique in conjunction with type field.


getTitle

public java.lang.String getTitle()
Returns the human readable name of this SecurableObject.

NOTE: This may not be unique.


equals

public boolean equals(java.lang.Object that)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object
Parameters:
that -

hashCode

public int hashCode()
Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org