Package org.drools.core.rule.constraint
Class XpathConstraint.XpathChunk
- java.lang.Object
-
- org.drools.core.rule.constraint.XpathConstraint.XpathChunk
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Acceptor
,AcceptsClassObjectType
- Enclosing class:
- XpathConstraint
public static class XpathConstraint.XpathChunk extends Object implements AcceptsClassObjectType, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XpathChunk()
NOT INTENDED FOR ACTUAL USE, only for Java Serialization mechanism purpose only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConstraint(Constraint constraint)
From
asFrom()
boolean
equals(Object obj)
Object
evaluate(Object obj)
List<AlphaNodeFieldConstraint>
getAlphaConstraints()
List<BetaNodeFieldConstraint>
getBetaConstraints()
Class<?>
getReturnedClass()
List<XpathConstraint>
getXpathConstraints()
int
hashCode()
void
readExternal(ObjectInput in)
void
setClassObjectType(ClassObjectType classObjectType)
void
setReturnedType(ObjectType returnedType)
String
toString()
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
addConstraint
public void addConstraint(Constraint constraint)
-
getReturnedClass
public Class<?> getReturnedClass()
-
setReturnedType
public void setReturnedType(ObjectType returnedType)
-
asFrom
public From asFrom()
-
getAlphaConstraints
public List<AlphaNodeFieldConstraint> getAlphaConstraints()
-
getBetaConstraints
public List<BetaNodeFieldConstraint> getBetaConstraints()
-
getXpathConstraints
public List<XpathConstraint> getXpathConstraints()
-
setClassObjectType
public void setClassObjectType(ClassObjectType classObjectType)
- Specified by:
setClassObjectType
in interfaceAcceptsClassObjectType
-
-