Package org.cip4.lib.xjdf.schema
Class Pallet
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.Pallet
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Pallet extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Pallet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Pallet"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}IdentificationField" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="PalletType" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Size" type="{http://www.CIP4.org/JDFSchema_2_0}XYPair" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<IdentificationField>identificationFieldprotected java.lang.StringpalletTypeprotected XYPairsize
-
Constructor Summary
Constructors Constructor Description Pallet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<IdentificationField>getIdentificationField()Gets the value of the identificationField property.java.lang.StringgetPalletType()Gets the value of the palletType property.XYPairgetSize()Gets the value of the size property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetPalletType(java.lang.String value)Sets the value of the palletType property.voidsetSize(XYPair value)Sets the value of the size property.PalletwithIdentificationField(java.util.Collection<IdentificationField> values)PalletwithIdentificationField(IdentificationField... values)PalletwithPalletType(java.lang.String value)PalletwithSize(XYPair value)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
identificationField
protected java.util.List<IdentificationField> identificationField
-
palletType
protected java.lang.String palletType
-
size
protected XYPair size
-
-
Method Detail
-
getIdentificationField
public java.util.List<IdentificationField> getIdentificationField()
Gets the value of the identificationField 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 identificationField property.For example, to add a new item, do as follows:
getIdentificationField().add(newItem);Objects of the following type(s) are allowed in the list
IdentificationField
-
getPalletType
public java.lang.String getPalletType()
Gets the value of the palletType property.- Returns:
- possible object is
String
-
setPalletType
public void setPalletType(java.lang.String value)
Sets the value of the palletType property.- Parameters:
value- allowed object isString
-
getSize
public XYPair getSize()
Gets the value of the size property.- Returns:
- possible object is
String
-
setSize
public void setSize(XYPair value)
Sets the value of the size property.- Parameters:
value- allowed object isString
-
withIdentificationField
public Pallet withIdentificationField(IdentificationField... values)
-
withIdentificationField
public Pallet withIdentificationField(java.util.Collection<IdentificationField> values)
-
withPalletType
public Pallet withPalletType(java.lang.String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classSpecificResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classSpecificResource
-
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- Overrides:
hashCodein classSpecificResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSpecificResource
-
-