Package org.cip4.lib.xjdf.schema
Class DropItem
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.DropItem
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public class DropItem 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"> <attribute name="Amount" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="ItemRef" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> <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 Resourceitemprotected ShapetotalDimensionsprotected java.lang.FloattotalVolumeprotected java.lang.FloattotalWeight
-
Constructor Summary
Constructors Constructor Description DropItem()
-
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.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.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.voidsetItem(Resource value)Sets the value of the item 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.DropItemwithAmount(int value)DropItemwithItem(Resource value)DropItemwithTotalDimensions(Shape value)DropItemwithTotalVolume(java.lang.Float value)DropItemwithTotalWeight(java.lang.Float value)
-
-
-
Field Detail
-
amount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected int amount
-
item
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected Resource item
-
totalDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected Shape totalDimensions
-
totalVolume
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.Float totalVolume
-
totalWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.Float totalWeight
-
-
Method Detail
-
getAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51: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="2023-01-02T18:51:33Z") public void setAmount(int value)Sets the value of the amount property.
-
getItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51: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="2023-01-02T18:51:33Z") public void setItem(Resource value)Sets the value of the item property.- Parameters:
value- allowed object isObject
-
getTotalDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51: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="2023-01-02T18:51: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="2023-01-02T18:51: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="2023-01-02T18:51: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="2023-01-02T18:51: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="2023-01-02T18:51: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="2023-01-02T18:51: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
-
withAmount
public DropItem withAmount(int value)
-
withTotalVolume
public DropItem withTotalVolume(java.lang.Float value)
-
withTotalWeight
public DropItem 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
-
-