Class DocumentPersonReferenceData
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentPersonReferenceData
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="DocumentPersonReferenceData") public class DocumentPersonReferenceData extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class DocumentPersonReferenceData.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Long
hjid
The hjid.protected int
orderNumber
The order number.protected java.lang.String
partyShortCode
The party short code.protected java.lang.String
personReferenceId
The person reference id.protected java.lang.String
referenceName
The reference name.protected DocumentPersonReferenceRoleType
roleDescription
The role description.
-
Constructor Summary
Constructors Constructor Description DocumentPersonReferenceData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.Long
getHjid()
Gets the hjid.int
getOrderNumber()
Gets the order number.java.lang.String
getPartyShortCode()
Gets the party short code.java.lang.String
getPersonReferenceId()
Gets the person reference id.java.lang.String
getReferenceName()
Gets the reference name.DocumentPersonReferenceRoleType
getRoleDescription()
Gets the role description.int
hashCode()
void
setHjid(java.lang.Long value)
Sets the hjid.void
setOrderNumber(int value)
Sets the order number.void
setPartyShortCode(java.lang.String value)
Sets the party short code.void
setPersonReferenceId(java.lang.String value)
Sets the person reference id.void
setReferenceName(java.lang.String value)
Sets the reference name.void
setRoleDescription(DocumentPersonReferenceRoleType value)
Sets the role description.java.lang.String
toString()
DocumentPersonReferenceData
withOrderNumber(int value)
With order number.DocumentPersonReferenceData
withPartyShortCode(java.lang.String value)
With party short code.DocumentPersonReferenceData
withPersonReferenceId(java.lang.String value)
With person reference id.DocumentPersonReferenceData
withReferenceName(java.lang.String value)
With reference name.DocumentPersonReferenceData
withRoleDescription(DocumentPersonReferenceRoleType value)
With role description.
-
-
-
Field Detail
-
personReferenceId
protected java.lang.String personReferenceId
The person reference id.
-
referenceName
protected java.lang.String referenceName
The reference name.
-
partyShortCode
protected java.lang.String partyShortCode
The party short code.
-
orderNumber
protected int orderNumber
The order number.
-
roleDescription
protected DocumentPersonReferenceRoleType roleDescription
The role description.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getPersonReferenceId
public java.lang.String getPersonReferenceId()
Gets the person reference id.- Returns:
- the person reference id
-
setPersonReferenceId
public void setPersonReferenceId(java.lang.String value)
Sets the person reference id.- Parameters:
value
- the new person reference id
-
getReferenceName
public java.lang.String getReferenceName()
Gets the reference name.- Returns:
- the reference name
-
setReferenceName
public void setReferenceName(java.lang.String value)
Sets the reference name.- Parameters:
value
- the new reference name
-
getPartyShortCode
public java.lang.String getPartyShortCode()
Gets the party short code.- Returns:
- the party short code
-
setPartyShortCode
public void setPartyShortCode(java.lang.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(java.lang.String value)
With person reference id.- Parameters:
value
- the value- Returns:
- the document person reference data
-
withReferenceName
public DocumentPersonReferenceData withReferenceName(java.lang.String value)
With reference name.- Parameters:
value
- the value- Returns:
- the document person reference data
-
withPartyShortCode
public DocumentPersonReferenceData withPartyShortCode(java.lang.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
public DocumentPersonReferenceData withRoleDescription(DocumentPersonReferenceRoleType value)
With role description.- Parameters:
value
- the value- Returns:
- the document person reference data
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.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 classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-