Class ShoppingCart.ShoppingCartItemGroup
java.lang.Object
org.apache.ofbiz.order.shoppingcart.ShoppingCart.ShoppingCartItemGroup
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ShoppingCart
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
ShoppingCartItemGroup
(long groupNumber, String groupName) protected
ShoppingCartItemGroup
(long groupNumber, 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
(String groupNumber, String groupName, ShoppingCart.ShoppingCartItemGroup parentGroup) protected
ShoppingCartItemGroup
(ShoppingCart.ShoppingCartItemGroup itemGroup, ShoppingCart.ShoppingCartItemGroup parentGroup) -
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsget group nameget group numberget parent groupint
hashCode()
has codevoid
inherit parents parentprotected GenericValue
makeOrderItemGroup
(Delegator delegator) make order item groupvoid
setGroupName
(String str) set group name
-
Constructor Details
-
ShoppingCartItemGroup
-
ShoppingCartItemGroup
protected ShoppingCartItemGroup(long groupNumber, 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(String groupNumber, String groupName, ShoppingCart.ShoppingCartItemGroup parentGroup) -
ShoppingCartItemGroup
protected ShoppingCartItemGroup(ShoppingCart.ShoppingCartItemGroup itemGroup, ShoppingCart.ShoppingCartItemGroup parentGroup)
-
-
Method Details
-
getGroupNumber
get group number -
getGroupName
get group name -
setGroupName
set group name -
getParentGroup
get parent group -
makeOrderItemGroup
make order item group -
inheritParentsParent
public void inheritParentsParent()inherit parents parent -
hashCode
public int hashCode()has code -
equals
equals
-