|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.repository.Item
public abstract class Item
The item class is used to abstract away the underlying details of the JCR repository.
Field Summary | |
---|---|
protected javax.jcr.Node |
node
The node within the repository that this item corresponds to |
protected RulesRepository |
rulesRepository
The RulesRepository object that this object was created from |
Constructor Summary | |
---|---|
Item(RulesRepository rulesRepository,
javax.jcr.Node node)
Sets the item object's node attribute to the specified node |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
gets the name of this item (unless overridden in a subclass, this just returns the name of the node that this Item encapsulates. |
javax.jcr.Node |
getNode()
gets the node in the repository that this item is associated with |
RulesRepository |
getRulesRepository()
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.jcr.Node node
protected RulesRepository rulesRepository
Constructor Detail |
---|
public Item(RulesRepository rulesRepository, javax.jcr.Node node)
rulesRepository
- the RulesRepository object that this object is being created fromnode
- the node in the repository that this item corresponds toMethod Detail |
---|
public javax.jcr.Node getNode()
public String getName() throws RulesRepositoryException
RulesRepositoryException
public RulesRepository getRulesRepository()
public boolean equals(Object obj)
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |