Class ShoppingCart.ShoppingCartItemGroup
- java.lang.Object
-
- org.apache.ofbiz.order.shoppingcart.ShoppingCart.ShoppingCartItemGroup
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ShoppingCart
public static class ShoppingCart.ShoppingCartItemGroup extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ShoppingCartItemGroup(long groupNumber, java.lang.String groupName)
protected
ShoppingCartItemGroup(long groupNumber, java.lang.String groupName, ShoppingCart.ShoppingCartItemGroup parentGroup)
Note that to avoid foreign key issues when the groups are created a parentGroup should have a lower number than the child group.protected
ShoppingCartItemGroup(java.lang.String groupNumber, java.lang.String groupName, ShoppingCart.ShoppingCartItemGroup parentGroup)
protected
ShoppingCartItemGroup(ShoppingCart.ShoppingCartItemGroup itemGroup, ShoppingCart.ShoppingCartItemGroup parentGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getGroupName()
java.lang.String
getGroupNumber()
ShoppingCart.ShoppingCartItemGroup
getParentGroup()
int
hashCode()
void
inheritParentsParent()
protected GenericValue
makeOrderItemGroup(Delegator delegator)
void
setGroupName(java.lang.String str)
-
-
-
Constructor Detail
-
ShoppingCartItemGroup
protected ShoppingCartItemGroup(long groupNumber, java.lang.String groupName)
-
ShoppingCartItemGroup
protected ShoppingCartItemGroup(long groupNumber, java.lang.String groupName, ShoppingCart.ShoppingCartItemGroup parentGroup)
Note that to avoid foreign key issues when the groups are created a parentGroup should have a lower number than the child group.
-
ShoppingCartItemGroup
protected ShoppingCartItemGroup(java.lang.String groupNumber, java.lang.String groupName, ShoppingCart.ShoppingCartItemGroup parentGroup)
-
ShoppingCartItemGroup
protected ShoppingCartItemGroup(ShoppingCart.ShoppingCartItemGroup itemGroup, ShoppingCart.ShoppingCartItemGroup parentGroup)
-
-
Method Detail
-
getGroupNumber
public java.lang.String getGroupNumber()
-
getGroupName
public java.lang.String getGroupName()
-
setGroupName
public void setGroupName(java.lang.String str)
-
getParentGroup
public ShoppingCart.ShoppingCartItemGroup getParentGroup()
-
makeOrderItemGroup
protected GenericValue makeOrderItemGroup(Delegator delegator)
-
inheritParentsParent
public void inheritParentsParent()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-