public abstract class AbstractCompositeRestriction extends Object implements Restriction
Modifier and Type | Class and Description |
---|---|
static class |
AbstractCompositeRestriction.CompositeContextEntry |
Modifier and Type | Field and Description |
---|---|
protected Restriction[] |
restrictions |
Constructor and Description |
---|
AbstractCompositeRestriction() |
AbstractCompositeRestriction(Restriction[] restriction) |
Modifier and Type | Method and Description |
---|---|
abstract AbstractCompositeRestriction |
clone() |
ContextEntry |
createContextEntry() |
boolean |
equals(Object obj) |
Declaration[] |
getRequiredDeclarations() |
int |
hashCode() |
boolean |
isTemporal()
Returns true if this is a temporal restriction
|
void |
readExternal(ObjectInput in) |
void |
replaceDeclaration(Declaration oldDecl,
Declaration newDecl)
A restriction may be required to replace an old
declaration object by a new updated one
|
void |
writeExternal(ObjectOutput out) |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getEvaluator, isAllowed, isAllowedCachedLeft, isAllowedCachedRight
protected Restriction[] restrictions
public AbstractCompositeRestriction()
public AbstractCompositeRestriction(Restriction[] restriction)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public Declaration[] getRequiredDeclarations()
getRequiredDeclarations
in interface Restriction
public void replaceDeclaration(Declaration oldDecl, Declaration newDecl)
Restriction
replaceDeclaration
in interface Restriction
public boolean isTemporal()
Restriction
isTemporal
in interface Restriction
public ContextEntry createContextEntry()
createContextEntry
in interface Restriction
public abstract AbstractCompositeRestriction clone()
clone
in interface Restriction
clone
in class Object
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.