test.ojb.broker
Class ProductGroupWithTypedCollection

java.lang.Object
  |
  +--test.ojb.broker.ProductGroupWithTypedCollection
All Implemented Interfaces:
java.io.Serializable

public class ProductGroupWithTypedCollection
extends java.lang.Object
implements java.io.Serializable

represents a product group containing a set of Articles.

See Also:
Article, Serialized Form

Constructor Summary
ProductGroupWithTypedCollection()
           
ProductGroupWithTypedCollection(int pGroupId, java.lang.String pGroupName, java.lang.String pDescription)
           
 
Method Summary
 ArticleCollection 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
 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

ProductGroupWithTypedCollection

public ProductGroupWithTypedCollection(int pGroupId,
                                       java.lang.String pGroupName,
                                       java.lang.String pDescription)

ProductGroupWithTypedCollection

public ProductGroupWithTypedCollection()
Method Detail

getId

public int getId()
return group id


toString

public java.lang.String toString()
return string representation

Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()
return groupname


getAllArticles

public ArticleCollection getAllArticles()
return List of all Articles in productgroup


setId

public void setId(int newValue)
set group id



Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04