Class DocumentContentData

  • All Implemented Interfaces:
    com.hack23.cia.model.common.api.ModelObject, java.io.Serializable

    @Entity(name="DocumentContentData")
    @Indexed
    public class DocumentContentData
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject
    The Class DocumentContentData.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String content
      The content.
      protected java.lang.Long hjid
      The hjid.
      protected java.lang.String id
      The id.
    • Field Detail

      • id

        @GenericField
        protected java.lang.String id
        The id.
      • content

        @FullTextField(analyzer="se")
        protected java.lang.String content
        The content.
      • hjid

        protected java.lang.Long hjid
        The hjid.
    • Constructor Detail

      • DocumentContentData

        public DocumentContentData()
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the id.
        Returns:
        the id
      • setId

        public void setId​(java.lang.String value)
        Sets the id.
        Parameters:
        value - the new id
      • getContent

        public java.lang.String getContent()
        Gets the content.
        Returns:
        the content
      • setContent

        public void setContent​(java.lang.String value)
        Sets the content.
        Parameters:
        value - the new content
      • withId

        public DocumentContentData withId​(java.lang.String value)
        With id.
        Parameters:
        value - the value
        Returns:
        the document content data
      • withContent

        public DocumentContentData withContent​(java.lang.String value)
        With content.
        Parameters:
        value - the value
        Returns:
        the document content data
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getHjid

        public java.lang.Long getHjid()
        Gets the hjid.
        Returns:
        the hjid
      • setHjid

        public void setHjid​(java.lang.Long value)
        Sets the hjid.
        Parameters:
        value - the new hjid
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object