test.ojb.broker
Class ProductGroupWithArray

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

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

represents a product group containing a set of Articles.

See Also:
Article, Serialized Form

Constructor Summary
ProductGroupWithArray()
           
ProductGroupWithArray(int pGroupId, java.lang.String pGroupName, java.lang.String pDescription)
           
 
Method Summary
 InterfaceArticle[] 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

ProductGroupWithArray

public ProductGroupWithArray()

ProductGroupWithArray

public ProductGroupWithArray(int pGroupId,
                             java.lang.String pGroupName,
                             java.lang.String pDescription)
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 newValue)
set group id


getAllArticles

public InterfaceArticle[] 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