org.drools.rule
Class AbstractCompositeRestriction
java.lang.Object
org.drools.rule.AbstractCompositeRestriction
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, Restriction
- Direct Known Subclasses:
- AndCompositeRestriction, OrCompositeRestriction
public abstract class AbstractCompositeRestriction
- extends Object
- implements Restriction
- See Also:
- Serialized Form
restrictions
protected Restriction[] restrictions
AbstractCompositeRestriction
public AbstractCompositeRestriction()
AbstractCompositeRestriction
public AbstractCompositeRestriction(Restriction[] restriction)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
getRequiredDeclarations
public Declaration[] getRequiredDeclarations()
- Specified by:
getRequiredDeclarations
in interface Restriction
replaceDeclaration
public void replaceDeclaration(Declaration oldDecl,
Declaration newDecl)
- Description copied from interface:
Restriction
- A restriction may be required to replace an old
declaration object by a new updated one
- Specified by:
replaceDeclaration
in interface Restriction
isTemporal
public boolean isTemporal()
- Description copied from interface:
Restriction
- Returns true if this is a temporal restriction
- Specified by:
isTemporal
in interface Restriction
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
createContextEntry
public ContextEntry createContextEntry()
- Specified by:
createContextEntry
in interface Restriction
clone
public abstract Object clone()
- Specified by:
clone
in interface Restriction
- Overrides:
clone
in class Object
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.