org.apache.ojb.broker
Class ProductGroupWithRemovalAwareCollection

java.lang.Object
  extended byorg.apache.ojb.broker.ProductGroupWithRemovalAwareCollection
All Implemented Interfaces:
java.io.Serializable

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

represents a product group containing a set of Articles.

See Also:
Article, Serialized Form

Constructor Summary
ProductGroupWithRemovalAwareCollection()
           
 
Method Summary
 void add(Article art)
           
 RemovalAwareCollection getAllArticles()
          return List of all Articles in productgroup
 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(RemovalAwareCollection allArticlesInGroup)
          Sets the allArticlesInGroup.
 void setGroupId(int groupId)
          Sets the groupId.
 void setGroupName(java.lang.String groupName)
          Sets the groupName.
 void setId(int newValue)
          set group id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductGroupWithRemovalAwareCollection

public ProductGroupWithRemovalAwareCollection()
Method Detail

getId

public int getId()
return group id


getName

public java.lang.String getName()
return groupname


getAllArticles

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


add

public void add(Article art)

setId

public void setId(int newValue)
set group id


setAllArticlesInGroup

public void setAllArticlesInGroup(RemovalAwareCollection allArticlesInGroup)
Sets the allArticlesInGroup.

Parameters:
allArticlesInGroup - The allArticlesInGroup 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