simpletypeattributes.SimpleTypeAttributes Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.03.31 at 04:48:39 AM UTC
//
package simpletypeattributes;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
import com.github.jcustenborder.kafka.connect.xml.Connectable;
import com.github.jcustenborder.kafka.connect.xml.ConnectableHelper;
import org.apache.kafka.connect.data.Date;
import org.apache.kafka.connect.data.Decimal;
import org.apache.kafka.connect.data.Schema;
import org.apache.kafka.connect.data.SchemaBuilder;
import org.apache.kafka.connect.data.Struct;
import org.apache.kafka.connect.data.Time;
import org.apache.kafka.connect.data.Timestamp;
/**
* Java class for simpleTypeAttributes complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="simpleTypeAttributes">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="test_anyURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="test_base64Binary" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
* <attribute name="test_boolean" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="test_byte" type="{http://www.w3.org/2001/XMLSchema}byte" />
* <attribute name="test_date" type="{http://www.w3.org/2001/XMLSchema}date" />
* <attribute name="test_dateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="test_decimal" type="{http://www.w3.org/2001/XMLSchema}decimal" />
* <attribute name="test_double" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="test_duration" type="{http://www.w3.org/2001/XMLSchema}duration" />
* <attribute name="test_ENTITY" type="{http://www.w3.org/2001/XMLSchema}ENTITY" />
* <attribute name="test_float" type="{http://www.w3.org/2001/XMLSchema}float" />
* <attribute name="test_gDay" type="{http://www.w3.org/2001/XMLSchema}gDay" />
* <attribute name="test_gMonth" type="{http://www.w3.org/2001/XMLSchema}gMonth" />
* <attribute name="test_gMonthDay" type="{http://www.w3.org/2001/XMLSchema}gMonthDay" />
* <attribute name="test_gYear" type="{http://www.w3.org/2001/XMLSchema}gYear" />
* <attribute name="test_gYearMonth" type="{http://www.w3.org/2001/XMLSchema}gYearMonth" />
* <attribute name="test_hexBinary" type="{http://www.w3.org/2001/XMLSchema}hexBinary" />
* <attribute name="test_ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="test_int" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="test_integer" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="test_language" type="{http://www.w3.org/2001/XMLSchema}language" />
* <attribute name="test_long" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="test_Name" type="{http://www.w3.org/2001/XMLSchema}Name" />
* <attribute name="test_NCName" type="{http://www.w3.org/2001/XMLSchema}NCName" />
* <attribute name="test_negativeInteger" type="{http://www.w3.org/2001/XMLSchema}negativeInteger" />
* <attribute name="test_NMTOKEN" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* <attribute name="test_nonNegativeInteger" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* <attribute name="test_nonPositiveInteger" type="{http://www.w3.org/2001/XMLSchema}nonPositiveInteger" />
* <attribute name="test_normalizedString" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* <attribute name="test_positiveInteger" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
* <attribute name="test_QName" type="{http://www.w3.org/2001/XMLSchema}QName" />
* <attribute name="test_short" type="{http://www.w3.org/2001/XMLSchema}short" />
* <attribute name="test_string" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="test_time" type="{http://www.w3.org/2001/XMLSchema}time" />
* <attribute name="test_token" type="{http://www.w3.org/2001/XMLSchema}token" />
* <attribute name="test_unsignedByte" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
* <attribute name="test_unsignedInt" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="test_unsignedLong" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* <attribute name="test_unsignedShort" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
* <anyAttribute/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "simpleTypeAttributes")
public class SimpleTypeAttributes
implements Connectable
{
@XmlAttribute(name = "test_anyURI")
@XmlSchemaType(name = "anyURI")
protected String testAnyURI;
@XmlAttribute(name = "test_base64Binary")
protected byte[] testBase64Binary;
@XmlAttribute(name = "test_boolean")
protected Boolean testBoolean;
@XmlAttribute(name = "test_byte")
protected Byte testByte;
@XmlAttribute(name = "test_date")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar testDate;
@XmlAttribute(name = "test_dateTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar testDateTime;
@XmlAttribute(name = "test_decimal")
protected BigDecimal testDecimal;
@XmlAttribute(name = "test_double")
protected Double testDouble;
@XmlAttribute(name = "test_duration")
protected Duration testDuration;
@XmlAttribute(name = "test_ENTITY")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "ENTITY")
protected String testENTITY;
@XmlAttribute(name = "test_float")
protected Float testFloat;
@XmlAttribute(name = "test_gDay")
@XmlSchemaType(name = "gDay")
protected XMLGregorianCalendar testGDay;
@XmlAttribute(name = "test_gMonth")
@XmlSchemaType(name = "gMonth")
protected XMLGregorianCalendar testGMonth;
@XmlAttribute(name = "test_gMonthDay")
@XmlSchemaType(name = "gMonthDay")
protected XMLGregorianCalendar testGMonthDay;
@XmlAttribute(name = "test_gYear")
@XmlSchemaType(name = "gYear")
protected XMLGregorianCalendar testGYear;
@XmlAttribute(name = "test_gYearMonth")
@XmlSchemaType(name = "gYearMonth")
protected XMLGregorianCalendar testGYearMonth;
@XmlAttribute(name = "test_hexBinary")
@XmlJavaTypeAdapter(HexBinaryAdapter.class)
@XmlSchemaType(name = "hexBinary")
protected byte[] testHexBinary;
@XmlAttribute(name = "test_ID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String testID;
@XmlAttribute(name = "test_int")
protected Integer testInt;
@XmlAttribute(name = "test_integer")
protected BigInteger testInteger;
@XmlAttribute(name = "test_language")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String testLanguage;
@XmlAttribute(name = "test_long")
protected Long testLong;
@XmlAttribute(name = "test_Name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "Name")
protected String testName;
@XmlAttribute(name = "test_NCName")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String testNCName;
@XmlAttribute(name = "test_negativeInteger")
@XmlSchemaType(name = "negativeInteger")
protected BigInteger testNegativeInteger;
@XmlAttribute(name = "test_NMTOKEN")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String testNMTOKEN;
@XmlAttribute(name = "test_nonNegativeInteger")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger testNonNegativeInteger;
@XmlAttribute(name = "test_nonPositiveInteger")
@XmlSchemaType(name = "nonPositiveInteger")
protected BigInteger testNonPositiveInteger;
@XmlAttribute(name = "test_normalizedString")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String testNormalizedString;
@XmlAttribute(name = "test_positiveInteger")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger testPositiveInteger;
@XmlAttribute(name = "test_QName")
protected QName testQName;
@XmlAttribute(name = "test_short")
protected Short testShort;
@XmlAttribute(name = "test_string")
protected String testString;
@XmlAttribute(name = "test_time")
@XmlSchemaType(name = "time")
protected XMLGregorianCalendar testTime;
@XmlAttribute(name = "test_token")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String testToken;
@XmlAttribute(name = "test_unsignedByte")
@XmlSchemaType(name = "unsignedByte")
protected Short testUnsignedByte;
@XmlAttribute(name = "test_unsignedInt")
@XmlSchemaType(name = "unsignedInt")
protected Long testUnsignedInt;
@XmlAttribute(name = "test_unsignedLong")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger testUnsignedLong;
@XmlAttribute(name = "test_unsignedShort")
@XmlSchemaType(name = "unsignedShort")
protected Integer testUnsignedShort;
@XmlAnyAttribute
private Map otherAttributes = new HashMap();
public final static Schema CONNECT_SCHEMA;
static {
SchemaBuilder builder = SchemaBuilder.struct();
builder.name("simpletypeattributes.SimpleTypeAttributes");
builder.optional();
SchemaBuilder fieldBuilder;
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_anyURI", fieldBuilder.build());
fieldBuilder = SchemaBuilder.bytes();
fieldBuilder.optional();
builder.field("test_base64Binary", fieldBuilder.build());
fieldBuilder = SchemaBuilder.bool();
fieldBuilder.optional();
builder.field("test_boolean", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int8();
fieldBuilder.optional();
builder.field("test_byte", fieldBuilder.build());
fieldBuilder = Date.builder();
fieldBuilder.optional();
builder.field("test_date", fieldBuilder.build());
fieldBuilder = Timestamp.builder();
fieldBuilder.optional();
builder.field("test_dateTime", fieldBuilder.build());
fieldBuilder = Decimal.builder(12);
fieldBuilder.optional();
builder.field("test_decimal", fieldBuilder.build());
fieldBuilder = SchemaBuilder.float64();
fieldBuilder.optional();
builder.field("test_double", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_duration", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_ENTITY", fieldBuilder.build());
fieldBuilder = SchemaBuilder.float32();
fieldBuilder.optional();
builder.field("test_float", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int32();
fieldBuilder.optional();
builder.field("test_gDay", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int32();
fieldBuilder.optional();
builder.field("test_gMonth", fieldBuilder.build());
fieldBuilder = Date.builder();
fieldBuilder.optional();
builder.field("test_gMonthDay", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int32();
fieldBuilder.optional();
builder.field("test_gYear", fieldBuilder.build());
fieldBuilder = Date.builder();
fieldBuilder.optional();
builder.field("test_gYearMonth", fieldBuilder.build());
fieldBuilder = SchemaBuilder.bytes();
fieldBuilder.optional();
builder.field("test_hexBinary", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_ID", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int32();
fieldBuilder.optional();
builder.field("test_int", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_integer", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_language", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_long", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_Name", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_NCName", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_negativeInteger", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_NMTOKEN", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_nonNegativeInteger", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_nonPositiveInteger", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_normalizedString", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_positiveInteger", fieldBuilder.build());
fieldBuilder = ConnectableHelper.qnameBuilder();
fieldBuilder.optional();
builder.field("test_QName", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int16();
fieldBuilder.optional();
builder.field("test_short", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_string", fieldBuilder.build());
fieldBuilder = Time.builder();
fieldBuilder.optional();
builder.field("test_time", fieldBuilder.build());
fieldBuilder = SchemaBuilder.string();
fieldBuilder.optional();
builder.field("test_token", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int16();
fieldBuilder.optional();
builder.field("test_unsignedByte", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_unsignedInt", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int64();
fieldBuilder.optional();
builder.field("test_unsignedLong", fieldBuilder.build());
fieldBuilder = SchemaBuilder.int32();
fieldBuilder.optional();
builder.field("test_unsignedShort", fieldBuilder.build());
fieldBuilder = SchemaBuilder.map(ConnectableHelper.QNAME_SCHEMA, Schema.OPTIONAL_STRING_SCHEMA);
fieldBuilder.optional();
builder.field("otherAttributes", fieldBuilder.build());
CONNECT_SCHEMA = builder.build();
}
/**
* Gets the value of the testAnyURI property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestAnyURI() {
return testAnyURI;
}
/**
* Sets the value of the testAnyURI property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestAnyURI(String value) {
this.testAnyURI = value;
}
/**
* Gets the value of the testBase64Binary property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getTestBase64Binary() {
return testBase64Binary;
}
/**
* Sets the value of the testBase64Binary property.
*
* @param value
* allowed object is
* byte[]
*/
public void setTestBase64Binary(byte[] value) {
this.testBase64Binary = value;
}
/**
* Gets the value of the testBoolean property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTestBoolean() {
return testBoolean;
}
/**
* Sets the value of the testBoolean property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTestBoolean(Boolean value) {
this.testBoolean = value;
}
/**
* Gets the value of the testByte property.
*
* @return
* possible object is
* {@link Byte }
*
*/
public Byte getTestByte() {
return testByte;
}
/**
* Sets the value of the testByte property.
*
* @param value
* allowed object is
* {@link Byte }
*
*/
public void setTestByte(Byte value) {
this.testByte = value;
}
/**
* Gets the value of the testDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTestDate() {
return testDate;
}
/**
* Sets the value of the testDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTestDate(XMLGregorianCalendar value) {
this.testDate = value;
}
/**
* Gets the value of the testDateTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTestDateTime() {
return testDateTime;
}
/**
* Sets the value of the testDateTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTestDateTime(XMLGregorianCalendar value) {
this.testDateTime = value;
}
/**
* Gets the value of the testDecimal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTestDecimal() {
return testDecimal;
}
/**
* Sets the value of the testDecimal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setTestDecimal(BigDecimal value) {
this.testDecimal = value;
}
/**
* Gets the value of the testDouble property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getTestDouble() {
return testDouble;
}
/**
* Sets the value of the testDouble property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setTestDouble(Double value) {
this.testDouble = value;
}
/**
* Gets the value of the testDuration property.
*
* @return
* possible object is
* {@link Duration }
*
*/
public Duration getTestDuration() {
return testDuration;
}
/**
* Sets the value of the testDuration property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
public void setTestDuration(Duration value) {
this.testDuration = value;
}
/**
* Gets the value of the testENTITY property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestENTITY() {
return testENTITY;
}
/**
* Sets the value of the testENTITY property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestENTITY(String value) {
this.testENTITY = value;
}
/**
* Gets the value of the testFloat property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getTestFloat() {
return testFloat;
}
/**
* Sets the value of the testFloat property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setTestFloat(Float value) {
this.testFloat = value;
}
/**
* Gets the value of the testGDay property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTestGDay() {
return testGDay;
}
/**
* Sets the value of the testGDay property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTestGDay(XMLGregorianCalendar value) {
this.testGDay = value;
}
/**
* Gets the value of the testGMonth property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTestGMonth() {
return testGMonth;
}
/**
* Sets the value of the testGMonth property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTestGMonth(XMLGregorianCalendar value) {
this.testGMonth = value;
}
/**
* Gets the value of the testGMonthDay property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTestGMonthDay() {
return testGMonthDay;
}
/**
* Sets the value of the testGMonthDay property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTestGMonthDay(XMLGregorianCalendar value) {
this.testGMonthDay = value;
}
/**
* Gets the value of the testGYear property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTestGYear() {
return testGYear;
}
/**
* Sets the value of the testGYear property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTestGYear(XMLGregorianCalendar value) {
this.testGYear = value;
}
/**
* Gets the value of the testGYearMonth property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTestGYearMonth() {
return testGYearMonth;
}
/**
* Sets the value of the testGYearMonth property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTestGYearMonth(XMLGregorianCalendar value) {
this.testGYearMonth = value;
}
/**
* Gets the value of the testHexBinary property.
*
* @return
* possible object is
* {@link String }
*
*/
public byte[] getTestHexBinary() {
return testHexBinary;
}
/**
* Sets the value of the testHexBinary property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestHexBinary(byte[] value) {
this.testHexBinary = value;
}
/**
* Gets the value of the testID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestID() {
return testID;
}
/**
* Sets the value of the testID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestID(String value) {
this.testID = value;
}
/**
* Gets the value of the testInt property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getTestInt() {
return testInt;
}
/**
* Sets the value of the testInt property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setTestInt(Integer value) {
this.testInt = value;
}
/**
* Gets the value of the testInteger property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTestInteger() {
return testInteger;
}
/**
* Sets the value of the testInteger property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTestInteger(BigInteger value) {
this.testInteger = value;
}
/**
* Gets the value of the testLanguage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestLanguage() {
return testLanguage;
}
/**
* Sets the value of the testLanguage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestLanguage(String value) {
this.testLanguage = value;
}
/**
* Gets the value of the testLong property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getTestLong() {
return testLong;
}
/**
* Sets the value of the testLong property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setTestLong(Long value) {
this.testLong = value;
}
/**
* Gets the value of the testName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestName() {
return testName;
}
/**
* Sets the value of the testName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestName(String value) {
this.testName = value;
}
/**
* Gets the value of the testNCName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestNCName() {
return testNCName;
}
/**
* Sets the value of the testNCName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestNCName(String value) {
this.testNCName = value;
}
/**
* Gets the value of the testNegativeInteger property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTestNegativeInteger() {
return testNegativeInteger;
}
/**
* Sets the value of the testNegativeInteger property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTestNegativeInteger(BigInteger value) {
this.testNegativeInteger = value;
}
/**
* Gets the value of the testNMTOKEN property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestNMTOKEN() {
return testNMTOKEN;
}
/**
* Sets the value of the testNMTOKEN property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestNMTOKEN(String value) {
this.testNMTOKEN = value;
}
/**
* Gets the value of the testNonNegativeInteger property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTestNonNegativeInteger() {
return testNonNegativeInteger;
}
/**
* Sets the value of the testNonNegativeInteger property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTestNonNegativeInteger(BigInteger value) {
this.testNonNegativeInteger = value;
}
/**
* Gets the value of the testNonPositiveInteger property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTestNonPositiveInteger() {
return testNonPositiveInteger;
}
/**
* Sets the value of the testNonPositiveInteger property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTestNonPositiveInteger(BigInteger value) {
this.testNonPositiveInteger = value;
}
/**
* Gets the value of the testNormalizedString property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestNormalizedString() {
return testNormalizedString;
}
/**
* Sets the value of the testNormalizedString property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestNormalizedString(String value) {
this.testNormalizedString = value;
}
/**
* Gets the value of the testPositiveInteger property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTestPositiveInteger() {
return testPositiveInteger;
}
/**
* Sets the value of the testPositiveInteger property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTestPositiveInteger(BigInteger value) {
this.testPositiveInteger = value;
}
/**
* Gets the value of the testQName property.
*
* @return
* possible object is
* {@link QName }
*
*/
public QName getTestQName() {
return testQName;
}
/**
* Sets the value of the testQName property.
*
* @param value
* allowed object is
* {@link QName }
*
*/
public void setTestQName(QName value) {
this.testQName = value;
}
/**
* Gets the value of the testShort property.
*
* @return
* possible object is
* {@link Short }
*
*/
public Short getTestShort() {
return testShort;
}
/**
* Sets the value of the testShort property.
*
* @param value
* allowed object is
* {@link Short }
*
*/
public void setTestShort(Short value) {
this.testShort = value;
}
/**
* Gets the value of the testString property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestString() {
return testString;
}
/**
* Sets the value of the testString property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestString(String value) {
this.testString = value;
}
/**
* Gets the value of the testTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTestTime() {
return testTime;
}
/**
* Sets the value of the testTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTestTime(XMLGregorianCalendar value) {
this.testTime = value;
}
/**
* Gets the value of the testToken property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestToken() {
return testToken;
}
/**
* Sets the value of the testToken property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestToken(String value) {
this.testToken = value;
}
/**
* Gets the value of the testUnsignedByte property.
*
* @return
* possible object is
* {@link Short }
*
*/
public Short getTestUnsignedByte() {
return testUnsignedByte;
}
/**
* Sets the value of the testUnsignedByte property.
*
* @param value
* allowed object is
* {@link Short }
*
*/
public void setTestUnsignedByte(Short value) {
this.testUnsignedByte = value;
}
/**
* Gets the value of the testUnsignedInt property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getTestUnsignedInt() {
return testUnsignedInt;
}
/**
* Sets the value of the testUnsignedInt property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setTestUnsignedInt(Long value) {
this.testUnsignedInt = value;
}
/**
* Gets the value of the testUnsignedLong property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTestUnsignedLong() {
return testUnsignedLong;
}
/**
* Sets the value of the testUnsignedLong property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTestUnsignedLong(BigInteger value) {
this.testUnsignedLong = value;
}
/**
* Gets the value of the testUnsignedShort property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getTestUnsignedShort() {
return testUnsignedShort;
}
/**
* Sets the value of the testUnsignedShort property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setTestUnsignedShort(Integer value) {
this.testUnsignedShort = value;
}
/**
* 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.
*
*
* @return
* always non-null
*/
public Map getOtherAttributes() {
return otherAttributes;
}
public boolean equals(Object object) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final SimpleTypeAttributes that = ((SimpleTypeAttributes) object);
{
String leftTestAnyURI;
leftTestAnyURI = this.getTestAnyURI();
String rightTestAnyURI;
rightTestAnyURI = that.getTestAnyURI();
if (this.testAnyURI!= null) {
if (that.testAnyURI!= null) {
if (!leftTestAnyURI.equals(rightTestAnyURI)) {
return false;
}
} else {
return false;
}
} else {
if (that.testAnyURI!= null) {
return false;
}
}
}
{
byte[] leftTestBase64Binary;
leftTestBase64Binary = this.getTestBase64Binary();
byte[] rightTestBase64Binary;
rightTestBase64Binary = that.getTestBase64Binary();
if (this.testBase64Binary!= null) {
if (that.testBase64Binary!= null) {
if (!Arrays.equals(leftTestBase64Binary, rightTestBase64Binary)) {
return false;
}
} else {
return false;
}
} else {
if (that.testBase64Binary!= null) {
return false;
}
}
}
{
Boolean leftTestBoolean;
leftTestBoolean = this.isTestBoolean();
Boolean rightTestBoolean;
rightTestBoolean = that.isTestBoolean();
if (this.testBoolean!= null) {
if (that.testBoolean!= null) {
if (!leftTestBoolean.equals(rightTestBoolean)) {
return false;
}
} else {
return false;
}
} else {
if (that.testBoolean!= null) {
return false;
}
}
}
{
Byte leftTestByte;
leftTestByte = this.getTestByte();
Byte rightTestByte;
rightTestByte = that.getTestByte();
if (this.testByte!= null) {
if (that.testByte!= null) {
if (!leftTestByte.equals(rightTestByte)) {
return false;
}
} else {
return false;
}
} else {
if (that.testByte!= null) {
return false;
}
}
}
{
XMLGregorianCalendar leftTestDate;
leftTestDate = this.getTestDate();
XMLGregorianCalendar rightTestDate;
rightTestDate = that.getTestDate();
if (this.testDate!= null) {
if (that.testDate!= null) {
if (!leftTestDate.equals(rightTestDate)) {
return false;
}
} else {
return false;
}
} else {
if (that.testDate!= null) {
return false;
}
}
}
{
XMLGregorianCalendar leftTestDateTime;
leftTestDateTime = this.getTestDateTime();
XMLGregorianCalendar rightTestDateTime;
rightTestDateTime = that.getTestDateTime();
if (this.testDateTime!= null) {
if (that.testDateTime!= null) {
if (!leftTestDateTime.equals(rightTestDateTime)) {
return false;
}
} else {
return false;
}
} else {
if (that.testDateTime!= null) {
return false;
}
}
}
{
BigDecimal leftTestDecimal;
leftTestDecimal = this.getTestDecimal();
BigDecimal rightTestDecimal;
rightTestDecimal = that.getTestDecimal();
if (this.testDecimal!= null) {
if (that.testDecimal!= null) {
if (!leftTestDecimal.equals(rightTestDecimal)) {
return false;
}
} else {
return false;
}
} else {
if (that.testDecimal!= null) {
return false;
}
}
}
{
Double leftTestDouble;
leftTestDouble = this.getTestDouble();
Double rightTestDouble;
rightTestDouble = that.getTestDouble();
if (this.testDouble!= null) {
if (that.testDouble!= null) {
if (!leftTestDouble.equals(rightTestDouble)) {
return false;
}
} else {
return false;
}
} else {
if (that.testDouble!= null) {
return false;
}
}
}
{
Duration leftTestDuration;
leftTestDuration = this.getTestDuration();
Duration rightTestDuration;
rightTestDuration = that.getTestDuration();
if (this.testDuration!= null) {
if (that.testDuration!= null) {
if (!leftTestDuration.equals(rightTestDuration)) {
return false;
}
} else {
return false;
}
} else {
if (that.testDuration!= null) {
return false;
}
}
}
{
String leftTestENTITY;
leftTestENTITY = this.getTestENTITY();
String rightTestENTITY;
rightTestENTITY = that.getTestENTITY();
if (this.testENTITY!= null) {
if (that.testENTITY!= null) {
if (!leftTestENTITY.equals(rightTestENTITY)) {
return false;
}
} else {
return false;
}
} else {
if (that.testENTITY!= null) {
return false;
}
}
}
{
Float leftTestFloat;
leftTestFloat = this.getTestFloat();
Float rightTestFloat;
rightTestFloat = that.getTestFloat();
if (this.testFloat!= null) {
if (that.testFloat!= null) {
if (!leftTestFloat.equals(rightTestFloat)) {
return false;
}
} else {
return false;
}
} else {
if (that.testFloat!= null) {
return false;
}
}
}
{
XMLGregorianCalendar leftTestGDay;
leftTestGDay = this.getTestGDay();
XMLGregorianCalendar rightTestGDay;
rightTestGDay = that.getTestGDay();
if (this.testGDay!= null) {
if (that.testGDay!= null) {
if (!leftTestGDay.equals(rightTestGDay)) {
return false;
}
} else {
return false;
}
} else {
if (that.testGDay!= null) {
return false;
}
}
}
{
XMLGregorianCalendar leftTestGMonth;
leftTestGMonth = this.getTestGMonth();
XMLGregorianCalendar rightTestGMonth;
rightTestGMonth = that.getTestGMonth();
if (this.testGMonth!= null) {
if (that.testGMonth!= null) {
if (!leftTestGMonth.equals(rightTestGMonth)) {
return false;
}
} else {
return false;
}
} else {
if (that.testGMonth!= null) {
return false;
}
}
}
{
XMLGregorianCalendar leftTestGMonthDay;
leftTestGMonthDay = this.getTestGMonthDay();
XMLGregorianCalendar rightTestGMonthDay;
rightTestGMonthDay = that.getTestGMonthDay();
if (this.testGMonthDay!= null) {
if (that.testGMonthDay!= null) {
if (!leftTestGMonthDay.equals(rightTestGMonthDay)) {
return false;
}
} else {
return false;
}
} else {
if (that.testGMonthDay!= null) {
return false;
}
}
}
{
XMLGregorianCalendar leftTestGYear;
leftTestGYear = this.getTestGYear();
XMLGregorianCalendar rightTestGYear;
rightTestGYear = that.getTestGYear();
if (this.testGYear!= null) {
if (that.testGYear!= null) {
if (!leftTestGYear.equals(rightTestGYear)) {
return false;
}
} else {
return false;
}
} else {
if (that.testGYear!= null) {
return false;
}
}
}
{
XMLGregorianCalendar leftTestGYearMonth;
leftTestGYearMonth = this.getTestGYearMonth();
XMLGregorianCalendar rightTestGYearMonth;
rightTestGYearMonth = that.getTestGYearMonth();
if (this.testGYearMonth!= null) {
if (that.testGYearMonth!= null) {
if (!leftTestGYearMonth.equals(rightTestGYearMonth)) {
return false;
}
} else {
return false;
}
} else {
if (that.testGYearMonth!= null) {
return false;
}
}
}
{
byte[] leftTestHexBinary;
leftTestHexBinary = this.getTestHexBinary();
byte[] rightTestHexBinary;
rightTestHexBinary = that.getTestHexBinary();
if (this.testHexBinary!= null) {
if (that.testHexBinary!= null) {
if (!Arrays.equals(leftTestHexBinary, rightTestHexBinary)) {
return false;
}
} else {
return false;
}
} else {
if (that.testHexBinary!= null) {
return false;
}
}
}
{
String leftTestID;
leftTestID = this.getTestID();
String rightTestID;
rightTestID = that.getTestID();
if (this.testID!= null) {
if (that.testID!= null) {
if (!leftTestID.equals(rightTestID)) {
return false;
}
} else {
return false;
}
} else {
if (that.testID!= null) {
return false;
}
}
}
{
Integer leftTestInt;
leftTestInt = this.getTestInt();
Integer rightTestInt;
rightTestInt = that.getTestInt();
if (this.testInt!= null) {
if (that.testInt!= null) {
if (!leftTestInt.equals(rightTestInt)) {
return false;
}
} else {
return false;
}
} else {
if (that.testInt!= null) {
return false;
}
}
}
{
BigInteger leftTestInteger;
leftTestInteger = this.getTestInteger();
BigInteger rightTestInteger;
rightTestInteger = that.getTestInteger();
if (this.testInteger!= null) {
if (that.testInteger!= null) {
if (!leftTestInteger.equals(rightTestInteger)) {
return false;
}
} else {
return false;
}
} else {
if (that.testInteger!= null) {
return false;
}
}
}
{
String leftTestLanguage;
leftTestLanguage = this.getTestLanguage();
String rightTestLanguage;
rightTestLanguage = that.getTestLanguage();
if (this.testLanguage!= null) {
if (that.testLanguage!= null) {
if (!leftTestLanguage.equals(rightTestLanguage)) {
return false;
}
} else {
return false;
}
} else {
if (that.testLanguage!= null) {
return false;
}
}
}
{
Long leftTestLong;
leftTestLong = this.getTestLong();
Long rightTestLong;
rightTestLong = that.getTestLong();
if (this.testLong!= null) {
if (that.testLong!= null) {
if (!leftTestLong.equals(rightTestLong)) {
return false;
}
} else {
return false;
}
} else {
if (that.testLong!= null) {
return false;
}
}
}
{
String leftTestName;
leftTestName = this.getTestName();
String rightTestName;
rightTestName = that.getTestName();
if (this.testName!= null) {
if (that.testName!= null) {
if (!leftTestName.equals(rightTestName)) {
return false;
}
} else {
return false;
}
} else {
if (that.testName!= null) {
return false;
}
}
}
{
String leftTestNCName;
leftTestNCName = this.getTestNCName();
String rightTestNCName;
rightTestNCName = that.getTestNCName();
if (this.testNCName!= null) {
if (that.testNCName!= null) {
if (!leftTestNCName.equals(rightTestNCName)) {
return false;
}
} else {
return false;
}
} else {
if (that.testNCName!= null) {
return false;
}
}
}
{
BigInteger leftTestNegativeInteger;
leftTestNegativeInteger = this.getTestNegativeInteger();
BigInteger rightTestNegativeInteger;
rightTestNegativeInteger = that.getTestNegativeInteger();
if (this.testNegativeInteger!= null) {
if (that.testNegativeInteger!= null) {
if (!leftTestNegativeInteger.equals(rightTestNegativeInteger)) {
return false;
}
} else {
return false;
}
} else {
if (that.testNegativeInteger!= null) {
return false;
}
}
}
{
String leftTestNMTOKEN;
leftTestNMTOKEN = this.getTestNMTOKEN();
String rightTestNMTOKEN;
rightTestNMTOKEN = that.getTestNMTOKEN();
if (this.testNMTOKEN!= null) {
if (that.testNMTOKEN!= null) {
if (!leftTestNMTOKEN.equals(rightTestNMTOKEN)) {
return false;
}
} else {
return false;
}
} else {
if (that.testNMTOKEN!= null) {
return false;
}
}
}
{
BigInteger leftTestNonNegativeInteger;
leftTestNonNegativeInteger = this.getTestNonNegativeInteger();
BigInteger rightTestNonNegativeInteger;
rightTestNonNegativeInteger = that.getTestNonNegativeInteger();
if (this.testNonNegativeInteger!= null) {
if (that.testNonNegativeInteger!= null) {
if (!leftTestNonNegativeInteger.equals(rightTestNonNegativeInteger)) {
return false;
}
} else {
return false;
}
} else {
if (that.testNonNegativeInteger!= null) {
return false;
}
}
}
{
BigInteger leftTestNonPositiveInteger;
leftTestNonPositiveInteger = this.getTestNonPositiveInteger();
BigInteger rightTestNonPositiveInteger;
rightTestNonPositiveInteger = that.getTestNonPositiveInteger();
if (this.testNonPositiveInteger!= null) {
if (that.testNonPositiveInteger!= null) {
if (!leftTestNonPositiveInteger.equals(rightTestNonPositiveInteger)) {
return false;
}
} else {
return false;
}
} else {
if (that.testNonPositiveInteger!= null) {
return false;
}
}
}
{
String leftTestNormalizedString;
leftTestNormalizedString = this.getTestNormalizedString();
String rightTestNormalizedString;
rightTestNormalizedString = that.getTestNormalizedString();
if (this.testNormalizedString!= null) {
if (that.testNormalizedString!= null) {
if (!leftTestNormalizedString.equals(rightTestNormalizedString)) {
return false;
}
} else {
return false;
}
} else {
if (that.testNormalizedString!= null) {
return false;
}
}
}
{
BigInteger leftTestPositiveInteger;
leftTestPositiveInteger = this.getTestPositiveInteger();
BigInteger rightTestPositiveInteger;
rightTestPositiveInteger = that.getTestPositiveInteger();
if (this.testPositiveInteger!= null) {
if (that.testPositiveInteger!= null) {
if (!leftTestPositiveInteger.equals(rightTestPositiveInteger)) {
return false;
}
} else {
return false;
}
} else {
if (that.testPositiveInteger!= null) {
return false;
}
}
}
{
QName leftTestQName;
leftTestQName = this.getTestQName();
QName rightTestQName;
rightTestQName = that.getTestQName();
if (this.testQName!= null) {
if (that.testQName!= null) {
if (!leftTestQName.equals(rightTestQName)) {
return false;
}
} else {
return false;
}
} else {
if (that.testQName!= null) {
return false;
}
}
}
{
Short leftTestShort;
leftTestShort = this.getTestShort();
Short rightTestShort;
rightTestShort = that.getTestShort();
if (this.testShort!= null) {
if (that.testShort!= null) {
if (!leftTestShort.equals(rightTestShort)) {
return false;
}
} else {
return false;
}
} else {
if (that.testShort!= null) {
return false;
}
}
}
{
String leftTestString;
leftTestString = this.getTestString();
String rightTestString;
rightTestString = that.getTestString();
if (this.testString!= null) {
if (that.testString!= null) {
if (!leftTestString.equals(rightTestString)) {
return false;
}
} else {
return false;
}
} else {
if (that.testString!= null) {
return false;
}
}
}
{
XMLGregorianCalendar leftTestTime;
leftTestTime = this.getTestTime();
XMLGregorianCalendar rightTestTime;
rightTestTime = that.getTestTime();
if (this.testTime!= null) {
if (that.testTime!= null) {
if (!leftTestTime.equals(rightTestTime)) {
return false;
}
} else {
return false;
}
} else {
if (that.testTime!= null) {
return false;
}
}
}
{
String leftTestToken;
leftTestToken = this.getTestToken();
String rightTestToken;
rightTestToken = that.getTestToken();
if (this.testToken!= null) {
if (that.testToken!= null) {
if (!leftTestToken.equals(rightTestToken)) {
return false;
}
} else {
return false;
}
} else {
if (that.testToken!= null) {
return false;
}
}
}
{
Short leftTestUnsignedByte;
leftTestUnsignedByte = this.getTestUnsignedByte();
Short rightTestUnsignedByte;
rightTestUnsignedByte = that.getTestUnsignedByte();
if (this.testUnsignedByte!= null) {
if (that.testUnsignedByte!= null) {
if (!leftTestUnsignedByte.equals(rightTestUnsignedByte)) {
return false;
}
} else {
return false;
}
} else {
if (that.testUnsignedByte!= null) {
return false;
}
}
}
{
Long leftTestUnsignedInt;
leftTestUnsignedInt = this.getTestUnsignedInt();
Long rightTestUnsignedInt;
rightTestUnsignedInt = that.getTestUnsignedInt();
if (this.testUnsignedInt!= null) {
if (that.testUnsignedInt!= null) {
if (!leftTestUnsignedInt.equals(rightTestUnsignedInt)) {
return false;
}
} else {
return false;
}
} else {
if (that.testUnsignedInt!= null) {
return false;
}
}
}
{
BigInteger leftTestUnsignedLong;
leftTestUnsignedLong = this.getTestUnsignedLong();
BigInteger rightTestUnsignedLong;
rightTestUnsignedLong = that.getTestUnsignedLong();
if (this.testUnsignedLong!= null) {
if (that.testUnsignedLong!= null) {
if (!leftTestUnsignedLong.equals(rightTestUnsignedLong)) {
return false;
}
} else {
return false;
}
} else {
if (that.testUnsignedLong!= null) {
return false;
}
}
}
{
Integer leftTestUnsignedShort;
leftTestUnsignedShort = this.getTestUnsignedShort();
Integer rightTestUnsignedShort;
rightTestUnsignedShort = that.getTestUnsignedShort();
if (this.testUnsignedShort!= null) {
if (that.testUnsignedShort!= null) {
if (!leftTestUnsignedShort.equals(rightTestUnsignedShort)) {
return false;
}
} else {
return false;
}
} else {
if (that.testUnsignedShort!= null) {
return false;
}
}
}
return true;
}
@Override
public Struct toStruct() {
Struct struct = new Struct(CONNECT_SCHEMA);
ConnectableHelper.toString(struct, "test_anyURI", this.testAnyURI);
ConnectableHelper.toBytes(struct, "test_base64Binary", this.testBase64Binary);
ConnectableHelper.toBoolean(struct, "test_boolean", this.testBoolean);
ConnectableHelper.toInt8(struct, "test_byte", this.testByte);
ConnectableHelper.toDate(struct, "test_date", this.testDate);
ConnectableHelper.toDateTime(struct, "test_dateTime", this.testDateTime);
ConnectableHelper.toDecimal(struct, "test_decimal", this.testDecimal);
ConnectableHelper.toFloat64(struct, "test_double", this.testDouble);
ConnectableHelper.toDuration(struct, "test_duration", this.testDuration);
ConnectableHelper.toString(struct, "test_ENTITY", this.testENTITY);
ConnectableHelper.toFloat32(struct, "test_float", this.testFloat);
ConnectableHelper.toXmlgDay(struct, "test_gDay", this.testGDay);
ConnectableHelper.toXmlgMonth(struct, "test_gMonth", this.testGMonth);
ConnectableHelper.toXmlgMonthDay(struct, "test_gMonthDay", this.testGMonthDay);
ConnectableHelper.toXmlgYear(struct, "test_gYear", this.testGYear);
ConnectableHelper.toXmlgYearMonth(struct, "test_gYearMonth", this.testGYearMonth);
ConnectableHelper.toBytes(struct, "test_hexBinary", this.testHexBinary);
ConnectableHelper.toString(struct, "test_ID", this.testID);
ConnectableHelper.toInt32(struct, "test_int", this.testInt);
ConnectableHelper.toInt64(struct, "test_integer", this.testInteger);
ConnectableHelper.toString(struct, "test_language", this.testLanguage);
ConnectableHelper.toInt64(struct, "test_long", this.testLong);
ConnectableHelper.toString(struct, "test_Name", this.testName);
ConnectableHelper.toString(struct, "test_NCName", this.testNCName);
ConnectableHelper.toInt64(struct, "test_negativeInteger", this.testNegativeInteger);
ConnectableHelper.toString(struct, "test_NMTOKEN", this.testNMTOKEN);
ConnectableHelper.toInt64(struct, "test_nonNegativeInteger", this.testNonNegativeInteger);
ConnectableHelper.toInt64(struct, "test_nonPositiveInteger", this.testNonPositiveInteger);
ConnectableHelper.toString(struct, "test_normalizedString", this.testNormalizedString);
ConnectableHelper.toInt64(struct, "test_positiveInteger", this.testPositiveInteger);
ConnectableHelper.toQname(struct, "test_QName", this.testQName);
ConnectableHelper.toInt16(struct, "test_short", this.testShort);
ConnectableHelper.toString(struct, "test_string", this.testString);
ConnectableHelper.toTime(struct, "test_time", this.testTime);
ConnectableHelper.toString(struct, "test_token", this.testToken);
ConnectableHelper.toInt16(struct, "test_unsignedByte", this.testUnsignedByte);
ConnectableHelper.toInt64(struct, "test_unsignedInt", this.testUnsignedInt);
ConnectableHelper.toInt64(struct, "test_unsignedLong", this.testUnsignedLong);
ConnectableHelper.toInt32(struct, "test_unsignedShort", this.testUnsignedShort);
ConnectableHelper.toQNameMap(struct, "otherAttributes", this.otherAttributes);
return struct;
}
@Override
public void fromStruct(Struct struct) {
this.testAnyURI = ConnectableHelper.fromString(struct, "test_anyURI");
this.testBase64Binary = ConnectableHelper.fromBytes(struct, "test_base64Binary");
this.testBoolean = ConnectableHelper.fromBoolean(struct, "test_boolean");
this.testByte = ConnectableHelper.fromInt8(struct, "test_byte");
this.testDate = ConnectableHelper.fromDate(struct, "test_date");
this.testDateTime = ConnectableHelper.fromDateTime(struct, "test_dateTime");
this.testDecimal = ConnectableHelper.fromDecimal(struct, "test_decimal");
this.testDouble = ConnectableHelper.fromFloat64(struct, "test_double");
this.testDuration = ConnectableHelper.fromDuration(struct, "test_duration");
this.testENTITY = ConnectableHelper.fromString(struct, "test_ENTITY");
this.testFloat = ConnectableHelper.fromFloat32(struct, "test_float");
this.testGDay = ConnectableHelper.fromXmlgDay(struct, "test_gDay");
this.testGMonth = ConnectableHelper.fromXmlgMonth(struct, "test_gMonth");
this.testGMonthDay = ConnectableHelper.fromXmlgMonthDay(struct, "test_gMonthDay");
this.testGYear = ConnectableHelper.fromXmlgYear(struct, "test_gYear");
this.testGYearMonth = ConnectableHelper.fromXmlgYearMonth(struct, "test_gYearMonth");
this.testHexBinary = ConnectableHelper.fromBytes(struct, "test_hexBinary");
this.testID = ConnectableHelper.fromString(struct, "test_ID");
this.testInt = ConnectableHelper.fromInt32(struct, "test_int");
this.testInteger = ConnectableHelper.fromInt64BigInteger(struct, "test_integer");
this.testLanguage = ConnectableHelper.fromString(struct, "test_language");
this.testLong = ConnectableHelper.fromInt64(struct, "test_long");
this.testName = ConnectableHelper.fromString(struct, "test_Name");
this.testNCName = ConnectableHelper.fromString(struct, "test_NCName");
this.testNegativeInteger = ConnectableHelper.fromInt64BigInteger(struct, "test_negativeInteger");
this.testNMTOKEN = ConnectableHelper.fromString(struct, "test_NMTOKEN");
this.testNonNegativeInteger = ConnectableHelper.fromInt64BigInteger(struct, "test_nonNegativeInteger");
this.testNonPositiveInteger = ConnectableHelper.fromInt64BigInteger(struct, "test_nonPositiveInteger");
this.testNormalizedString = ConnectableHelper.fromString(struct, "test_normalizedString");
this.testPositiveInteger = ConnectableHelper.fromInt64BigInteger(struct, "test_positiveInteger");
this.testQName = ConnectableHelper.fromQname(struct, "test_QName");
this.testShort = ConnectableHelper.fromInt16(struct, "test_short");
this.testString = ConnectableHelper.fromString(struct, "test_string");
this.testTime = ConnectableHelper.fromTime(struct, "test_time");
this.testToken = ConnectableHelper.fromString(struct, "test_token");
this.testUnsignedByte = ConnectableHelper.fromInt16(struct, "test_unsignedByte");
this.testUnsignedInt = ConnectableHelper.fromInt64(struct, "test_unsignedInt");
this.testUnsignedLong = ConnectableHelper.fromInt64BigInteger(struct, "test_unsignedLong");
this.testUnsignedShort = ConnectableHelper.fromInt32(struct, "test_unsignedShort");
this.otherAttributes = ConnectableHelper.fromQNameMap(struct, "otherAttributes");
}
}