Class DocumentReferenceData

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

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

      • referenceType

        protected ReferenceType referenceType
        The reference type.
      • referenceDocumentId

        protected java.lang.String referenceDocumentId
        The reference document id.
      • detail

        protected java.lang.String detail
        The detail.
      • hjid

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

      • DocumentReferenceData

        public DocumentReferenceData()
    • Method Detail

      • getReferenceType

        public ReferenceType getReferenceType()
        Gets the reference type.
        Returns:
        the reference type
      • setReferenceType

        public void setReferenceType​(ReferenceType value)
        Sets the reference type.
        Parameters:
        value - the new reference type
      • getReferenceDocumentId

        public java.lang.String getReferenceDocumentId()
        Gets the reference document id.
        Returns:
        the reference document id
      • setReferenceDocumentId

        public void setReferenceDocumentId​(java.lang.String value)
        Sets the reference document id.
        Parameters:
        value - the new reference document id
      • getDetail

        public java.lang.String getDetail()
        Gets the detail.
        Returns:
        the detail
      • setDetail

        public void setDetail​(java.lang.String value)
        Sets the detail.
        Parameters:
        value - the new detail
      • withReferenceType

        public DocumentReferenceData withReferenceType​(ReferenceType value)
        With reference type.
        Parameters:
        value - the value
        Returns:
        the document reference data
      • withReferenceDocumentId

        public DocumentReferenceData withReferenceDocumentId​(java.lang.String value)
        With reference document id.
        Parameters:
        value - the value
        Returns:
        the document reference data
      • withDetail

        public DocumentReferenceData withDetail​(java.lang.String value)
        With detail.
        Parameters:
        value - the value
        Returns:
        the document reference 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