|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.rule.ImportDeclaration
public class ImportDeclaration
A class to represent an import declaration.
Constructor Summary | |
---|---|
ImportDeclaration()
Creates an empty import declaration |
|
ImportDeclaration(String target)
Creates an import declaration for the given target. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getTarget()
|
int |
hashCode()
|
boolean |
matches(Class<?> clazz)
Returns true if this ImportDeclaration correctly matches to the given clazz |
void |
readExternal(ObjectInput in)
|
void |
setTarget(String target)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportDeclaration()
public ImportDeclaration(String target)
target
- Method Detail |
---|
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public String getTarget()
public void setTarget(String target)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public boolean matches(Class<?> clazz)
name
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |