Class PersonData
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.person.impl.PersonData
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="PersonData") public class PersonData extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class PersonData.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
bornYear
The born year.protected java.lang.String
electionRegion
The election region.protected java.lang.String
firstName
The first name.protected SexType
gender
The gender.protected java.lang.String
hangarGuid
The hangar guid.protected java.lang.String
id
The id.protected java.lang.String
imageUrl192
The image url 192.protected java.lang.String
imageUrl80
The image url 80.protected java.lang.String
imageUrlMax
The image url max.protected java.lang.String
lastName
The last name.protected java.lang.String
party
The party.protected PersonAssignmentData
personAssignmentData
The person assignment data.protected PersonDetailData
personDetailData
The person detail data.protected java.lang.String
personUrlXml
The person url xml.protected java.lang.String
place
The place.protected java.lang.String
status
The status.
-
Constructor Summary
Constructors Constructor Description PersonData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
getBornYear()
Gets the born year.java.lang.String
getElectionRegion()
Gets the election region.java.lang.String
getFirstName()
Gets the first name.SexType
getGender()
Gets the gender.java.lang.String
getHangarGuid()
Gets the hangar guid.java.lang.String
getId()
Gets the id.java.lang.String
getImageUrl192()
Gets the image url 192.java.lang.String
getImageUrl80()
Gets the image url 80.java.lang.String
getImageUrlMax()
Gets the image url max.java.lang.String
getLastName()
Gets the last name.java.lang.String
getParty()
Gets the party.PersonAssignmentData
getPersonAssignmentData()
Gets the person assignment data.PersonDetailData
getPersonDetailData()
Gets the person detail data.java.lang.String
getPersonUrlXml()
Gets the person url xml.java.lang.String
getPlace()
Gets the place.java.lang.String
getStatus()
Gets the status.int
hashCode()
void
setBornYear(int value)
Sets the born year.void
setElectionRegion(java.lang.String value)
Sets the election region.void
setFirstName(java.lang.String value)
Sets the first name.void
setGender(SexType value)
Sets the gender.void
setHangarGuid(java.lang.String value)
Sets the hangar guid.void
setId(java.lang.String value)
Sets the id.void
setImageUrl192(java.lang.String value)
Sets the image url 192.void
setImageUrl80(java.lang.String value)
Sets the image url 80.void
setImageUrlMax(java.lang.String value)
Sets the image url max.void
setLastName(java.lang.String value)
Sets the last name.void
setParty(java.lang.String value)
Sets the party.void
setPersonAssignmentData(PersonAssignmentData value)
Sets the person assignment data.void
setPersonDetailData(PersonDetailData value)
Sets the person detail data.void
setPersonUrlXml(java.lang.String value)
Sets the person url xml.void
setPlace(java.lang.String value)
Sets the place.void
setStatus(java.lang.String value)
Sets the status.java.lang.String
toString()
PersonData
withBornYear(int value)
With born year.PersonData
withElectionRegion(java.lang.String value)
With election region.PersonData
withFirstName(java.lang.String value)
With first name.PersonData
withGender(SexType value)
With gender.PersonData
withHangarGuid(java.lang.String value)
With hangar guid.PersonData
withId(java.lang.String value)
With id.PersonData
withImageUrl192(java.lang.String value)
With image url 192.PersonData
withImageUrl80(java.lang.String value)
With image url 80.PersonData
withImageUrlMax(java.lang.String value)
With image url max.PersonData
withLastName(java.lang.String value)
With last name.PersonData
withParty(java.lang.String value)
With party.PersonData
withPersonAssignmentData(PersonAssignmentData value)
With person assignment data.PersonData
withPersonDetailData(PersonDetailData value)
With person detail data.PersonData
withPersonUrlXml(java.lang.String value)
With person url xml.PersonData
withPlace(java.lang.String value)
With place.PersonData
withStatus(java.lang.String value)
With status.
-
-
-
Field Detail
-
hangarGuid
protected java.lang.String hangarGuid
The hangar guid.
-
id
protected java.lang.String id
The id.
-
bornYear
protected int bornYear
The born year.
-
gender
protected SexType gender
The gender.
-
lastName
protected java.lang.String lastName
The last name.
-
firstName
protected java.lang.String firstName
The first name.
-
place
protected java.lang.String place
The place.
-
party
protected java.lang.String party
The party.
-
electionRegion
protected java.lang.String electionRegion
The election region.
-
status
protected java.lang.String status
The status.
-
imageUrl192
protected java.lang.String imageUrl192
The image url 192.
-
imageUrlMax
protected java.lang.String imageUrlMax
The image url max.
-
imageUrl80
protected java.lang.String imageUrl80
The image url 80.
-
personUrlXml
protected java.lang.String personUrlXml
The person url xml.
-
personAssignmentData
protected PersonAssignmentData personAssignmentData
The person assignment data.
-
personDetailData
protected PersonDetailData personDetailData
The person detail data.
-
-
Method Detail
-
getHangarGuid
public java.lang.String getHangarGuid()
Gets the hangar guid.- Returns:
- the hangar guid
-
setHangarGuid
public void setHangarGuid(java.lang.String value)
Sets the hangar guid.- Parameters:
value
- the new hangar guid
-
getId
public java.lang.String getId()
Gets the id.- Returns:
- the id
-
setId
public void setId(java.lang.String value)
Sets the id.- Parameters:
value
- the new id
-
getBornYear
public int getBornYear()
Gets the born year.- Returns:
- the born year
-
setBornYear
public void setBornYear(int value)
Sets the born year.- Parameters:
value
- the new born year
-
getGender
public SexType getGender()
Gets the gender.- Returns:
- the gender
-
setGender
public void setGender(SexType value)
Sets the gender.- Parameters:
value
- the new gender
-
getLastName
public java.lang.String getLastName()
Gets the last name.- Returns:
- the last name
-
setLastName
public void setLastName(java.lang.String value)
Sets the last name.- Parameters:
value
- the new last name
-
getFirstName
public java.lang.String getFirstName()
Gets the first name.- Returns:
- the first name
-
setFirstName
public void setFirstName(java.lang.String value)
Sets the first name.- Parameters:
value
- the new first name
-
getPlace
public java.lang.String getPlace()
Gets the place.- Returns:
- the place
-
setPlace
public void setPlace(java.lang.String value)
Sets the place.- Parameters:
value
- the new place
-
getParty
public java.lang.String getParty()
Gets the party.- Returns:
- the party
-
setParty
public void setParty(java.lang.String value)
Sets the party.- Parameters:
value
- the new party
-
getElectionRegion
public java.lang.String getElectionRegion()
Gets the election region.- Returns:
- the election region
-
setElectionRegion
public void setElectionRegion(java.lang.String value)
Sets the election region.- Parameters:
value
- the new election region
-
getStatus
public java.lang.String getStatus()
Gets the status.- Returns:
- the status
-
setStatus
public void setStatus(java.lang.String value)
Sets the status.- Parameters:
value
- the new status
-
getImageUrl192
public java.lang.String getImageUrl192()
Gets the image url 192.- Returns:
- the image url 192
-
setImageUrl192
public void setImageUrl192(java.lang.String value)
Sets the image url 192.- Parameters:
value
- the new image url 192
-
getImageUrlMax
public java.lang.String getImageUrlMax()
Gets the image url max.- Returns:
- the image url max
-
setImageUrlMax
public void setImageUrlMax(java.lang.String value)
Sets the image url max.- Parameters:
value
- the new image url max
-
getImageUrl80
public java.lang.String getImageUrl80()
Gets the image url 80.- Returns:
- the image url 80
-
setImageUrl80
public void setImageUrl80(java.lang.String value)
Sets the image url 80.- Parameters:
value
- the new image url 80
-
getPersonUrlXml
public java.lang.String getPersonUrlXml()
Gets the person url xml.- Returns:
- the person url xml
-
setPersonUrlXml
public void setPersonUrlXml(java.lang.String value)
Sets the person url xml.- Parameters:
value
- the new person url xml
-
getPersonAssignmentData
public PersonAssignmentData getPersonAssignmentData()
Gets the person assignment data.- Returns:
- the person assignment data
-
setPersonAssignmentData
public void setPersonAssignmentData(PersonAssignmentData value)
Sets the person assignment data.- Parameters:
value
- the new person assignment data
-
getPersonDetailData
public PersonDetailData getPersonDetailData()
Gets the person detail data.- Returns:
- the person detail data
-
setPersonDetailData
public void setPersonDetailData(PersonDetailData value)
Sets the person detail data.- Parameters:
value
- the new person detail data
-
withHangarGuid
public PersonData withHangarGuid(java.lang.String value)
With hangar guid.- Parameters:
value
- the value- Returns:
- the person data
-
withId
public PersonData withId(java.lang.String value)
With id.- Parameters:
value
- the value- Returns:
- the person data
-
withBornYear
public PersonData withBornYear(int value)
With born year.- Parameters:
value
- the value- Returns:
- the person data
-
withGender
public PersonData withGender(SexType value)
With gender.- Parameters:
value
- the value- Returns:
- the person data
-
withLastName
public PersonData withLastName(java.lang.String value)
With last name.- Parameters:
value
- the value- Returns:
- the person data
-
withFirstName
public PersonData withFirstName(java.lang.String value)
With first name.- Parameters:
value
- the value- Returns:
- the person data
-
withPlace
public PersonData withPlace(java.lang.String value)
With place.- Parameters:
value
- the value- Returns:
- the person data
-
withParty
public PersonData withParty(java.lang.String value)
With party.- Parameters:
value
- the value- Returns:
- the person data
-
withElectionRegion
public PersonData withElectionRegion(java.lang.String value)
With election region.- Parameters:
value
- the value- Returns:
- the person data
-
withStatus
public PersonData withStatus(java.lang.String value)
With status.- Parameters:
value
- the value- Returns:
- the person data
-
withImageUrl192
public PersonData withImageUrl192(java.lang.String value)
With image url 192.- Parameters:
value
- the value- Returns:
- the person data
-
withImageUrlMax
public PersonData withImageUrlMax(java.lang.String value)
With image url max.- Parameters:
value
- the value- Returns:
- the person data
-
withImageUrl80
public PersonData withImageUrl80(java.lang.String value)
With image url 80.- Parameters:
value
- the value- Returns:
- the person data
-
withPersonUrlXml
public PersonData withPersonUrlXml(java.lang.String value)
With person url xml.- Parameters:
value
- the value- Returns:
- the person data
-
withPersonAssignmentData
public PersonData withPersonAssignmentData(PersonAssignmentData value)
With person assignment data.- Parameters:
value
- the value- Returns:
- the person data
-
withPersonDetailData
public PersonData withPersonDetailData(PersonDetailData value)
With person detail data.- Parameters:
value
- the value- Returns:
- the person data
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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
-
-