Class ContentElement

java.lang.Object
com.liferay.headless.delivery.dto.v1_0.ContentElement
All Implemented Interfaces:
Serializable

@Generated("") public class ContentElement extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • content

      protected Object content
    • contentType

      protected String contentType
    • id

      protected Long id
    • title

      protected String title
    • title_i18n

      protected Map<String,String> title_i18n
    • xClassName

      public String xClassName
  • Constructor Details

    • ContentElement

      public ContentElement()
  • Method Details

    • toDTO

      public static ContentElement toDTO(String json)
    • unsafeToDTO

      public static ContentElement unsafeToDTO(String json)
    • getContent

      @Valid public @Valid Object getContent()
    • setContent

      public void setContent(Object content)
    • setContent

      public void setContent(com.liferay.petra.function.UnsafeSupplier<Object,Exception> contentUnsafeSupplier)
    • getContentType

      public String getContentType()
    • setContentType

      public void setContentType(String contentType)
    • setContentType

      public void setContentType(com.liferay.petra.function.UnsafeSupplier<String,Exception> contentTypeUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • setTitle

      public void setTitle(com.liferay.petra.function.UnsafeSupplier<String,Exception> titleUnsafeSupplier)
    • getTitle_i18n

      @Valid public @Valid Map<String,String> getTitle_i18n()
    • setTitle_i18n

      public void setTitle_i18n(Map<String,String> title_i18n)
    • setTitle_i18n

      public void setTitle_i18n(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> title_i18nUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object