All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.contentful.java.cda.CDAEntry Maven / Gradle / Ivy

There is a newer version: 9.1.0
Show newest version
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