public class PolicyAlternative extends Object implements Externalizable, Cloneable
for discussion of normal form.
,
Serialized FormModifier and Type | Field and Description |
---|---|
static PolicyAlternative |
EMPTY_ALTERNATIVE
Deprecated.
|
Constructor and Description |
---|
PolicyAlternative()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PolicyAlternative |
clone()
Deprecated.
clone the PolicyALternative object
|
boolean |
equals(Object o)
Deprecated.
|
Set |
getAssertions()
Deprecated.
|
Set |
getAssertions(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(ObjectInput in)
Deprecated.
implement readExternal() of Externalizable interface
|
String |
toString()
Deprecated.
|
void |
writeExternal(ObjectOutput out)
Deprecated.
implement writeExternal() of Externalizable interface
|
public static final PolicyAlternative EMPTY_ALTERNATIVE
public Set getAssertions()
public boolean isTrue(PolicyAssertion a)
a
- the assertion being checkedpublic Set getAssertions(Class assertionClass)
assertionClass
- the class of assertions that are being checkedpublic boolean isEmpty()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
- IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
out
- IOException
public PolicyAlternative clone()