org.cip4.jdflib.extensions
Class ProductHelper
java.lang.Object
org.cip4.jdflib.extensions.BaseXJDFHelper
org.cip4.jdflib.extensions.ProductHelper
public class ProductHelper
- extends BaseXJDFHelper
- Author:
- Rainer Prosi, Heidelberger Druckmaschinen *
partitionProducts
public static boolean partitionProducts
rootProduct
public static final String rootProduct
- root products attribute name
- See Also:
- Constant Field Values
ProductHelper
public ProductHelper(KElement product)
- Parameters:
product -
setRoot
public void setRoot()
getCreateIntent
public IntentHelper getCreateIntent(String name)
- Parameters:
name -
- Returns:
getIntent
public IntentHelper getIntent(String name)
- Parameters:
name -
- Returns:
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- See Also:
Object.toString()
getAmount
public int getAmount()
- Returns:
- amount the amount to get
setAmount
public void setAmount(int amount)
- Parameters:
amount - the amount to set
setChild
public void setChild(ProductHelper phCover,
int amount)
- Parameters:
phCover - amount -
getChild
public ProductHelper getChild(int nChild)
- get the nth child of this
- Parameters:
nChild - the index of the child
- Returns:
getChild
public ProductHelper getChild(String productType,
int n)
- get the nth child of this
- Parameters:
productType - the productType attributen - the index of the child
- Returns:
getChildren
public Vector<ProductHelper> getChildren()
- get the vector of children of this
- Returns:
getProduct
public KElement getProduct()
- Returns:
isRootProduct
public boolean isRootProduct()
- Returns:
setCustomerInfo
public void setCustomerInfo(PartitionHelper cuph)
- reference the customerinfo specified by ph
- Parameters:
cuph -
Copyright © 2013. All Rights Reserved.