Class DeliveryParams
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.DeliveryParams
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class DeliveryParams extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for DeliveryParams complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DeliveryParams"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}DropItem" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}FileSpec" maxOccurs="3" minOccurs="0"/> </sequence> <attribute name="BuyerAccount" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Earliest" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="EarliestDuration" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="Method" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Ownership"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Destination"/> <enumeration value="Origin"/> </restriction> </simpleType> </attribute> <attribute name="Required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="RequiredDuration" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="TrackingID" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Transfer"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="BuyerToPrinterDeliver"/> <enumeration value="BuyerToPrinterPickup"/> <enumeration value="PrinterToBuyerDeliver"/> <enumeration value="PrinterToBuyerPickup"/> </restriction> </simpleType> </attribute> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeliveryParams.OwnershipJava class for null.static classDeliveryParams.TransferJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringbuyerAccountprotected java.util.List<DropItem>dropItemprotected DateTimeearliestprotected DurationearliestDurationprotected java.util.List<FileSpec>fileSpecprotected java.lang.Stringmethodprotected DeliveryParams.Ownershipownershipprotected DateTimerequiredprotected DurationrequiredDurationprotected java.lang.StringtrackingIDprotected DeliveryParams.Transfertransfer
-
Constructor Summary
Constructors Constructor Description DeliveryParams()
-
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.lang.StringgetBuyerAccount()Gets the value of the buyerAccount property.java.util.List<DropItem>getDropItem()Gets the value of the dropItem property.DateTimegetEarliest()Gets the value of the earliest property.DurationgetEarliestDuration()Gets the value of the earliestDuration property.java.util.List<FileSpec>getFileSpec()Gets the value of the fileSpec property.java.lang.StringgetMethod()Gets the value of the method property.DeliveryParams.OwnershipgetOwnership()Gets the value of the ownership property.DateTimegetRequired()Gets the value of the required property.DurationgetRequiredDuration()Gets the value of the requiredDuration property.java.lang.StringgetTrackingID()Gets the value of the trackingID property.DeliveryParams.TransfergetTransfer()Gets the value of the transfer property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetBuyerAccount(java.lang.String value)Sets the value of the buyerAccount property.voidsetEarliest(DateTime value)Sets the value of the earliest property.voidsetEarliestDuration(Duration value)Sets the value of the earliestDuration property.voidsetMethod(java.lang.String value)Sets the value of the method property.voidsetOwnership(DeliveryParams.Ownership value)Sets the value of the ownership property.voidsetRequired(DateTime value)Sets the value of the required property.voidsetRequiredDuration(Duration value)Sets the value of the requiredDuration property.voidsetTrackingID(java.lang.String value)Sets the value of the trackingID property.voidsetTransfer(DeliveryParams.Transfer value)Sets the value of the transfer property.DeliveryParamswithBuyerAccount(java.lang.String value)DeliveryParamswithDropItem(java.util.Collection<DropItem> values)DeliveryParamswithDropItem(DropItem... values)DeliveryParamswithEarliest(DateTime value)DeliveryParamswithEarliestDuration(Duration value)DeliveryParamswithFileSpec(java.util.Collection<FileSpec> values)DeliveryParamswithFileSpec(FileSpec... values)DeliveryParamswithMethod(java.lang.String value)DeliveryParamswithOwnership(DeliveryParams.Ownership value)DeliveryParamswithRequired(DateTime value)DeliveryParamswithRequiredDuration(Duration value)DeliveryParamswithTrackingID(java.lang.String value)DeliveryParamswithTransfer(DeliveryParams.Transfer value)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
dropItem
protected java.util.List<DropItem> dropItem
-
fileSpec
protected java.util.List<FileSpec> fileSpec
-
buyerAccount
protected java.lang.String buyerAccount
-
earliest
protected DateTime earliest
-
earliestDuration
protected Duration earliestDuration
-
method
protected java.lang.String method
-
ownership
protected DeliveryParams.Ownership ownership
-
required
protected DateTime required
-
requiredDuration
protected Duration requiredDuration
-
trackingID
protected java.lang.String trackingID
-
transfer
protected DeliveryParams.Transfer transfer
-
-
Method Detail
-
getDropItem
public java.util.List<DropItem> getDropItem()
Gets the value of the dropItem 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 dropItem property.For example, to add a new item, do as follows:
getDropItem().add(newItem);Objects of the following type(s) are allowed in the list
DropItem
-
getFileSpec
public java.util.List<FileSpec> getFileSpec()
Gets the value of the fileSpec 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 fileSpec property.For example, to add a new item, do as follows:
getFileSpec().add(newItem);Objects of the following type(s) are allowed in the list
FileSpec
-
getBuyerAccount
public java.lang.String getBuyerAccount()
Gets the value of the buyerAccount property.- Returns:
- possible object is
String
-
setBuyerAccount
public void setBuyerAccount(java.lang.String value)
Sets the value of the buyerAccount property.- Parameters:
value- allowed object isString
-
getEarliest
public DateTime getEarliest()
Gets the value of the earliest property.- Returns:
- possible object is
String
-
setEarliest
public void setEarliest(DateTime value)
Sets the value of the earliest property.- Parameters:
value- allowed object isString
-
getEarliestDuration
public Duration getEarliestDuration()
Gets the value of the earliestDuration property.- Returns:
- possible object is
String
-
setEarliestDuration
public void setEarliestDuration(Duration value)
Sets the value of the earliestDuration property.- Parameters:
value- allowed object isString
-
getMethod
public java.lang.String getMethod()
Gets the value of the method property.- Returns:
- possible object is
String
-
setMethod
public void setMethod(java.lang.String value)
Sets the value of the method property.- Parameters:
value- allowed object isString
-
getOwnership
public DeliveryParams.Ownership getOwnership()
Gets the value of the ownership property.- Returns:
- possible object is
DeliveryParams.Ownership
-
setOwnership
public void setOwnership(DeliveryParams.Ownership value)
Sets the value of the ownership property.- Parameters:
value- allowed object isDeliveryParams.Ownership
-
getRequired
public DateTime getRequired()
Gets the value of the required property.- Returns:
- possible object is
String
-
setRequired
public void setRequired(DateTime value)
Sets the value of the required property.- Parameters:
value- allowed object isString
-
getRequiredDuration
public Duration getRequiredDuration()
Gets the value of the requiredDuration property.- Returns:
- possible object is
String
-
setRequiredDuration
public void setRequiredDuration(Duration value)
Sets the value of the requiredDuration property.- Parameters:
value- allowed object isString
-
getTrackingID
public java.lang.String getTrackingID()
Gets the value of the trackingID property.- Returns:
- possible object is
String
-
setTrackingID
public void setTrackingID(java.lang.String value)
Sets the value of the trackingID property.- Parameters:
value- allowed object isString
-
getTransfer
public DeliveryParams.Transfer getTransfer()
Gets the value of the transfer property.- Returns:
- possible object is
DeliveryParams.Transfer
-
setTransfer
public void setTransfer(DeliveryParams.Transfer value)
Sets the value of the transfer property.- Parameters:
value- allowed object isDeliveryParams.Transfer
-
withDropItem
public DeliveryParams withDropItem(DropItem... values)
-
withDropItem
public DeliveryParams withDropItem(java.util.Collection<DropItem> values)
-
withFileSpec
public DeliveryParams withFileSpec(FileSpec... values)
-
withFileSpec
public DeliveryParams withFileSpec(java.util.Collection<FileSpec> values)
-
withBuyerAccount
public DeliveryParams withBuyerAccount(java.lang.String value)
-
withEarliest
public DeliveryParams withEarliest(DateTime value)
-
withEarliestDuration
public DeliveryParams withEarliestDuration(Duration value)
-
withMethod
public DeliveryParams withMethod(java.lang.String value)
-
withOwnership
public DeliveryParams withOwnership(DeliveryParams.Ownership value)
-
withRequired
public DeliveryParams withRequired(DateTime value)
-
withRequiredDuration
public DeliveryParams withRequiredDuration(Duration value)
-
withTrackingID
public DeliveryParams withTrackingID(java.lang.String value)
-
withTransfer
public DeliveryParams withTransfer(DeliveryParams.Transfer 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
-
-