|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdsi.Obj jsdsi.Tag
Specifies a particular authorization permission.
Field Summary | |
static Tag |
ALL_TAG
A Tag that conveys all permissions. |
static Tag |
NULL_TAG
A Tag that conveys no permissions. |
Fields inherited from class jsdsi.Obj |
_obj |
Constructor Summary | |
Tag()
|
Method Summary | |
boolean |
implies(Tag that)
Checks if this Tag implies the given tag. |
abstract Tag |
intersect(Tag that)
Intersects this Tag with another one and returns the
result. |
SexpList |
toSexp()
Creates an SexpList -representation from this SDSI-object. |
protected abstract Sexp |
toTagSexp()
|
Methods inherited from class jsdsi.Obj |
equals, hashCode, parseObj, parseObj, readResolve, toByteArray, toString, toString, toTransport |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static Tag ALL_TAG
Tag
that conveys all permissions.
public static Tag NULL_TAG
Constructor Detail |
public Tag()
Method Detail |
public abstract Tag intersect(Tag that)
Tag
with another one and returns the
result.
that
- tag to intersect this with.
Tag
and that
.public final boolean implies(Tag that)
Tag
implies the given tag.
Implemented as return this.intersect(that).equals(that)
.
that
- tag to check for if it is implied by this one.
true
if this tag implies that
,
false
otherwise.protected abstract Sexp toTagSexp()
public final SexpList toSexp()
Obj
SexpList
-representation from this SDSI-object.
toSexp
in class Obj
SexpList
that represents this SDSI-object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |