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 Summary
FieldsModifier and TypeFieldDescriptionprotected LongThe hjid.protected intThe order number.protected StringThe party short code.protected StringThe person reference id.protected StringThe reference name.protected DocumentPersonReferenceRoleTypeThe role description. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHjid()Gets the hjid.intGets the order number.Gets the party short code.Gets the person reference id.Gets the reference name.Gets the role description.final inthashCode()voidSets the hjid.voidsetOrderNumber(int value) Sets the order number.voidsetPartyShortCode(String value) Sets the party short code.voidsetPersonReferenceId(String value) Sets the person reference id.voidsetReferenceName(String value) Sets the reference name.voidSets the role description.final StringtoString()withOrderNumber(int value) With order number.withPartyShortCode(String value) With party short code.withPersonReferenceId(String value) With person reference id.withReferenceName(String value) With reference name.With role description.
-
Field Details
-
personReferenceId
The person reference id. -
referenceName
The reference name. -
partyShortCode
The party short code. -
orderNumber
protected int orderNumberThe order number. -
roleDescription
The role description. -
hjid
The hjid.
-
-
Constructor Details
-
DocumentPersonReferenceData
public DocumentPersonReferenceData()
-
-
Method Details
-
getPersonReferenceId
Gets the person reference id.- Returns:
- the person reference id
-
setPersonReferenceId
Sets the person reference id.- Parameters:
value- the new person reference id
-
getReferenceName
Gets the reference name.- Returns:
- the reference name
-
setReferenceName
Sets the reference name.- Parameters:
value- the new reference name
-
getPartyShortCode
Gets the party short code.- Returns:
- the party short code
-
setPartyShortCode
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
Gets the role description.- Returns:
- the role description
-
setRoleDescription
Sets the role description.- Parameters:
value- the new role description
-
withPersonReferenceId
With person reference id.- Parameters:
value- the value- Returns:
- the document person reference data
-
withReferenceName
With reference name.- Parameters:
value- the value- Returns:
- the document person reference data
-
withPartyShortCode
With party short code.- Parameters:
value- the value- Returns:
- the document person reference data
-
withOrderNumber
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
-
getHjid
Gets the hjid.- Returns:
- the hjid
-
setHjid
Sets the hjid.- Parameters:
value- the new hjid
-
equals
-
hashCode
public final int hashCode()
-