|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--test.ojb.odmg.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 |
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 |
getId()
return group id |
java.lang.String |
getName()
return groupname |
void |
setAllArticlesInGroup(java.util.Vector allArticlesInGroup)
Sets the allArticlesInGroup. |
void |
setDescription(java.lang.String newDescription)
Insert the method's description here. |
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()
toString
in class java.lang.Object
public java.lang.String getName()
public java.lang.String getDescription()
public void setDescription(java.lang.String newDescription)
newDescription
- java.lang.Stringpublic 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 set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |