java.lang.Object
com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentReferenceData
All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject, Serializable

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

    • referenceType

      protected ReferenceType referenceType
      The reference type.
    • referenceDocumentId

      protected String referenceDocumentId
      The reference document id.
    • detail

      protected String detail
      The detail.
    • hjid

      protected Long hjid
      The hjid.
  • Constructor Details

    • DocumentReferenceData

      public DocumentReferenceData()
  • Method Details

    • 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 String getReferenceDocumentId()
      Gets the reference document id.
      Returns:
      the reference document id
    • setReferenceDocumentId

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

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

      public void setDetail(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(String value)
      With reference document id.
      Parameters:
      value - the value
      Returns:
      the document reference data
    • withDetail

      public DocumentReferenceData withDetail(String value)
      With detail.
      Parameters:
      value - the value
      Returns:
      the document reference data
    • toString

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

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

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

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

      public final int hashCode()
      Overrides:
      hashCode in class Object