deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.security.drm.model
Class RightType

java.lang.Object
  extended by org.deegree.security.drm.model.RightType

public class RightType
extends Object

A RightType defines a certain type of right, e.g. an 'access' right. It encapsulates a unique id and an also unique name.

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Field Summary
static RightType ACCESS
           
static RightType DELETE
           
static RightType DELETE_RESPONSE
           
static RightType DESCRIBECOVERAGE
           
static RightType DESCRIBECOVERAGE_RESPONSE
           
static RightType DESCRIBEFEATURETYPE
           
static RightType DESCRIBEFEATURETYPE_RESPONSE
           
static RightType DESCRIBERECORDTYPE
           
static RightType DESCRIBERECORDTYPE_RESPONSE
           
static RightType EXECUTE
           
static RightType GETCOVERAGE
           
static RightType GETCOVERAGE_RESPONSE
           
static RightType GETFEATURE
           
static RightType GETFEATURE_RESPONSE
           
static RightType GETFEATUREINFO
           
static RightType GETFEATUREINFO_RESPONSE
           
static RightType GETLEGENDGRAPHIC
           
static RightType GETLEGENDGRAPHIC_RESPONSE
           
static RightType GETMAP
           
static RightType GETMAP_RESPONSE
           
static RightType GETRECORDBYID
           
static RightType GETRECORDBYID_RESPONSE
           
static RightType GETRECORDS
           
static RightType GETRECORDS_RESPONSE
           
static RightType GETREPOSITORYITEM
           
static RightType GETREPOSITORYITEM_RESPONSE
           
static RightType GRANT
           
static RightType INSERT
           
static RightType INSERT_RESPONSE
           
static RightType QUERY
           
static RightType UPDATE
           
static RightType UPDATE_RESPONSE
           
static RightType VIEW
           
 
Constructor Summary
RightType(int id, String name)
          Creates a new RightType-instance.
 
Method Summary
 boolean equals(Object that)
          Indicates whether some other RightType instance is "equal to" this one.
 int getID()
          Returns the unique identifier of this RightType.
 String getName()
          Returns the name of this RightType.
 int hashCode()
          Returns a hash code value for the object.
 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

ACCESS

public static final RightType ACCESS

QUERY

public static final RightType QUERY

DELETE

public static final RightType DELETE

DELETE_RESPONSE

public static final RightType DELETE_RESPONSE

INSERT

public static final RightType INSERT

INSERT_RESPONSE

public static final RightType INSERT_RESPONSE

EXECUTE

public static final RightType EXECUTE

UPDATE

public static final RightType UPDATE

UPDATE_RESPONSE

public static final RightType UPDATE_RESPONSE

VIEW

public static final RightType VIEW

GRANT

public static final RightType GRANT

GETMAP

public static final RightType GETMAP

GETMAP_RESPONSE

public static final RightType GETMAP_RESPONSE

GETFEATUREINFO

public static final RightType GETFEATUREINFO

GETFEATUREINFO_RESPONSE

public static final RightType GETFEATUREINFO_RESPONSE

GETLEGENDGRAPHIC

public static final RightType GETLEGENDGRAPHIC

GETLEGENDGRAPHIC_RESPONSE

public static final RightType GETLEGENDGRAPHIC_RESPONSE

GETFEATURE

public static final RightType GETFEATURE

GETFEATURE_RESPONSE

public static final RightType GETFEATURE_RESPONSE

DESCRIBEFEATURETYPE

public static final RightType DESCRIBEFEATURETYPE

DESCRIBEFEATURETYPE_RESPONSE

public static final RightType DESCRIBEFEATURETYPE_RESPONSE

GETCOVERAGE

public static final RightType GETCOVERAGE

GETCOVERAGE_RESPONSE

public static final RightType GETCOVERAGE_RESPONSE

DESCRIBECOVERAGE

public static final RightType DESCRIBECOVERAGE

DESCRIBECOVERAGE_RESPONSE

public static final RightType DESCRIBECOVERAGE_RESPONSE

GETRECORDS

public static final RightType GETRECORDS

GETRECORDS_RESPONSE

public static final RightType GETRECORDS_RESPONSE

GETRECORDBYID

public static final RightType GETRECORDBYID

GETRECORDBYID_RESPONSE

public static final RightType GETRECORDBYID_RESPONSE

DESCRIBERECORDTYPE

public static final RightType DESCRIBERECORDTYPE

DESCRIBERECORDTYPE_RESPONSE

public static final RightType DESCRIBERECORDTYPE_RESPONSE

GETREPOSITORYITEM

public static final RightType GETREPOSITORYITEM

GETREPOSITORYITEM_RESPONSE

public static final RightType GETREPOSITORYITEM_RESPONSE
Constructor Detail

RightType

public RightType(int id,
                 String name)
Creates a new RightType-instance.

Parameters:
id -
name -
Method Detail

getID

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


getName

public String getName()
Returns the name of this RightType.


equals

public boolean equals(Object that)
Indicates whether some other RightType instance is "equal to" this one.

Overrides:
equals in class 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 Object

toString

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

Overrides:
toString in class Object

deegree 2.3 (2010/04/09 10:10 build-4-official)

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