return ann.value();
@JsonSetter("force_verify") public final void setForceVerify(Boolean forceVerify) { if( forceVerify == null ) { this.forceVerify = Boolean.FALSE; } else { this.forceVerify = forceVerify; } }
return ann.value();
@JsonSetter("Version") public void setVersion(String value) { this.version = value; } }
@Override public String findSettablePropertyName(AnnotatedMethod am) { /* 22-May-2009, tatu: JsonProperty is the primary annotation * to check for */ JsonProperty pann = am.getAnnotation(JsonProperty.class); if (pann != null) { return pann.value(); } /* 22-May-2009, tatu: JsonSetter is deprecated as of 1.1 * but still supported */ JsonSetter ann = am.getAnnotation(JsonSetter.class); if (ann != null) { return ann.value(); } /* 22-May-2009, tatu: And finally, JsonSerialize implies * that there is a property, although doesn't define name */ if (am.hasAnnotation(JsonDeserialize.class)) { return ""; } return null; }
@JsonSetter("Description") public void setDescription(String value) { this.description = value; }
@Override public String findSettablePropertyName(AnnotatedMethod am) { /* 16-Apr-2010, tatu: Existing priority (since 1.1) is that * @JsonProperty is checked first; and @JsonSetter next. * This is not quite optimal now that @JsonSetter is un-deprecated. * However, it is better to have stable behavior rather than * cause compatibility problems by fine-tuning. */ JsonProperty pann = am.getAnnotation(JsonProperty.class); if (pann != null) { return pann.value(); } JsonSetter ann = am.getAnnotation(JsonSetter.class); if (ann != null) { return ann.value(); } /* 22-May-2009, tatu: And finally, JsonSerialize implies * that there is a property, although doesn't define name */ // 09-Apr-2010, tatu: Ditto for JsonView if (am.hasAnnotation(JsonDeserialize.class) || am.hasAnnotation(JsonView.class)) { return ""; } return null; }
@JsonSetter("Description") public void setDescription(String value) { this.description = value; }
@Override public String findSettablePropertyName(AnnotatedMethod am) { /* 16-Apr-2010, tatu: Existing priority (since 1.1) is that * @JsonProperty is checked first; and @JsonSetter next. * This is not quite optimal now that @JsonSetter is un-deprecated. * However, it is better to have stable behavior rather than * cause compatibility problems by fine-tuning. */ JsonProperty pann = am.getAnnotation(JsonProperty.class); if (pann != null) { return pann.value(); } JsonSetter ann = am.getAnnotation(JsonSetter.class); if (ann != null) { return ann.value(); } /* 22-May-2009, tatu: And finally, JsonSerialize implies * that there is a property, although doesn't define name */ // 09-Apr-2010, tatu: Ditto for JsonView if (am.hasAnnotation(JsonDeserialize.class) || am.hasAnnotation(JsonView.class)) { return ""; } return null; }
@JsonSetter("Name") public void setName(String value) { this.name = value; }
propertyName = setterInfo.value();
@JsonSetter("Name") public void setName(String value) { this.name = value; }
propertyName = setterInfo.value();
@JsonSetter("Crypto") public void setCryptoOld(KeystoreCrypto crypto) { this.crypto = crypto; }
return ann.value();
@JsonSetter("crypto") public void setCrypto(KeystoreCrypto crypto) { this.crypto = crypto; }
@JsonSetter public void setFilter(String filterExpression) { if(filterExpression == null) { this.filter = null; } else { this.filter = FormulaParser.parse(filterExpression); } }
@JsonSetter public void setToDate(LocalDate date) { set("toDate", date); }
@JsonSetter public void setY2(double y2) { setMaxLat(y2); }
@JsonSetter public void setHosts(String[] hosts) { this.hosts = new Hostname[hosts.length]; for(int i=0; i<hosts.length; i++) { this.hosts[i] = new Hostname(hosts[i]); } }