|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--test.ojb.broker.ProductGroup
represents a product group containing a set of Articles.
Article
,
Serialized FormConstructor Summary | |
ProductGroup()
|
|
ProductGroup(int pGroupId,
java.lang.String pGroupName,
java.lang.String pDescription)
|
Method Summary | |
void |
add(InterfaceArticle article)
add article to group |
java.util.List |
getAllArticles()
return List of all Articles in productgroup |
int |
getId()
return group id |
java.lang.String |
getName()
return groupname |
void |
setId(int newValue)
set group id |
void |
setName(java.lang.String groupName)
|
java.lang.String |
toString()
return string representation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProductGroup()
public ProductGroup(int pGroupId, java.lang.String pGroupName, java.lang.String pDescription)
Method Detail |
public void add(InterfaceArticle article)
add
in interface InterfaceProductGroup
public int getId()
getId
in interface InterfaceProductGroup
public java.lang.String toString()
toString
in interface InterfaceProductGroup
toString
in class java.lang.Object
public java.lang.String getName()
getName
in interface InterfaceProductGroup
public void setName(java.lang.String groupName)
public java.util.List getAllArticles()
getAllArticles
in interface InterfaceProductGroup
public void setId(int newValue)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |