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 String
getItemAttributeName()
BT-160:Item attribute nameString
getItemAttributeValue()
BT-161:Item attribute valueCodes.UnitOfMeasure
getMeasurementUnit()
EXT:Measurement UnitString
getTypeCode()
EXT:Item Attribute Type (Code)String
getValueMeasure()
EXT:Item Attribute Value (numerical measurand)ItemAttributes
setItemAttributeName(String value)
ItemAttributes
setItemAttributeValue(String value)
ItemAttributes
setMeasurementUnit(Codes.UnitOfMeasure value)
ItemAttributes
setTypeCode(String value)
ItemAttributes
setValueMeasure(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()
EXT:Item Attribute Type (Code)- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:TypeCode
-
getItemAttributeName
public String getItemAttributeName()
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).
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Description
-
getMeasurementUnit
public Codes.UnitOfMeasure getMeasurementUnit()
EXT:Measurement Unit- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueMeasure/@unitCode
-
getValueMeasure
public String getValueMeasure()
EXT:Item Attribute Value (numerical measurand)- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueMeasure
-
getItemAttributeValue
public String getItemAttributeValue()
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).
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Value
-
-