Class BundleItem
- All Implemented Interfaces:
Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
Java 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected List<BundleItem>protected BundleTypeprotected Resourceprotected Integerprotected Shapeprotected Floatprotected Float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) intGets the value of the amount property.Gets the value of the bundleItem property.Gets the value of the bundleType property.getItem()Gets the value of the item property.Gets a map that contains attributes that aren't bound to any typed property on this class.Gets the value of the totalAmount property.Gets the value of the totalDimensions property.Gets the value of the totalVolume property.Gets the value of the totalWeight property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAmount(int value) Sets the value of the amount property.voidsetBundleType(BundleType value) Sets the value of the bundleType property.voidSets the value of the item property.voidsetTotalAmount(Integer value) Sets the value of the totalAmount property.voidsetTotalDimensions(Shape value) Sets the value of the totalDimensions property.voidsetTotalVolume(Float value) Sets the value of the totalVolume property.voidsetTotalWeight(Float value) Sets the value of the totalWeight property.withAmount(int value) withBundleItem(Collection<BundleItem> values) withBundleItem(BundleItem... values) withBundleType(BundleType value) withTotalAmount(Integer value) withTotalDimensions(Shape value) withTotalVolume(Float value) withTotalWeight(Float value)
-
Field Details
-
bundleItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<BundleItem> bundleItem -
amount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected int amount -
bundleType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected BundleType bundleType -
item
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Resource item -
totalAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Integer totalAmount -
totalDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Shape totalDimensions -
totalVolume
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float totalVolume -
totalWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float totalWeight
-
-
Constructor Details
-
BundleItem
public BundleItem()
-
-
Method Details
-
getBundleItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 JAXB 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 -
getAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public int getAmount()Gets the value of the amount property. -
setAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setAmount(int value) Sets the value of the amount property. -
getBundleType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setTotalAmount(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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setTotalVolume(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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setTotalWeight(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 v2.3.6", date="2022-12-18T20:00:09Z") public Map<QName,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
-
withBundleItem
-
withAmount
-
withBundleType
-
withItem
-
withTotalAmount
-
withTotalDimensions
-
withTotalVolume
-
withTotalWeight
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
-