Class ProductList
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.ProductList
-
- 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 ProductList 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}Product" maxOccurs="unbounded"/> </sequence> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProductList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)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.util.List<Product>getProduct()Gets the value of the product property.inthashCode()ProductListwithProduct(java.util.Collection<Product> values)ProductListwithProduct(Product... values)
-
-
-
Field Detail
-
product
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.util.List<Product> product
-
-
Method Detail
-
getProduct
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.util.List<Product> getProduct()Gets the value of the product 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 product property.For example, to add a new item, do as follows:
getProduct().add(newItem);Objects of the following type(s) are allowed in the list
Product- Returns:
- The value of the product property.
-
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
-
withProduct
public ProductList withProduct(Product... values)
-
withProduct
public ProductList withProduct(java.util.Collection<Product> values)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-