|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.connector.Data
com.infoengine.connector.Collection
represents Info*Engine collection data.
Collections contain Groups.
Field Summary | |
private Vector |
_groups
|
private String |
name
|
Fields inherited from class com.infoengine.connector.Data |
_meta |
Constructor Summary | |
Collection()
create a new unnamed Collection |
|
Collection(String name)
create a new named Collection |
Method Summary | |
void |
addGroup(Group g)
add a group to the collection |
Group |
getGroup(String name)
get a group by name |
int |
getGroupCount()
get the number of groups in this collection |
Enumeration |
getGroups()
get a enumeration of all groups in this collection |
String |
getName()
get this collection's name |
void |
removeGroup(String name)
remove a group from the collection by name |
void |
setName(String name)
set this collection's name |
String |
toString()
|
Methods inherited from class com.infoengine.connector.Data |
addMetaValue, equals, getMetaNames, getMetaValue, getMetaValues, hashCode, removeMetaValues, setMetaValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private String name
private Vector _groups
Constructor Detail |
public Collection()
public Collection(String name)
Method Detail |
public void setName(String name)
name
- - new collection namepublic String getName()
public Group getGroup(String name)
name
- - the group name
public void addGroup(Group g)
g
- the group to add (does nothing if null)public void removeGroup(String name)
name
- - the name of the group to removepublic Enumeration getGroups()
public int getGroupCount()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |