Class ViewRiksdagenPersonSignedDocumentSummary
java.lang.Object
com.hack23.cia.model.internal.application.data.document.impl.ViewRiksdagenPersonSignedDocumentSummary
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,java.io.Serializable
@Entity(name="ViewRiksdagenPersonSignedDocumentSummary")
public class ViewRiksdagenPersonSignedDocumentSummary
extends java.lang.Object
implements com.hack23.cia.model.common.api.ModelObject
The Class ViewRiksdagenPersonSignedDocumentSummary.
JPA Entity for view_riksdagen_person_signed_document_summary database view.
Aggregates document signature counts by person, enabling analysis of
individual politician participation in legislative documents.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected java.lang.StringThe party.protected java.lang.StringThe person id.protected java.lang.StringThe person name.protected longThe total. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(java.lang.Object obj) Equals.java.lang.StringgetParty()Gets the party.java.lang.StringGets the person id.java.lang.StringGets the person name.longgetTotal()Gets the total.inthashCode()Hash code.voidsetParty(java.lang.String value) Sets the party.voidsetPersonId(java.lang.String value) Sets the person id.voidsetPersonName(java.lang.String value) Sets the person name.voidsetTotal(long value) Sets the total.java.lang.StringtoString()To string.withParty(java.lang.String value) With party.withPersonId(java.lang.String value) With person id.withPersonName(java.lang.String value) With person name.withTotal(long value) With total.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
personId
protected java.lang.String personIdThe person id. -
personName
protected java.lang.String personNameThe person name. -
party
protected java.lang.String partyThe party. -
total
protected long totalThe total.
-
-
Constructor Details
-
ViewRiksdagenPersonSignedDocumentSummary
public ViewRiksdagenPersonSignedDocumentSummary()
-
-
Method Details
-
getPersonId
public java.lang.String getPersonId()Gets the person id.- Returns:
- the person id
-
setPersonId
public void setPersonId(java.lang.String value) Sets the person id.- Parameters:
value- the new person id
-
getPersonName
public java.lang.String getPersonName()Gets the person name.- Returns:
- the person name
-
setPersonName
public void setPersonName(java.lang.String value) Sets the person name.- Parameters:
value- the new person name
-
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
-
getTotal
public long getTotal()Gets the total.- Returns:
- the total
-
setTotal
public void setTotal(long value) Sets the total.- Parameters:
value- the new total
-
withPersonId
With person id.- Parameters:
value- the value- Returns:
- the view riksdagen person signed document summary
-
withPersonName
With person name.- Parameters:
value- the value- Returns:
- the view riksdagen person signed document summary
-
withParty
With party.- Parameters:
value- the value- Returns:
- the view riksdagen person signed document summary
-
withTotal
With total.- Parameters:
value- the value- Returns:
- the view riksdagen person signed document summary
-
toString
public java.lang.String toString()To string.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string
-
equals
public boolean equals(java.lang.Object obj) Equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the obj- Returns:
- true, if successful
-
hashCode
public int hashCode()Hash code.- Overrides:
hashCodein classjava.lang.Object- Returns:
- the int
-