
com.contentful.java.cda.CDAField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Contentful's Content Delivery API.
package com.contentful.java.cda;
import java.io.Serializable;
import java.util.Map;
/** Represents a single content type field. */
public class CDAField implements Serializable {
String name;
String id;
String type;
String linkType;
boolean disabled;
boolean required;
boolean localized;
Map items;
Map validations;
/** @return name of this content type. */
public String name() {
return name;
}
/** @return the id of this object. */
public String id() {
return id;
}
/** @return the type. **/
public String type() {
return type;
}
/** @return the link type. **/
public String linkType() {
return linkType;
}
/** @return true if this object is disabled. */
public boolean isDisabled() {
return disabled;
}
/** @return true if this object is required. */
public boolean isRequired() {
return required;
}
/** @return true if this object is localized. */
public boolean isLocalized() {
return localized;
}
/** @return a map of items, this field contains. */
public Map items() {
return items;
}
/** @return a map of validations, defined on this object. */
public Map validations() {
return validations;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy