[Java] add jackson annotations to setters (#9041)

* [Java] add jackson annotations to setters

Closes #6856

* [Java] fix conflictiong setter with JsonNullable
This commit is contained in:
Jakob
2021-03-30 05:17:15 +02:00
committed by GitHub
parent becb424455
commit 0af45b3823
804 changed files with 5397 additions and 3 deletions

View File

@@ -66,6 +66,9 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -67,6 +67,9 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -66,6 +66,9 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -149,6 +149,8 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapString(Map<String, String> mapString) {
this.mapString = mapString;
}
@@ -182,6 +184,8 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = mapNumber;
}
@@ -215,6 +219,8 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = mapInteger;
}
@@ -248,6 +254,8 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = mapBoolean;
}
@@ -281,6 +289,8 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = mapArrayInteger;
}
@@ -314,6 +324,8 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = mapArrayAnytype;
}
@@ -347,6 +359,8 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP_MAP_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = mapMapString;
}
@@ -380,6 +394,8 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = mapMapAnytype;
}
@@ -406,6 +422,9 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_ANYTYPE1)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "anytype_1")
public void setAnytype1(Object anytype1) {
this.anytype1 = anytype1;
}
@@ -432,6 +451,9 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_ANYTYPE2)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "anytype_2")
public void setAnytype2(Object anytype2) {
this.anytype2 = anytype2;
}
@@ -458,6 +480,9 @@ public class AdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_ANYTYPE3)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "anytype_3")
public void setAnytype3(Object anytype3) {
this.anytype3 = anytype3;
}

View File

@@ -66,6 +66,9 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -67,6 +67,9 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -66,6 +66,9 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -66,6 +66,9 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -80,6 +80,9 @@ public class Animal {
}
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "className")
public void setClassName(String className) {
this.className = className;
}
@@ -106,6 +109,9 @@ public class Animal {
}
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "color")
public void setColor(String color) {
this.color = color;
}

View File

@@ -77,6 +77,8 @@ public class ArrayOfArrayOfNumberOnly {
}
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber;
}

View File

@@ -77,6 +77,8 @@ public class ArrayOfNumberOnly {
}
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayNumber(List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber;
}

View File

@@ -93,6 +93,8 @@ public class ArrayTest {
}
@JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayOfString(List<String> arrayOfString) {
this.arrayOfString = arrayOfString;
}
@@ -126,6 +128,8 @@ public class ArrayTest {
}
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger;
}
@@ -159,6 +163,8 @@ public class ArrayTest {
}
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
this.arrayArrayOfModel = arrayArrayOfModel;
}

View File

@@ -115,6 +115,9 @@ public class BigCat extends Cat {
}
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "kind")
public void setKind(KindEnum kind) {
this.kind = kind;
}

View File

@@ -109,6 +109,9 @@ public class BigCatAllOf {
}
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "kind")
public void setKind(KindEnum kind) {
this.kind = kind;
}

View File

@@ -89,6 +89,9 @@ public class Capitalization {
}
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "smallCamel")
public void setSmallCamel(String smallCamel) {
this.smallCamel = smallCamel;
}
@@ -115,6 +118,9 @@ public class Capitalization {
}
@JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "CapitalCamel")
public void setCapitalCamel(String capitalCamel) {
this.capitalCamel = capitalCamel;
}
@@ -141,6 +147,9 @@ public class Capitalization {
}
@JsonProperty(JSON_PROPERTY_SMALL_SNAKE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "small_Snake")
public void setSmallSnake(String smallSnake) {
this.smallSnake = smallSnake;
}
@@ -167,6 +176,9 @@ public class Capitalization {
}
@JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "Capital_Snake")
public void setCapitalSnake(String capitalSnake) {
this.capitalSnake = capitalSnake;
}
@@ -193,6 +205,9 @@ public class Capitalization {
}
@JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "SCA_ETH_Flow_Points")
public void setScAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints;
}
@@ -219,6 +234,9 @@ public class Capitalization {
}
@JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "ATT_NAME")
public void setATTNAME(String ATT_NAME) {
this.ATT_NAME = ATT_NAME;
}

View File

@@ -74,6 +74,9 @@ public class Cat extends Animal {
}
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "declawed")
public void setDeclawed(Boolean declawed) {
this.declawed = declawed;
}

View File

@@ -64,6 +64,9 @@ public class CatAllOf {
}
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "declawed")
public void setDeclawed(Boolean declawed) {
this.declawed = declawed;
}

View File

@@ -69,6 +69,9 @@ public class Category {
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "id")
public void setId(Long id) {
this.id = id;
}
@@ -94,6 +97,9 @@ public class Category {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -65,6 +65,9 @@ public class ClassModel {
}
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "_class")
public void setPropertyClass(String propertyClass) {
this.propertyClass = propertyClass;
}

View File

@@ -64,6 +64,9 @@ public class Client {
}
@JsonProperty(JSON_PROPERTY_CLIENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "client")
public void setClient(String client) {
this.client = client;
}

View File

@@ -70,6 +70,9 @@ public class Dog extends Animal {
}
@JsonProperty(JSON_PROPERTY_BREED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "breed")
public void setBreed(String breed) {
this.breed = breed;
}

View File

@@ -64,6 +64,9 @@ public class DogAllOf {
}
@JsonProperty(JSON_PROPERTY_BREED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "breed")
public void setBreed(String breed) {
this.breed = breed;
}

View File

@@ -152,6 +152,9 @@ public class EnumArrays {
}
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "just_symbol")
public void setJustSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol;
}
@@ -185,6 +188,8 @@ public class EnumArrays {
}
@JsonProperty(JSON_PROPERTY_ARRAY_ENUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayEnum(List<ArrayEnumEnum> arrayEnum) {
this.arrayEnum = arrayEnum;
}

View File

@@ -247,6 +247,9 @@ public class EnumTest {
}
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "enum_string")
public void setEnumString(EnumStringEnum enumString) {
this.enumString = enumString;
}
@@ -272,6 +275,9 @@ public class EnumTest {
}
@JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "enum_string_required")
public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired;
}
@@ -298,6 +304,9 @@ public class EnumTest {
}
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "enum_integer")
public void setEnumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger;
}
@@ -324,6 +333,9 @@ public class EnumTest {
}
@JsonProperty(JSON_PROPERTY_ENUM_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "enum_number")
public void setEnumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber;
}
@@ -350,6 +362,9 @@ public class EnumTest {
}
@JsonProperty(JSON_PROPERTY_OUTER_ENUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "outerEnum")
public void setOuterEnum(OuterEnum outerEnum) {
this.outerEnum = outerEnum;
}

View File

@@ -74,6 +74,9 @@ public class FileSchemaTestClass {
}
@JsonProperty(JSON_PROPERTY_FILE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "file")
public void setFile(java.io.File file) {
this.file = file;
}
@@ -107,6 +110,8 @@ public class FileSchemaTestClass {
}
@JsonProperty(JSON_PROPERTY_FILES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFiles(List<java.io.File> files) {
this.files = files;
}

View File

@@ -136,6 +136,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "integer")
public void setInteger(Integer integer) {
this.integer = integer;
}
@@ -164,6 +167,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_INT32)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "int32")
public void setInt32(Integer int32) {
this.int32 = int32;
}
@@ -190,6 +196,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_INT64)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "int64")
public void setInt64(Long int64) {
this.int64 = int64;
}
@@ -217,6 +226,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_NUMBER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "number")
public void setNumber(BigDecimal number) {
this.number = number;
}
@@ -245,6 +257,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_FLOAT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "float")
public void setFloat(Float _float) {
this._float = _float;
}
@@ -273,6 +288,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_DOUBLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "double")
public void setDouble(Double _double) {
this._double = _double;
}
@@ -299,6 +317,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "string")
public void setString(String string) {
this.string = string;
}
@@ -324,6 +345,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_BYTE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "byte")
public void setByte(byte[] _byte) {
this._byte = _byte;
}
@@ -350,6 +374,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_BINARY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "binary")
public void setBinary(File binary) {
this.binary = binary;
}
@@ -375,6 +402,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "date")
public void setDate(LocalDate date) {
this.date = date;
}
@@ -401,6 +431,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "dateTime")
public void setDateTime(OffsetDateTime dateTime) {
this.dateTime = dateTime;
}
@@ -427,6 +460,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "uuid")
public void setUuid(UUID uuid) {
this.uuid = uuid;
}
@@ -452,6 +488,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "password")
public void setPassword(String password) {
this.password = password;
}
@@ -478,6 +517,9 @@ public class FormatTest {
}
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "BigDecimal")
public void setBigDecimal(BigDecimal bigDecimal) {
this.bigDecimal = bigDecimal;
}

View File

@@ -140,6 +140,8 @@ public class MapTest {
}
@JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = mapMapOfString;
}
@@ -173,6 +175,8 @@ public class MapTest {
}
@JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString;
}
@@ -206,6 +210,8 @@ public class MapTest {
}
@JsonProperty(JSON_PROPERTY_DIRECT_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDirectMap(Map<String, Boolean> directMap) {
this.directMap = directMap;
}
@@ -239,6 +245,8 @@ public class MapTest {
}
@JsonProperty(JSON_PROPERTY_INDIRECT_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIndirectMap(Map<String, Boolean> indirectMap) {
this.indirectMap = indirectMap;
}

View File

@@ -83,6 +83,9 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "uuid")
public void setUuid(UUID uuid) {
this.uuid = uuid;
}
@@ -109,6 +112,9 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "dateTime")
public void setDateTime(OffsetDateTime dateTime) {
this.dateTime = dateTime;
}
@@ -142,6 +148,8 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMap(Map<String, Animal> map) {
this.map = map;
}

View File

@@ -70,6 +70,9 @@ public class Model200Response {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(Integer name) {
this.name = name;
}
@@ -96,6 +99,9 @@ public class Model200Response {
}
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "class")
public void setPropertyClass(String propertyClass) {
this.propertyClass = propertyClass;
}

View File

@@ -74,6 +74,9 @@ public class ModelApiResponse {
}
@JsonProperty(JSON_PROPERTY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "code")
public void setCode(Integer code) {
this.code = code;
}
@@ -100,6 +103,9 @@ public class ModelApiResponse {
}
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "type")
public void setType(String type) {
this.type = type;
}
@@ -126,6 +132,9 @@ public class ModelApiResponse {
}
@JsonProperty(JSON_PROPERTY_MESSAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "message")
public void setMessage(String message) {
this.message = message;
}

View File

@@ -65,6 +65,9 @@ public class ModelReturn {
}
@JsonProperty(JSON_PROPERTY_RETURN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "return")
public void setReturn(Integer _return) {
this._return = _return;
}

View File

@@ -79,6 +79,9 @@ public class Name {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "name")
public void setName(Integer name) {
this.name = name;
}
@@ -122,6 +125,9 @@ public class Name {
}
@JsonProperty(JSON_PROPERTY_PROPERTY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "property")
public void setProperty(String property) {
this.property = property;
}

View File

@@ -65,6 +65,9 @@ public class NumberOnly {
}
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "JustNumber")
public void setJustNumber(BigDecimal justNumber) {
this.justNumber = justNumber;
}

View File

@@ -132,6 +132,9 @@ public class Order {
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "id")
public void setId(Long id) {
this.id = id;
}
@@ -158,6 +161,9 @@ public class Order {
}
@JsonProperty(JSON_PROPERTY_PET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "petId")
public void setPetId(Long petId) {
this.petId = petId;
}
@@ -184,6 +190,9 @@ public class Order {
}
@JsonProperty(JSON_PROPERTY_QUANTITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "quantity")
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
@@ -210,6 +219,9 @@ public class Order {
}
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "shipDate")
public void setShipDate(OffsetDateTime shipDate) {
this.shipDate = shipDate;
}
@@ -236,6 +248,9 @@ public class Order {
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "status")
public void setStatus(StatusEnum status) {
this.status = status;
}
@@ -262,6 +277,9 @@ public class Order {
}
@JsonProperty(JSON_PROPERTY_COMPLETE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "complete")
public void setComplete(Boolean complete) {
this.complete = complete;
}

View File

@@ -75,6 +75,9 @@ public class OuterComposite {
}
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "my_number")
public void setMyNumber(BigDecimal myNumber) {
this.myNumber = myNumber;
}
@@ -101,6 +104,9 @@ public class OuterComposite {
}
@JsonProperty(JSON_PROPERTY_MY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "my_string")
public void setMyString(String myString) {
this.myString = myString;
}
@@ -127,6 +133,9 @@ public class OuterComposite {
}
@JsonProperty(JSON_PROPERTY_MY_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "my_boolean")
public void setMyBoolean(Boolean myBoolean) {
this.myBoolean = myBoolean;
}

View File

@@ -145,6 +145,9 @@ public class Pet {
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "id")
public void setId(Long id) {
this.id = id;
}
@@ -171,6 +174,9 @@ public class Pet {
}
@JsonProperty(JSON_PROPERTY_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "category")
public void setCategory(Category category) {
this.category = category;
}
@@ -196,6 +202,9 @@ public class Pet {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}
@@ -227,6 +236,10 @@ public class Pet {
}
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
// items.xmlName=
@JacksonXmlElementWrapper(useWrapping = true, localName = "photoUrls")
public void setPhotoUrls(Set<String> photoUrls) {
this.photoUrls = photoUrls;
}
@@ -262,6 +275,10 @@ public class Pet {
}
@JsonProperty(JSON_PROPERTY_TAGS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
// items.xmlName=
@JacksonXmlElementWrapper(useWrapping = true, localName = "tags")
public void setTags(List<Tag> tags) {
this.tags = tags;
}
@@ -288,6 +305,9 @@ public class Pet {
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "status")
public void setStatus(StatusEnum status) {
this.status = status;
}

View File

@@ -86,6 +86,9 @@ public class ReadOnlyFirst {
}
@JsonProperty(JSON_PROPERTY_BAZ)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "baz")
public void setBaz(String baz) {
this.baz = baz;
}

View File

@@ -64,6 +64,9 @@ public class SpecialModelName {
}
@JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "$special[property.name]")
public void set$SpecialPropertyName(Long $specialPropertyName) {
this.$specialPropertyName = $specialPropertyName;
}

View File

@@ -69,6 +69,9 @@ public class Tag {
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "id")
public void setId(Long id) {
this.id = id;
}
@@ -95,6 +98,9 @@ public class Tag {
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "name")
public void setName(String name) {
this.name = name;
}

View File

@@ -89,6 +89,9 @@ public class TypeHolderDefault {
}
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "string_item")
public void setStringItem(String stringItem) {
this.stringItem = stringItem;
}
@@ -114,6 +117,9 @@ public class TypeHolderDefault {
}
@JsonProperty(JSON_PROPERTY_NUMBER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "number_item")
public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
}
@@ -139,6 +145,9 @@ public class TypeHolderDefault {
}
@JsonProperty(JSON_PROPERTY_INTEGER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "integer_item")
public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem;
}
@@ -164,6 +173,9 @@ public class TypeHolderDefault {
}
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "bool_item")
public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem;
}
@@ -193,6 +205,8 @@ public class TypeHolderDefault {
}
@JsonProperty(JSON_PROPERTY_ARRAY_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setArrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
}

View File

@@ -94,6 +94,9 @@ public class TypeHolderExample {
}
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "string_item")
public void setStringItem(String stringItem) {
this.stringItem = stringItem;
}
@@ -119,6 +122,9 @@ public class TypeHolderExample {
}
@JsonProperty(JSON_PROPERTY_NUMBER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "number_item")
public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
}
@@ -144,6 +150,9 @@ public class TypeHolderExample {
}
@JsonProperty(JSON_PROPERTY_FLOAT_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "float_item")
public void setFloatItem(Float floatItem) {
this.floatItem = floatItem;
}
@@ -169,6 +178,9 @@ public class TypeHolderExample {
}
@JsonProperty(JSON_PROPERTY_INTEGER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "integer_item")
public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem;
}
@@ -194,6 +206,9 @@ public class TypeHolderExample {
}
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JacksonXmlProperty(localName = "bool_item")
public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem;
}
@@ -223,6 +238,8 @@ public class TypeHolderExample {
}
@JsonProperty(JSON_PROPERTY_ARRAY_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setArrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
}

View File

@@ -99,6 +99,9 @@ public class User {
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "id")
public void setId(Long id) {
this.id = id;
}
@@ -125,6 +128,9 @@ public class User {
}
@JsonProperty(JSON_PROPERTY_USERNAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "username")
public void setUsername(String username) {
this.username = username;
}
@@ -151,6 +157,9 @@ public class User {
}
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "firstName")
public void setFirstName(String firstName) {
this.firstName = firstName;
}
@@ -177,6 +186,9 @@ public class User {
}
@JsonProperty(JSON_PROPERTY_LAST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "lastName")
public void setLastName(String lastName) {
this.lastName = lastName;
}
@@ -203,6 +215,9 @@ public class User {
}
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "email")
public void setEmail(String email) {
this.email = email;
}
@@ -229,6 +244,9 @@ public class User {
}
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "password")
public void setPassword(String password) {
this.password = password;
}
@@ -255,6 +273,9 @@ public class User {
}
@JsonProperty(JSON_PROPERTY_PHONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "phone")
public void setPhone(String phone) {
this.phone = phone;
}
@@ -281,6 +302,9 @@ public class User {
}
@JsonProperty(JSON_PROPERTY_USER_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "userStatus")
public void setUserStatus(Integer userStatus) {
this.userStatus = userStatus;
}

View File

@@ -239,6 +239,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(isAttribute = true, localName = "attribute_string")
public void setAttributeString(String attributeString) {
this.attributeString = attributeString;
}
@@ -265,6 +268,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(isAttribute = true, localName = "attribute_number")
public void setAttributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = attributeNumber;
}
@@ -291,6 +297,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(isAttribute = true, localName = "attribute_integer")
public void setAttributeInteger(Integer attributeInteger) {
this.attributeInteger = attributeInteger;
}
@@ -317,6 +326,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(isAttribute = true, localName = "attribute_boolean")
public void setAttributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = attributeBoolean;
}
@@ -352,6 +364,10 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
// items.xmlName=
@JacksonXmlElementWrapper(useWrapping = true, localName = "wrappedArray")
public void setWrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = wrappedArray;
}
@@ -378,6 +394,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAME_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "xml_name_string")
public void setNameString(String nameString) {
this.nameString = nameString;
}
@@ -404,6 +423,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAME_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "xml_name_number")
public void setNameNumber(BigDecimal nameNumber) {
this.nameNumber = nameNumber;
}
@@ -430,6 +452,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAME_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "xml_name_integer")
public void setNameInteger(Integer nameInteger) {
this.nameInteger = nameInteger;
}
@@ -456,6 +481,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAME_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "xml_name_boolean")
public void setNameBoolean(Boolean nameBoolean) {
this.nameBoolean = nameBoolean;
}
@@ -489,6 +517,8 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAME_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNameArray(List<Integer> nameArray) {
this.nameArray = nameArray;
}
@@ -524,6 +554,10 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
// items.xmlName=xml_name_wrapped_array_item
@JacksonXmlElementWrapper(useWrapping = true, localName = "xml_name_wrapped_array_item")
public void setNameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = nameWrappedArray;
}
@@ -550,6 +584,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "prefix_string")
public void setPrefixString(String prefixString) {
this.prefixString = prefixString;
}
@@ -576,6 +613,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "prefix_number")
public void setPrefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = prefixNumber;
}
@@ -602,6 +642,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "prefix_integer")
public void setPrefixInteger(Integer prefixInteger) {
this.prefixInteger = prefixInteger;
}
@@ -628,6 +671,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(localName = "prefix_boolean")
public void setPrefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = prefixBoolean;
}
@@ -661,6 +707,8 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixArray(List<Integer> prefixArray) {
this.prefixArray = prefixArray;
}
@@ -696,6 +744,10 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
// items.xmlName=
@JacksonXmlElementWrapper(useWrapping = true, localName = "prefixWrappedArray")
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = prefixWrappedArray;
}
@@ -722,6 +774,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAMESPACE_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(namespace="http://a.com/schema", localName = "namespace_string")
public void setNamespaceString(String namespaceString) {
this.namespaceString = namespaceString;
}
@@ -748,6 +803,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(namespace="http://b.com/schema", localName = "namespace_number")
public void setNamespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = namespaceNumber;
}
@@ -774,6 +832,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(namespace="http://c.com/schema", localName = "namespace_integer")
public void setNamespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = namespaceInteger;
}
@@ -800,6 +861,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(namespace="http://d.com/schema", localName = "namespace_boolean")
public void setNamespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = namespaceBoolean;
}
@@ -833,6 +897,8 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNamespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = namespaceArray;
}
@@ -868,6 +934,10 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
// items.xmlName=
@JacksonXmlElementWrapper(useWrapping = true, namespace="http://f.com/schema", localName = "namespaceWrappedArray")
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = namespaceWrappedArray;
}
@@ -894,6 +964,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(namespace="http://a.com/schema", localName = "prefix_ns_string")
public void setPrefixNsString(String prefixNsString) {
this.prefixNsString = prefixNsString;
}
@@ -920,6 +993,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(namespace="http://b.com/schema", localName = "prefix_ns_number")
public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = prefixNsNumber;
}
@@ -946,6 +1022,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(namespace="http://c.com/schema", localName = "prefix_ns_integer")
public void setPrefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = prefixNsInteger;
}
@@ -972,6 +1051,9 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JacksonXmlProperty(namespace="http://d.com/schema", localName = "prefix_ns_boolean")
public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = prefixNsBoolean;
}
@@ -1005,6 +1087,8 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = prefixNsArray;
}
@@ -1040,6 +1124,10 @@ public class XmlItem {
}
@JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
// items.xmlName=
@JacksonXmlElementWrapper(useWrapping = true, namespace="http://f.com/schema", localName = "prefixNsWrappedArray")
public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
this.prefixNsWrappedArray = prefixNsWrappedArray;
}