java.io.Externalizable, java.io.Serializable, java.lang.Cloneablepublic class PolicyAlternative
extends java.lang.Object
implements java.io.Externalizable, java.lang.Cloneable
for discussion of normal form.,
Serialized Form| Modifier and Type | Field | Description |
|---|---|---|
static PolicyAlternative |
EMPTY_ALTERNATIVE |
Deprecated.
|
| Constructor | Description |
|---|---|
PolicyAlternative() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
PolicyAlternative |
clone() |
Deprecated.
clone the PolicyALternative object
|
boolean |
equals(java.lang.Object o) |
Deprecated.
|
java.util.Set |
getAssertions() |
Deprecated.
|
java.util.Set |
getAssertions(java.lang.Class assertionClass) |
Deprecated.
Return the subset of policy assertions present in this policy alternative
that are instances of a given class
|
int |
hashCode() |
Deprecated.
|
boolean |
isEmpty() |
Deprecated.
Return whether this policy alternative is empty; ie., does not assert any assertions
|
boolean |
isTrue(PolicyAssertion a) |
Deprecated.
Is the policy assertion present in this policy alternative?
|
void |
readExternal(java.io.ObjectInput in) |
Deprecated.
implement readExternal() of Externalizable interface
|
java.lang.String |
toString() |
Deprecated.
|
void |
writeExternal(java.io.ObjectOutput out) |
Deprecated.
implement writeExternal() of Externalizable interface
|
public static final PolicyAlternative EMPTY_ALTERNATIVE
public java.util.Set getAssertions()
public boolean isTrue(PolicyAssertion a)
a - the assertion being checkedpublic java.util.Set getAssertions(java.lang.Class assertionClass)
assertionClass - the class of assertions that are being checkedpublic boolean isEmpty()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - java.io.IOExceptionpublic PolicyAlternative clone()
clone in class java.lang.Object