Package com.contentful.java.cda
Class CDAEntry
- java.lang.Object
-
- com.contentful.java.cda.CDAResource
-
- com.contentful.java.cda.LocalizedResource
-
- com.contentful.java.cda.CDAEntry
-
- All Implemented Interfaces:
java.io.Serializable
public class CDAEntry extends LocalizedResource
The class represents a basic entry in the space.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.contentful.java.cda.LocalizedResource
LocalizedResource.Localizer
-
-
Constructor Summary
Constructors Constructor Description CDAEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CDAContentTypecontentType()CDAMetadatametadata()java.lang.StringtoString()Create a human readable string of this object.-
Methods inherited from class com.contentful.java.cda.LocalizedResource
getField, getField, localize, rawFields, setField
-
Methods inherited from class com.contentful.java.cda.CDAResource
attrs, getAttribute, id, type
-
-
-
-
Method Detail
-
metadata
public CDAMetadata metadata()
- Returns:
- the metadata set.
-
contentType
public CDAContentType contentType()
- Returns:
- the contentType set.
-
toString
public java.lang.String toString()
Create a human readable string of this object.- Overrides:
toStringin classCDAResource- Returns:
- a string, containing the id of this content type.
-
-