Package org.cip4.lib.xprinttalk.schema
Class Refusal
- java.lang.Object
-
- org.cip4.lib.xprinttalk.schema.BaseElement
-
- org.cip4.lib.xprinttalk.schema.Refusal
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public class Refusal extends BaseElement implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for Refusal complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Refusal"> <complexContent> <extension base="{http://www.printtalk.org/schema_20}BaseElement"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" minOccurs="0"/> </sequence> <attribute name="Reason" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Busy"/> <enumeration value="InvalidPrice"/> <enumeration value="Milestone"/> <enumeration value="Other"/> <enumeration value="WrongProduct"/> </restriction> </simpleType> </attribute> <attribute name="ReasonDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.cip4.lib.xjdf.schema.Commentcommentprotected java.lang.Stringreasonprotected java.util.List<java.lang.String>reasonDetails
-
Constructor Summary
Constructors Constructor Description Refusal()
-
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)org.cip4.lib.xjdf.schema.CommentgetComment()Gets the value of the comment property.java.lang.StringgetReason()Gets the value of the reason property.java.util.List<java.lang.String>getReasonDetails()Gets the value of the reasonDetails property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetComment(org.cip4.lib.xjdf.schema.Comment value)Sets the value of the comment property.voidsetReason(java.lang.String value)Sets the value of the reason property.RefusalwithComment(org.cip4.lib.xjdf.schema.Comment value)RefusalwithReason(java.lang.String value)RefusalwithReasonDetails(java.lang.String... values)RefusalwithReasonDetails(java.util.Collection<java.lang.String> values)-
Methods inherited from class org.cip4.lib.xprinttalk.schema.BaseElement
getOtherAttributes
-
-
-
-
Field Detail
-
comment
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected org.cip4.lib.xjdf.schema.Comment comment
-
reason
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.lang.String reason
-
reasonDetails
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") protected java.util.List<java.lang.String> reasonDetails
-
-
Method Detail
-
getComment
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public org.cip4.lib.xjdf.schema.Comment getComment()Gets the value of the comment property.- Returns:
- possible object is
Comment
-
setComment
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setComment(org.cip4.lib.xjdf.schema.Comment value)Sets the value of the comment property.- Parameters:
value- allowed object isComment
-
getReason
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.lang.String getReason()Gets the value of the reason property.- Returns:
- possible object is
String
-
setReason
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public void setReason(java.lang.String value)Sets the value of the reason property.- Parameters:
value- allowed object isString
-
getReasonDetails
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-08T08:04:58+00:00", comments="JAXB RI v2.3.2") public java.util.List<java.lang.String> getReasonDetails()Gets the value of the reasonDetails 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 reasonDetails property.For example, to add a new item, do as follows:
getReasonDetails().add(newItem);Objects of the following type(s) are allowed in the list
String
-
withComment
public Refusal withComment(org.cip4.lib.xjdf.schema.Comment value)
-
withReason
public Refusal withReason(java.lang.String value)
-
withReasonDetails
public Refusal withReasonDetails(java.lang.String... values)
-
withReasonDetails
public Refusal withReasonDetails(java.util.Collection<java.lang.String> values)
-
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 classBaseElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBaseElement
-
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 classBaseElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseElement
-
-