Package org.drools.compiler.lang.descr
Class ImportDescr
- java.lang.Object
-
- org.drools.compiler.lang.descr.BaseDescr
-
- org.drools.compiler.lang.descr.ImportDescr
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.drools.core.rule.Namespaceable
- Direct Known Subclasses:
AccumulateImportDescr
,FunctionImportDescr
public class ImportDescr extends BaseDescr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportDescr()
ImportDescr(String clazzName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getTarget()
int
hashCode()
void
readExternal(ObjectInput in)
void
setTarget(String clazzName)
String
toString()
void
writeExternal(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
-
ImportDescr
public ImportDescr()
-
ImportDescr
public ImportDescr(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:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classBaseDescr
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classBaseDescr
- Throws:
IOException
-
-