|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjsdsi.Obj
jsdsi.Validity
A validity period and a set of online tests.
| Field Summary |
| Fields inherited from class jsdsi.Obj |
_obj |
| Constructor Summary | |
Validity(java.util.Date b,
java.util.Date a)
Creates a new Validity from two given date bounds. |
|
Validity(java.util.Date b,
java.util.Date a,
OnlineTest[] t)
Creates a new Validity from two given date bounds
and an array of online tests. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.util.Date |
getNotAfter()
|
java.util.Date |
getNotBefore()
|
OnlineTest[] |
getOnlineTests()
|
int |
hashCode()
|
static boolean |
implies(Validity v1,
Validity v2)
|
Validity |
intersect(Validity v)
Intersects this Validity with another and returns the
resulting Validity. |
SexpList |
toSexp()
Creates an SexpList -representation from this SDSI-object. |
boolean |
valid()
Checks if this Validity is valid now. |
| Methods inherited from class jsdsi.Obj |
parseObj, parseObj, readResolve, toByteArray, toString, toString, toTransport |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Validity(java.util.Date b,
java.util.Date a,
OnlineTest[] t)
Validity from two given date bounds
and an array of online tests.
b - not-before-bound.a - not-after-bound.t - array of onlie tests (may be null).
public Validity(java.util.Date b,
java.util.Date a)
Validity from two given date bounds.
b - not-before-bound.a - not-after-bound.| Method Detail |
public boolean valid()
Validity is valid now.
true if this Validity is valid at
this juncture, false otherwise.public java.util.Date getNotBefore()
public java.util.Date getNotAfter()
public OnlineTest[] getOnlineTests()
public Validity intersect(Validity v)
Validity with another and returns the
resulting Validity.
v - Validity to intersect this
Validity with.
v.public boolean equals(java.lang.Object o)
equals in class ObjObject.equals(Object)
public static boolean implies(Validity v1,
Validity v2)
public int hashCode()
hashCode in class ObjObject.hashCode()public SexpList toSexp()
ObjSexpList -representation from this SDSI-object.
toSexp in class ObjSexpList that represents this SDSI-object.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||