use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project webanno by webanno.
the class KeyBinding method asKeyTypes.
@JsonIgnore
public KeyType[] asKeyTypes() {
List<KeyType> combo = new ArrayList<>();
if (isNotBlank(keyCombo)) {
for (String key : keyCombo.split(" ")) {
KeyType type = KEY_MAP.get(key.toUpperCase(Locale.US));
combo.add(type);
}
}
return combo.toArray(new KeyType[combo.size()]);
}
use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project killbill by killbill.
the class NodeInterval method isPartitionedByChildren.
@JsonIgnore
public boolean isPartitionedByChildren() {
if (leftChild == null) {
return false;
}
LocalDate curDate = start;
NodeInterval curChild = leftChild;
while (curChild != null) {
if (curChild.getStart().compareTo(curDate) > 0) {
return false;
}
curDate = curChild.getEnd();
curChild = curChild.getRightSibling();
}
return (curDate.compareTo(end) == 0);
}
use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project hono by eclipse.
the class TenantObject method getAdapterConfigurations.
/**
* Gets the configuration information for this tenant's
* configured adapters.
*
* @return The configuration properties for this tenant's
* configured adapters or {@code null} if no specific
* configuration has been set for any protocol adapter.
*/
@JsonIgnore
public JsonArray getAdapterConfigurations() {
if (adapterConfigurations == null) {
return null;
} else {
final JsonArray result = new JsonArray();
adapterConfigurations.values().forEach(config -> result.add((JsonObject) config));
return result;
}
}
use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project ORCID-Source by ORCID.
the class ExternalID method getGroupId.
/**
* If we have a normalized value, use that to generate Group ID;
*/
@Override
@JsonIgnore
public String getGroupId() {
String workIdVal = null;
if (this.getNormalized() != null && !StringUtils.isEmpty(this.getNormalized().getValue())) {
workIdVal = this.getNormalized().getValue();
} else {
workIdVal = this.value == null ? null : this.value;
}
String typeVal = this.type == null ? null : this.type;
return workIdVal + typeVal;
}
use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project SONG by overture-stack.
the class DonorWithSpecimens method createDonor.
@JsonIgnore
public Donor createDonor() {
val donor = Donor.create(getDonorId(), getDonorSubmitterId(), getStudyId(), getDonorGender());
donor.setInfo(getInfoAsString());
return donor;
}
Aggregations