Tree
+- root: JuratSignatureGrpType
| +- signatureIntentInd: String
| +- juratSignaturePIN: String
| +- signatureDt: XMLGregorianCalendar
| +- juratPersonTitleTxt: String
| +- personNm: String
Flattened
JuratSignatureGrpType.signatureIntentInd
JuratSignatureGrpType.juratSignaturePIN
JuratSignatureGrpType.signatureDt
JuratSignatureGrpType.juratPersonTitleTxt
JuratSignatureGrpType.personNm
Java Code
package modelsiris;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
*
* <pre>
* <?xml version="1.0" encoding="UTF-8"?><Component xmlns="urn:us:gov:treasury:irs:ir" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DictionaryEntryNm>Jurat Signature Group Type</DictionaryEntryNm><MajorVersionNum>1</MajorVersionNum><MinorVersionNum>0</MinorVersionNum><VersionEffectiveBeginDt>2015-09-01</VersionEffectiveBeginDt><VersionDescriptionTxt>Initial version</VersionDescriptionTxt><DescriptionTxt>A group that wraps jurat signature information.</DescriptionTxt></Component>
* </pre>
*
*
* <p>Java class for JuratSignatureGrpType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="JuratSignatureGrpType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SignatureIntentInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
* <element name="JuratSignaturePIN" type="{urn:us:gov:treasury:irs:ir}JuratSignaturePINType"/>
* <element name="SignatureDt" type="{urn:us:gov:treasury:irs:ir}DateType"/>
* <element name="JuratPersonTitleTxt" type="{urn:us:gov:treasury:irs:ir}JuratPersonTitleType"/>
* <element name="PersonNm" type="{urn:us:gov:treasury:irs:ir}PersonNameType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JuratSignatureGrpType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
"signatureIntentInd",
"juratSignaturePIN",
"signatureDt",
"juratPersonTitleTxt",
"personNm"
})
public class JuratSignatureGrpType implements Equals2, ToString2
{
@XmlElement(name = "SignatureIntentInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String signatureIntentInd;
@XmlElement(name = "JuratSignaturePIN", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String juratSignaturePIN;
@XmlElement(name = "SignatureDt", namespace = "urn:us:gov:treasury:irs:ir", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar signatureDt;
@XmlElement(name = "JuratPersonTitleTxt", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String juratPersonTitleTxt;
@XmlElement(name = "PersonNm", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String personNm;
/**
* Gets the value of the signatureIntentInd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSignatureIntentInd() {
return signatureIntentInd;
}
/**
* Sets the value of the signatureIntentInd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSignatureIntentInd(String value) {
this.signatureIntentInd = value;
}
/**
* Gets the value of the juratSignaturePIN property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJuratSignaturePIN() {
return juratSignaturePIN;
}
/**
* Sets the value of the juratSignaturePIN property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJuratSignaturePIN(String value) {
this.juratSignaturePIN = value;
}
/**
* Gets the value of the signatureDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getSignatureDt() {
return signatureDt;
}
/**
* Sets the value of the signatureDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setSignatureDt(XMLGregorianCalendar value) {
this.signatureDt = value;
}
/**
* Gets the value of the juratPersonTitleTxt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJuratPersonTitleTxt() {
return juratPersonTitleTxt;
}
/**
* Sets the value of the juratPersonTitleTxt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJuratPersonTitleTxt(String value) {
this.juratPersonTitleTxt = value;
}
/**
* Gets the value of the personNm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPersonNm() {
return personNm;
}
/**
* Sets the value of the personNm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPersonNm(String value) {
this.personNm = value;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
String theSignatureIntentInd;
theSignatureIntentInd = this.getSignatureIntentInd();
strategy.appendField(locator, this, "signatureIntentInd", buffer, theSignatureIntentInd, (this.signatureIntentInd!= null));
}
{
String theJuratSignaturePIN;
theJuratSignaturePIN = this.getJuratSignaturePIN();
strategy.appendField(locator, this, "juratSignaturePIN", buffer, theJuratSignaturePIN, (this.juratSignaturePIN!= null));
}
{
XMLGregorianCalendar theSignatureDt;
theSignatureDt = this.getSignatureDt();
strategy.appendField(locator, this, "signatureDt", buffer, theSignatureDt, (this.signatureDt!= null));
}
{
String theJuratPersonTitleTxt;
theJuratPersonTitleTxt = this.getJuratPersonTitleTxt();
strategy.appendField(locator, this, "juratPersonTitleTxt", buffer, theJuratPersonTitleTxt, (this.juratPersonTitleTxt!= null));
}
{
String thePersonNm;
thePersonNm = this.getPersonNm();
strategy.appendField(locator, this, "personNm", buffer, thePersonNm, (this.personNm!= null));
}
return buffer;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final JuratSignatureGrpType that = ((JuratSignatureGrpType) object);
{
String lhsSignatureIntentInd;
lhsSignatureIntentInd = this.getSignatureIntentInd();
String rhsSignatureIntentInd;
rhsSignatureIntentInd = that.getSignatureIntentInd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "signatureIntentInd", lhsSignatureIntentInd), LocatorUtils.property(thatLocator, "signatureIntentInd", rhsSignatureIntentInd), lhsSignatureIntentInd, rhsSignatureIntentInd, (this.signatureIntentInd!= null), (that.signatureIntentInd!= null))) {
return false;
}
}
{
String lhsJuratSignaturePIN;
lhsJuratSignaturePIN = this.getJuratSignaturePIN();
String rhsJuratSignaturePIN;
rhsJuratSignaturePIN = that.getJuratSignaturePIN();
if (!strategy.equals(LocatorUtils.property(thisLocator, "juratSignaturePIN", lhsJuratSignaturePIN), LocatorUtils.property(thatLocator, "juratSignaturePIN", rhsJuratSignaturePIN), lhsJuratSignaturePIN, rhsJuratSignaturePIN, (this.juratSignaturePIN!= null), (that.juratSignaturePIN!= null))) {
return false;
}
}
{
XMLGregorianCalendar lhsSignatureDt;
lhsSignatureDt = this.getSignatureDt();
XMLGregorianCalendar rhsSignatureDt;
rhsSignatureDt = that.getSignatureDt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "signatureDt", lhsSignatureDt), LocatorUtils.property(thatLocator, "signatureDt", rhsSignatureDt), lhsSignatureDt, rhsSignatureDt, (this.signatureDt!= null), (that.signatureDt!= null))) {
return false;
}
}
{
String lhsJuratPersonTitleTxt;
lhsJuratPersonTitleTxt = this.getJuratPersonTitleTxt();
String rhsJuratPersonTitleTxt;
rhsJuratPersonTitleTxt = that.getJuratPersonTitleTxt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "juratPersonTitleTxt", lhsJuratPersonTitleTxt), LocatorUtils.property(thatLocator, "juratPersonTitleTxt", rhsJuratPersonTitleTxt), lhsJuratPersonTitleTxt, rhsJuratPersonTitleTxt, (this.juratPersonTitleTxt!= null), (that.juratPersonTitleTxt!= null))) {
return false;
}
}
{
String lhsPersonNm;
lhsPersonNm = this.getPersonNm();
String rhsPersonNm;
rhsPersonNm = that.getPersonNm();
if (!strategy.equals(LocatorUtils.property(thisLocator, "personNm", lhsPersonNm), LocatorUtils.property(thatLocator, "personNm", rhsPersonNm), lhsPersonNm, rhsPersonNm, (this.personNm!= null), (that.personNm!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
}