java.lang.Object
com.liferay.headless.digital.sales.room.client.dto.v1_0.Comment
All Implemented Interfaces:
Serializable, Cloneable

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

    • category

      protected String category
    • creator

      protected Creator creator
    • dateCreated

      protected Date dateCreated
    • dateModified

      protected Date dateModified
    • externalReferenceCode

      protected String externalReferenceCode
    • id

      protected Long id
    • numberOfComments

      protected Integer numberOfComments
    • parentCommentId

      protected Long parentCommentId
    • text

      protected String text
  • Constructor Details

    • Comment

      public Comment()
  • Method Details

    • toDTO

      public static Comment toDTO(String json)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • setCategory

      public void setCategory(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<String,Exception> categoryUnsafeSupplier)
    • getCreator

      public Creator getCreator()
    • setCreator

      public void setCreator(Creator creator)
    • setCreator

      public void setCreator(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<Creator,Exception> creatorUnsafeSupplier)
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • setDateCreated

      public void setDateCreated(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<Date,Exception> dateCreatedUnsafeSupplier)
    • getDateModified

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • setDateModified

      public void setDateModified(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<Date,Exception> dateModifiedUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getNumberOfComments

      public Integer getNumberOfComments()
    • setNumberOfComments

      public void setNumberOfComments(Integer numberOfComments)
    • setNumberOfComments

      public void setNumberOfComments(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<Integer,Exception> numberOfCommentsUnsafeSupplier)
    • getParentCommentId

      public Long getParentCommentId()
    • setParentCommentId

      public void setParentCommentId(Long parentCommentId)
    • setParentCommentId

      public void setParentCommentId(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<Long,Exception> parentCommentIdUnsafeSupplier)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • setText

      public void setText(com.liferay.headless.digital.sales.room.client.function.UnsafeSupplier<String,Exception> textUnsafeSupplier)
    • clone

      public Comment clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • 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