|
|||||||||
| 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
public class Collection
represents Info*Engine collection data.
Collections contain Groups.
| Constructor Summary | |
|---|---|
Collection()
create a new unnamed Collection |
|
Collection(java.lang.String name)
create a new named Collection |
|
| Method Summary | |
|---|---|
void |
addGroup(Group g)
add a group to the collection |
Group |
getGroup(java.lang.String name)
get a group by name |
int |
getGroupCount()
get the number of groups in this collection |
java.util.Enumeration |
getGroups()
get a enumeration of all groups in this collection |
java.lang.String |
getName()
get this collection's name |
void |
removeGroup(java.lang.String name)
remove a group from the collection by name |
void |
setName(java.lang.String name)
set this collection's name |
java.lang.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 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Collection()
public Collection(java.lang.String name)
| Method Detail |
|---|
public void setName(java.lang.String name)
name - - new collection namepublic java.lang.String getName()
public Group getGroup(java.lang.String name)
name - - the group name
public void addGroup(Group g)
g - the group to add (does nothing if null)public void removeGroup(java.lang.String name)
name - - the name of the group to removepublic java.util.Enumeration getGroups()
public int getGroupCount()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||