Class ItemAttributes
- java.lang.Object
-
- com.fourjs.report.facturx.profiles.extended.ItemAttributes
-
public class ItemAttributes extends Object
BG-32:ITEM ATTRIBUTESA group of business terms providing information about properties of the goods and services invoiced.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetItemAttributeName()StringgetItemAttributeNameForJAXB()StringgetItemAttributeValue()StringgetItemAttributeValueForJAXB()Codes.UnitOfMeasuregetMeasurementUnit()Codes.UnitOfMeasuregetMeasurementUnitForJAXB()StringgetTypeCode()StringgetTypeCodeForJAXB()StringgetValueMeasure()StringgetValueMeasureForJAXB()ItemAttributessetItemAttributeName(String value)ItemAttributessetItemAttributeValue(String value)ItemAttributessetMeasurementUnit(Codes.UnitOfMeasure value)ItemAttributessetTypeCode(String value)ItemAttributessetValueMeasure(String value)
-
-
-
Method Detail
-
setTypeCode
public ItemAttributes setTypeCode(String value)
- Parameters:
value- EXT:Item Attribute Type (Code)XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:TypeCode
- Returns:
- ItemAttributes
-
setItemAttributeName
public ItemAttributes setItemAttributeName(String value)
- Parameters:
value- BT-160:Item attribute nameThe name of the attribute or property of the item.
Such as “Colour”.
BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Description
- Returns:
- ItemAttributes
-
setMeasurementUnit
public ItemAttributes setMeasurementUnit(Codes.UnitOfMeasure value)
- Parameters:
value- EXT:Measurement UnitXPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueMeasure/@unitCode
- Returns:
- ItemAttributes
-
setValueMeasure
public ItemAttributes setValueMeasure(String value)
- Parameters:
value- EXT:Item Attribute Value (numerical measurand)XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueMeasure
- Returns:
- ItemAttributes
-
setItemAttributeValue
public ItemAttributes setItemAttributeValue(String value)
- Parameters:
value- BT-161:Item attribute valueThe value of the attribute or property of the item.
Such as “Red”.
BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Value
- Returns:
- ItemAttributes
-
getTypeCode
public String getTypeCode()
-
getTypeCodeForJAXB
public String getTypeCodeForJAXB()
-
getItemAttributeName
public String getItemAttributeName()
-
getItemAttributeNameForJAXB
public String getItemAttributeNameForJAXB()
-
getMeasurementUnit
public Codes.UnitOfMeasure getMeasurementUnit()
-
getMeasurementUnitForJAXB
public Codes.UnitOfMeasure getMeasurementUnitForJAXB()
-
getValueMeasure
public String getValueMeasure()
-
getValueMeasureForJAXB
public String getValueMeasureForJAXB()
-
getItemAttributeValue
public String getItemAttributeValue()
-
getItemAttributeValueForJAXB
public String getItemAttributeValueForJAXB()
-
-