|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jett.model.Group
public class Group
A Group is a group of objects that shares some common values
for some properties. One of the objects is designated as "the object" to
represent all "items" with the same common values for some properties. JETT
will not be able to determine the type of the objects at compile time, so
there's no point to making this class generic.
| Constructor Summary | |
|---|---|
Group()
Constructs a Group without a representative object or a list
of all items in the group. |
|
| Method Summary | |
|---|---|
java.util.List |
getItems()
Returns the List of items in the group. |
java.lang.Object |
getObj()
Returns the object that is representative of all objects in the group. |
void |
setItems(java.util.List items)
Sets the List of items in the group. |
void |
setObj(java.lang.Object obj)
Sets the object that is representative of all objects in the group. |
java.lang.String |
toString()
Returns the string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Group()
Group without a representative object or a list
of all items in the group.
| Method Detail |
|---|
public java.lang.Object getObj()
public void setObj(java.lang.Object obj)
obj - An object that is representative of all objects in the group.public java.util.List getItems()
List of items in the group.
List of items in the group.public void setItems(java.util.List items)
List of items in the group.
items - The List of items in the group.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 | |||||||||