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, waitgetEvaluator, isAllowed, isAllowedCachedLeft, isAllowedCachedRightprotected Restriction[] restrictions
public AbstractCompositeRestriction()
public AbstractCompositeRestriction(Restriction[] restriction)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic Declaration[] getRequiredDeclarations()
getRequiredDeclarations in interface Restrictionpublic void replaceDeclaration(Declaration oldDecl, Declaration newDecl)
RestrictionreplaceDeclaration in interface Restrictionpublic boolean isTemporal()
RestrictionisTemporal in interface Restrictionpublic ContextEntry createContextEntry()
createContextEntry in interface Restrictionpublic abstract AbstractCompositeRestriction clone()
clone in interface Restrictionclone in class ObjectCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.