|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Part
Describes a part of a policy.
All complex objects in a policy implement the part interface.
Method Summary | |
---|---|
boolean |
equals(Object obj)
Check if this policy part is equivalent to the one specified. |
int |
hashCode()
Returns the hash code of this policy part. |
String |
toString()
Returns a string representation of this policy part. |
Method Detail |
---|
boolean equals(Object obj)
A part is considered equivalent to this part if it's state is equivalent to the state of this part and all parts contained are equivalent to the parts contained in this policy part.
equals
in class Object
obj
- the policy part to compare this policy part to.hashCode()
int hashCode()
In addition to the general contract for Object.hashCode()
the hash code
of a policy part should not make use of the default object hash code. Instead the
hash code of a policy part should only be calculated according to the contents of
the policy part in such a way that different instances of a policy part with the
same content return the same hash code.
hashCode
in class Object
equals(Object)
String toString()
The string representation is purely informational and provides summary of the part
in the following form: PartName [serial=value, ...]
. The string representation
starts with the simple implementation class name
and is
followed by its details in square brackets.
toString
in class Object
Object.toString()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG