Class PersonElement
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.personlista.impl.PersonElement
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="PersonElement") public class PersonElement extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class PersonElement.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
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 PersonAssignmentElement
personAssignmentElement
The person assignment element.protected PersonDetailElement
personDetailElement
The person detail element.protected java.lang.String
personUrlXml
The person url xml.protected java.lang.String
place
The place.protected RoleStatus
status
The status.
-
Constructor Summary
Constructors Constructor Description PersonElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
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.PersonAssignmentElement
getPersonAssignmentElement()
Gets the person assignment element.PersonDetailElement
getPersonDetailElement()
Gets the person detail element.java.lang.String
getPersonUrlXml()
Gets the person url xml.java.lang.String
getPlace()
Gets the place.RoleStatus
getStatus()
Gets the status.int
hashCode()
void
setBornYear(java.lang.String 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
setPersonAssignmentElement(PersonAssignmentElement value)
Sets the person assignment element.void
setPersonDetailElement(PersonDetailElement value)
Sets the person detail element.void
setPersonUrlXml(java.lang.String value)
Sets the person url xml.void
setPlace(java.lang.String value)
Sets the place.void
setStatus(RoleStatus value)
Sets the status.java.lang.String
toString()
PersonElement
withBornYear(java.lang.String value)
With born year.PersonElement
withElectionRegion(java.lang.String value)
With election region.PersonElement
withFirstName(java.lang.String value)
With first name.PersonElement
withGender(SexType value)
With gender.PersonElement
withHangarGuid(java.lang.String value)
With hangar guid.PersonElement
withId(java.lang.String value)
With id.PersonElement
withImageUrl192(java.lang.String value)
With image url 192.PersonElement
withImageUrl80(java.lang.String value)
With image url 80.PersonElement
withImageUrlMax(java.lang.String value)
With image url max.PersonElement
withLastName(java.lang.String value)
With last name.PersonElement
withParty(java.lang.String value)
With party.PersonElement
withPersonAssignmentElement(PersonAssignmentElement value)
With person assignment element.PersonElement
withPersonDetailElement(PersonDetailElement value)
With person detail element.PersonElement
withPersonUrlXml(java.lang.String value)
With person url xml.PersonElement
withPlace(java.lang.String value)
With place.PersonElement
withStatus(RoleStatus value)
With status.
-
-
-
Field Detail
-
hangarGuid
protected java.lang.String hangarGuid
The hangar guid.
-
id
protected java.lang.String id
The id.
-
bornYear
protected java.lang.String 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 RoleStatus 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.
-
personAssignmentElement
protected PersonAssignmentElement personAssignmentElement
The person assignment element.
-
personDetailElement
protected PersonDetailElement personDetailElement
The person detail element.
-
-
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 java.lang.String getBornYear()
Gets the born year.- Returns:
- the born year
-
setBornYear
public void setBornYear(java.lang.String 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 RoleStatus getStatus()
Gets the status.- Returns:
- the status
-
setStatus
public void setStatus(RoleStatus 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
-
getPersonAssignmentElement
public PersonAssignmentElement getPersonAssignmentElement()
Gets the person assignment element.- Returns:
- the person assignment element
-
setPersonAssignmentElement
public void setPersonAssignmentElement(PersonAssignmentElement value)
Sets the person assignment element.- Parameters:
value
- the new person assignment element
-
getPersonDetailElement
public PersonDetailElement getPersonDetailElement()
Gets the person detail element.- Returns:
- the person detail element
-
setPersonDetailElement
public void setPersonDetailElement(PersonDetailElement value)
Sets the person detail element.- Parameters:
value
- the new person detail element
-
withHangarGuid
public PersonElement withHangarGuid(java.lang.String value)
With hangar guid.- Parameters:
value
- the value- Returns:
- the person element
-
withId
public PersonElement withId(java.lang.String value)
With id.- Parameters:
value
- the value- Returns:
- the person element
-
withBornYear
public PersonElement withBornYear(java.lang.String value)
With born year.- Parameters:
value
- the value- Returns:
- the person element
-
withGender
public PersonElement withGender(SexType value)
With gender.- Parameters:
value
- the value- Returns:
- the person element
-
withLastName
public PersonElement withLastName(java.lang.String value)
With last name.- Parameters:
value
- the value- Returns:
- the person element
-
withFirstName
public PersonElement withFirstName(java.lang.String value)
With first name.- Parameters:
value
- the value- Returns:
- the person element
-
withPlace
public PersonElement withPlace(java.lang.String value)
With place.- Parameters:
value
- the value- Returns:
- the person element
-
withParty
public PersonElement withParty(java.lang.String value)
With party.- Parameters:
value
- the value- Returns:
- the person element
-
withElectionRegion
public PersonElement withElectionRegion(java.lang.String value)
With election region.- Parameters:
value
- the value- Returns:
- the person element
-
withStatus
public PersonElement withStatus(RoleStatus value)
With status.- Parameters:
value
- the value- Returns:
- the person element
-
withImageUrl192
public PersonElement withImageUrl192(java.lang.String value)
With image url 192.- Parameters:
value
- the value- Returns:
- the person element
-
withImageUrlMax
public PersonElement withImageUrlMax(java.lang.String value)
With image url max.- Parameters:
value
- the value- Returns:
- the person element
-
withImageUrl80
public PersonElement withImageUrl80(java.lang.String value)
With image url 80.- Parameters:
value
- the value- Returns:
- the person element
-
withPersonUrlXml
public PersonElement withPersonUrlXml(java.lang.String value)
With person url xml.- Parameters:
value
- the value- Returns:
- the person element
-
withPersonAssignmentElement
public PersonElement withPersonAssignmentElement(PersonAssignmentElement value)
With person assignment element.- Parameters:
value
- the value- Returns:
- the person element
-
withPersonDetailElement
public PersonElement withPersonDetailElement(PersonDetailElement value)
With person detail element.- Parameters:
value
- the value- Returns:
- the person element
-
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
-
-