Class BundleItem
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.BundleItem
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public class BundleItem extends java.lang.Object implements java.io.SerializableJava class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}BundleItem" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Amount" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="BundleType" type="{http://www.CIP4.org/JDFSchema_2_0}BundleType" /> <attribute name="ItemRef" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> <attribute name="TotalAmount" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="TotalDimensions" type="{http://www.CIP4.org/JDFSchema_2_0}shape" /> <attribute name="TotalVolume" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="TotalWeight" type="{http://www.w3.org/2001/XMLSchema}float" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intamountprotected java.util.List<BundleItem>bundleItemprotected BundleTypebundleTypeprotected Resourceitemprotected java.lang.IntegertotalAmountprotected ShapetotalDimensionsprotected java.lang.FloattotalVolumeprotected java.lang.FloattotalWeight
-
Constructor Summary
Constructors Constructor Description BundleItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)intgetAmount()Gets the value of the amount property.java.util.List<BundleItem>getBundleItem()Gets the value of the bundleItem property.BundleTypegetBundleType()Gets the value of the bundleType property.ResourcegetItem()Gets the value of the item property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.java.lang.IntegergetTotalAmount()Gets the value of the totalAmount property.ShapegetTotalDimensions()Gets the value of the totalDimensions property.java.lang.FloatgetTotalVolume()Gets the value of the totalVolume property.java.lang.FloatgetTotalWeight()Gets the value of the totalWeight property.inthashCode()voidsetAmount(int value)Sets the value of the amount property.voidsetBundleType(BundleType value)Sets the value of the bundleType property.voidsetItem(Resource value)Sets the value of the item property.voidsetTotalAmount(java.lang.Integer value)Sets the value of the totalAmount property.voidsetTotalDimensions(Shape value)Sets the value of the totalDimensions property.voidsetTotalVolume(java.lang.Float value)Sets the value of the totalVolume property.voidsetTotalWeight(java.lang.Float value)Sets the value of the totalWeight property.BundleItemwithAmount(int value)BundleItemwithBundleItem(java.util.Collection<BundleItem> values)BundleItemwithBundleItem(BundleItem... values)BundleItemwithBundleType(BundleType value)BundleItemwithItem(Resource value)BundleItemwithTotalAmount(java.lang.Integer value)BundleItemwithTotalDimensions(Shape value)BundleItemwithTotalVolume(java.lang.Float value)BundleItemwithTotalWeight(java.lang.Float value)
-
-
-
Field Detail
-
bundleItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.util.List<BundleItem> bundleItem
-
amount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected int amount
-
bundleType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected BundleType bundleType
-
item
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected Resource item
-
totalAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.Integer totalAmount
-
totalDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected Shape totalDimensions
-
totalVolume
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.Float totalVolume
-
totalWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") protected java.lang.Float totalWeight
-
-
Method Detail
-
getBundleItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.List<BundleItem> getBundleItem()Gets the value of the bundleItem property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the bundleItem property.For example, to add a new item, do as follows:
getBundleItem().add(newItem);Objects of the following type(s) are allowed in the list
BundleItem- Returns:
- The value of the bundleItem property.
-
getAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public int getAmount()Gets the value of the amount property.
-
setAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setAmount(int value)Sets the value of the amount property.
-
getBundleType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public BundleType getBundleType()Gets the value of the bundleType property.- Returns:
- possible object is
BundleType
-
setBundleType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setBundleType(BundleType value)Sets the value of the bundleType property.- Parameters:
value- allowed object isBundleType
-
getItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public Resource getItem()Gets the value of the item property.- Returns:
- possible object is
Object
-
setItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setItem(Resource value)Sets the value of the item property.- Parameters:
value- allowed object isObject
-
getTotalAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.Integer getTotalAmount()Gets the value of the totalAmount property.- Returns:
- possible object is
Integer
-
setTotalAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setTotalAmount(java.lang.Integer value)Sets the value of the totalAmount property.- Parameters:
value- allowed object isInteger
-
getTotalDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public Shape getTotalDimensions()Gets the value of the totalDimensions property.- Returns:
- possible object is
String
-
setTotalDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setTotalDimensions(Shape value)Sets the value of the totalDimensions property.- Parameters:
value- allowed object isString
-
getTotalVolume
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.Float getTotalVolume()Gets the value of the totalVolume property.- Returns:
- possible object is
Float
-
setTotalVolume
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setTotalVolume(java.lang.Float value)Sets the value of the totalVolume property.- Parameters:
value- allowed object isFloat
-
getTotalWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.lang.Float getTotalWeight()Gets the value of the totalWeight property.- Returns:
- possible object is
Float
-
setTotalWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public void setTotalWeight(java.lang.Float value)Sets the value of the totalWeight property.- Parameters:
value- allowed object isFloat
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-21T00:11:33Z") public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
withBundleItem
public BundleItem withBundleItem(BundleItem... values)
-
withBundleItem
public BundleItem withBundleItem(java.util.Collection<BundleItem> values)
-
withAmount
public BundleItem withAmount(int value)
-
withBundleType
public BundleItem withBundleType(BundleType value)
-
withItem
public BundleItem withItem(Resource value)
-
withTotalAmount
public BundleItem withTotalAmount(java.lang.Integer value)
-
withTotalDimensions
public BundleItem withTotalDimensions(Shape value)
-
withTotalVolume
public BundleItem withTotalVolume(java.lang.Float value)
-
withTotalWeight
public BundleItem withTotalWeight(java.lang.Float value)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-