org.apache.ojb.broker
Class ProductGroupWithArray

java.lang.Object
  extended byorg.apache.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
 InterfaceArticle[] getAllArticlesInGroup()
          Gets the allArticlesInGroup.
 java.lang.String getDescription()
          Gets the description.
 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(InterfaceArticle[] 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 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


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


getAllArticlesInGroup

public InterfaceArticle[] getAllArticlesInGroup()
Gets the allArticlesInGroup.

Returns:
Returns a InterfaceArticle[]

setAllArticlesInGroup

public void setAllArticlesInGroup(InterfaceArticle[] allArticlesInGroup)
Sets the allArticlesInGroup.

Parameters:
allArticlesInGroup - The allArticlesInGroup to set

getDescription

public java.lang.String getDescription()
Gets the description.

Returns:
Returns a String

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - The description to set

getGroupId

public int getGroupId()
Gets the groupId.

Returns:
Returns a int

setGroupId

public void setGroupId(int groupId)
Sets the groupId.

Parameters:
groupId - The groupId to set

getGroupName

public java.lang.String getGroupName()
Gets the groupName.

Returns:
Returns a String

setGroupName

public void setGroupName(java.lang.String groupName)
Sets the groupName.

Parameters:
groupName - The groupName to set


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14