
com.contentful.java.cda.CDAEntry 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;
/**
* The class represents a basic entry in the space.
*/
public class CDAEntry extends LocalizedResource {
private CDAContentType contentType;
/**
* @return the contentType set.
*/
public CDAContentType contentType() {
return contentType;
}
/**
* Set the contentType of this entry.
* @param contentType the type to be set.
*/
void setContentType(CDAContentType contentType) {
this.contentType = contentType;
}
/**
* Create a human readable string of this object.
* @return a string, containing the id of this content type.
*/
@Override public String toString() {
return "CDAEntry{" +
"id='" + id() + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy