Class DocumentPersonReferenceData

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

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

    • personReferenceId

      protected String personReferenceId
      The person reference id.
    • referenceName

      protected String referenceName
      The reference name.
    • partyShortCode

      protected String partyShortCode
      The party short code.
    • orderNumber

      protected int orderNumber
      The order number.
    • roleDescription

      protected DocumentPersonReferenceRoleType roleDescription
      The role description.
    • hjid

      protected Long hjid
      The hjid.
  • Constructor Details

    • DocumentPersonReferenceData

      public DocumentPersonReferenceData()
  • Method Details

    • getPersonReferenceId

      public String getPersonReferenceId()
      Gets the person reference id.
      Returns:
      the person reference id
    • setPersonReferenceId

      public void setPersonReferenceId(String value)
      Sets the person reference id.
      Parameters:
      value - the new person reference id
    • getReferenceName

      public String getReferenceName()
      Gets the reference name.
      Returns:
      the reference name
    • setReferenceName

      public void setReferenceName(String value)
      Sets the reference name.
      Parameters:
      value - the new reference name
    • getPartyShortCode

      public String getPartyShortCode()
      Gets the party short code.
      Returns:
      the party short code
    • setPartyShortCode

      public void setPartyShortCode(String value)
      Sets the party short code.
      Parameters:
      value - the new party short code
    • getOrderNumber

      public int getOrderNumber()
      Gets the order number.
      Returns:
      the order number
    • setOrderNumber

      public void setOrderNumber(int value)
      Sets the order number.
      Parameters:
      value - the new order number
    • getRoleDescription

      public DocumentPersonReferenceRoleType getRoleDescription()
      Gets the role description.
      Returns:
      the role description
    • setRoleDescription

      public void setRoleDescription(DocumentPersonReferenceRoleType value)
      Sets the role description.
      Parameters:
      value - the new role description
    • withPersonReferenceId

      public DocumentPersonReferenceData withPersonReferenceId(String value)
      With person reference id.
      Parameters:
      value - the value
      Returns:
      the document person reference data
    • withReferenceName

      public DocumentPersonReferenceData withReferenceName(String value)
      With reference name.
      Parameters:
      value - the value
      Returns:
      the document person reference data
    • withPartyShortCode

      public DocumentPersonReferenceData withPartyShortCode(String value)
      With party short code.
      Parameters:
      value - the value
      Returns:
      the document person reference data
    • withOrderNumber

      public DocumentPersonReferenceData withOrderNumber(int value)
      With order number.
      Parameters:
      value - the value
      Returns:
      the document person reference data
    • withRoleDescription

      With role description.
      Parameters:
      value - the value
      Returns:
      the document person 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