|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.odmg.ProductGroup
represents a product group containing a set of Articles.
Article
,
Serialized FormField Summary |
Fields inherited from interface org.apache.ojb.odmg.TransactionAware |
serialVersionUID |
Constructor Summary | |
ProductGroup()
|
|
ProductGroup(int pGroupId,
java.lang.String pGroupName,
java.lang.String pDescription)
|
Method Summary | |
void |
afterAbort()
afterAbort will be called after a transaction has been aborted. |
void |
afterCommit()
afterCommit is called only after a successful commit has taken place. |
void |
beforeAbort()
beforeAbort is called before a transaction is aborted. |
void |
beforeCommit()
beforeCommit will give an object a chance to kill a transaction before it is committed. |
java.util.Vector |
getAllArticlesInGroup()
Gets the allArticlesInGroup. |
java.lang.String |
getDescription()
|
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.Vector 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 |
setName(java.lang.String newName)
set 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(int pGroupId, java.lang.String pGroupName, java.lang.String pDescription)
public ProductGroup()
Method Detail |
public int getId()
public java.lang.String toString()
public java.lang.String getName()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to setpublic void afterAbort()
afterAbort
in interface TransactionAware
public void afterCommit()
afterCommit
in interface TransactionAware
public void beforeAbort()
beforeAbort
in interface TransactionAware
public void beforeCommit() throws TransactionAbortedException
beforeCommit
in interface TransactionAware
TransactionAbortedException
public void setName(java.lang.String newName)
public java.util.Vector getAllArticlesInGroup()
public void setAllArticlesInGroup(java.util.Vector allArticlesInGroup)
allArticlesInGroup
- The allArticlesInGroup to setpublic int getGroupId()
public void setGroupId(int groupId)
groupId
- The groupId to setpublic java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName
- The groupName to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |