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