Class PartWaste
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.PartWaste
-
- 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 PartWaste 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="ModuleIDs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="Waste" use="required" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="WasteDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>moduleIDsprotected floatwasteprotected java.lang.StringwasteDetails
-
Constructor Summary
Constructors Constructor Description PartWaste()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.util.List<java.lang.String>getModuleIDs()Gets the value of the moduleIDs 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.floatgetWaste()Gets the value of the waste property.java.lang.StringgetWasteDetails()Gets the value of the wasteDetails property.inthashCode()voidsetWaste(float value)Sets the value of the waste property.voidsetWasteDetails(java.lang.String value)Sets the value of the wasteDetails property.PartWastewithModuleIDs(java.lang.String... values)PartWastewithModuleIDs(java.util.Collection<java.lang.String> values)PartWastewithWaste(float value)PartWastewithWasteDetails(java.lang.String value)
-
-
-
Field Detail
-
moduleIDs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.util.List<java.lang.String> moduleIDs
-
waste
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected float waste
-
wasteDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.String wasteDetails
-
-
Method Detail
-
getModuleIDs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.util.List<java.lang.String> getModuleIDs()Gets the value of the moduleIDs 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 moduleIDs property.For example, to add a new item, do as follows:
getModuleIDs().add(newItem);Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the moduleIDs property.
-
getWaste
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public float getWaste()Gets the value of the waste property.
-
setWaste
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setWaste(float value)Sets the value of the waste property.
-
getWasteDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.String getWasteDetails()Gets the value of the wasteDetails property.- Returns:
- possible object is
String
-
setWasteDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setWasteDetails(java.lang.String value)Sets the value of the wasteDetails property.- Parameters:
value- allowed object isString
-
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
-
withModuleIDs
public PartWaste withModuleIDs(java.lang.String... values)
-
withModuleIDs
public PartWaste withModuleIDs(java.util.Collection<java.lang.String> values)
-
withWaste
public PartWaste withWaste(float value)
-
withWasteDetails
public PartWaste withWasteDetails(java.lang.String value)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-