|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthelma.objectmodel.db.SubnodeList
helma.objectmodel.db.SegmentedSubnodeList
public class SegmentedSubnodeList
Field Summary |
---|
Fields inherited from class helma.objectmodel.db.SubnodeList |
---|
lastSubnodeChange, lastSubnodeFetch, list, node |
Constructor Summary | |
---|---|
SegmentedSubnodeList(Node node)
Creates a new subnode list |
Method Summary | |
---|---|
void |
add(int index,
NodeHandle handle)
Adds the specified object to the list at the given position |
boolean |
add(NodeHandle handle)
Adds the specified object to this list performing custom ordering |
boolean |
contains(java.lang.Object object)
|
NodeHandle |
get(int index)
|
int |
indexOf(java.lang.Object object)
|
java.lang.Object |
remove(int index)
remove the object specified by the given index-position |
boolean |
remove(java.lang.Object object)
remove the given Object from this List |
int |
size()
Return the size of the list. |
java.lang.Object[] |
toArray()
|
protected void |
update()
|
Methods inherited from class helma.objectmodel.db.SubnodeList |
---|
getLastSubnodeChange, getNode, getSubnodeMapping, getSubnodeRelation, hasRelationalNodes, markAsChanged, prefetch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SegmentedSubnodeList(Node node)
node
- the node we belong toMethod Detail |
---|
public boolean add(NodeHandle handle)
add
in class SubnodeList
handle
- element to be inserted.public void add(int index, NodeHandle handle)
add
in class SubnodeList
index
- the index to insert the element athandle
- the object to addpublic NodeHandle get(int index)
get
in class SubnodeList
public boolean contains(java.lang.Object object)
contains
in class SubnodeList
public int indexOf(java.lang.Object object)
indexOf
in class SubnodeList
public java.lang.Object remove(int index)
remove
in class SubnodeList
index
- the index-position of the NodeHandle to removepublic boolean remove(java.lang.Object object)
remove
in class SubnodeList
object
- the NodeHandle to removepublic java.lang.Object[] toArray()
toArray
in class SubnodeList
protected void update()
update
in class SubnodeList
public int size()
SubnodeList
size
in class SubnodeList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |