Package com.contentful.java.cda
Class CDAField
- java.lang.Object
-
- com.contentful.java.cda.CDAField
-
- All Implemented Interfaces:
java.io.Serializable
public class CDAField extends java.lang.Object implements java.io.SerializableRepresents a single content type field.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CDAField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringid()booleanisDisabled()booleanisLocalized()booleanisRequired()java.util.Map<java.lang.String,java.lang.Object>items()java.lang.StringlinkType()java.lang.Stringname()java.lang.Stringtype()java.util.List<java.util.Map<java.lang.String,java.lang.Object>>validations()
-
-
-
Method Detail
-
name
public java.lang.String name()
- Returns:
- name of this content type.
-
id
public java.lang.String id()
- Returns:
- the id of this object.
-
type
public java.lang.String type()
- Returns:
- the type.
-
linkType
public java.lang.String linkType()
- Returns:
- the link type.
-
isDisabled
public boolean isDisabled()
- Returns:
- true if this object is disabled.
-
isRequired
public boolean isRequired()
- Returns:
- true if this object is required.
-
isLocalized
public boolean isLocalized()
- Returns:
- true if this object is localized.
-
items
public java.util.Map<java.lang.String,java.lang.Object> items()
- Returns:
- a map of items, this field contains.
-
validations
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> validations()
- Returns:
- a map of validations, defined on this object.
-
-