Package org.drools.compiler.lang.descr
Class UnitDescr
- java.lang.Object
-
- org.drools.compiler.lang.descr.BaseDescr
-
- org.drools.compiler.lang.descr.UnitDescr
-
- All Implemented Interfaces:
Externalizable,Serializable,org.drools.core.rule.Namespaceable
public class UnitDescr extends BaseDescr
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetTarget()inthashCode()voidreadExternal(ObjectInput in)voidsetTarget(String clazzName)StringtoString()voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.drools.compiler.lang.descr.BaseDescr
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, isNegated, negate, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText
-
-
-
-
Constructor Detail
-
UnitDescr
public UnitDescr()
-
UnitDescr
public UnitDescr(String clazzName)
-
-
Method Detail
-
getTarget
public String getTarget()
-
setTarget
public void setTarget(String clazzName)
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classBaseDescr- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classBaseDescr- Throws:
IOException
-
-