test.ojb.broker
Class ProductGroupWithCollectionProxy

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

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

represents a product group containing a set of Articles.

See Also:
Article, Serialized Form

Constructor Summary
ProductGroupWithCollectionProxy()
           
ProductGroupWithCollectionProxy(int pGroupId, java.lang.String pGroupName)
           
 
Method Summary
 java.util.Collection getAllArticles()
          return List of all Articles in productgroup
 int getId()
          return group id
 java.lang.String getName()
          return groupname
 void setId(int 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

ProductGroupWithCollectionProxy

public ProductGroupWithCollectionProxy()

ProductGroupWithCollectionProxy

public ProductGroupWithCollectionProxy(int pGroupId,
                                       java.lang.String pGroupName)
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


setId

public void setId(int id)

getAllArticles

public java.util.Collection getAllArticles()
return List of all Articles in productgroup



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