Class PersonContainerData
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.person.impl.PersonContainerData
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="PersonContainerData") public class PersonContainerData extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class PersonContainerData.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Long
hjid
The hjid.protected PersonData
person
The person.
-
Constructor Summary
Constructors Constructor Description PersonContainerData()
-
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.PersonData
getPerson()
Gets the person.int
hashCode()
void
setHjid(java.lang.Long value)
Sets the hjid.void
setPerson(PersonData value)
Sets the person.java.lang.String
toString()
PersonContainerData
withPerson(PersonData value)
With person.
-
-
-
Field Detail
-
person
protected PersonData person
The person.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getPerson
public PersonData getPerson()
Gets the person.- Returns:
- the person
-
setPerson
public void setPerson(PersonData value)
Sets the person.- Parameters:
value
- the new person
-
withPerson
public PersonContainerData withPerson(PersonData value)
With person.- Parameters:
value
- the value- Returns:
- the person container 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
-
-