|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.AbstractProductGroup
represents a product group containing a set of Articles.
Article
,
Serialized FormConstructor Summary | |
AbstractProductGroup()
|
|
AbstractProductGroup(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 |
java.util.List |
getAllArticlesInGroup()
Gets the allArticlesInGroup. |
java.lang.String |
getDescription()
Gets the description. |
int |
getGroupId()
Gets the groupId. |
java.lang.String |
getGroupName()
Gets the groupName. |
int |
getId()
return group id |
java.lang.String |
getName()
return groupname |
void |
setAllArticlesInGroup(java.util.List allArticlesInGroup)
Sets the allArticlesInGroup. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setGroupId(int groupId)
Sets the groupId. |
void |
setGroupName(java.lang.String groupName)
Sets the 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 AbstractProductGroup()
public AbstractProductGroup(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
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)
public int getGroupId()
public void setGroupId(int groupId)
groupId
- The groupId to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to setpublic java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName
- The groupName to setpublic java.util.List getAllArticlesInGroup()
public void setAllArticlesInGroup(java.util.List allArticlesInGroup)
allArticlesInGroup
- The allArticlesInGroup to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |