Class ViewRiksdagenPoliticianDocumentSummary
java.lang.Object
com.hack23.cia.model.internal.application.data.politician.impl.ViewRiksdagenPoliticianDocumentSummary
- All Implemented Interfaces:
java.io.Serializable
@Entity
public class ViewRiksdagenPoliticianDocumentSummary
extends java.lang.Object
implements java.io.Serializable
The Class ViewRiksdagenPoliticianDocumentSummary.
Maps to the materialized view view_riksdagen_politician_document_summary
which provides all-time aggregated document statistics by politician.
Intelligence Purpose:
- Temporal Analysis Framework: All-time politician productivity comparison and analysis
- Pattern Recognition: Identifies document activity profiles (Party-focused, Individual-focused, etc.)
- Performance Monitoring: Tracks overall politician legislative productivity metrics
- Strategic Analysis: Analyzes collaboration patterns and activity levels across careers
Key Metrics:
- Total documents and document type breakdown (motions, propositions)
- Motion type classification (party, individual, committee, multi-party)
- Activity timeline (first/last document, years active, docs per year)
- Activity profile classification (Party-focused/Individual-focused/Committee-focused/Mixed)
- Activity level classification (Very High/High/Medium/Low/Inactive)
- Collaboration percentage based on multi-party motions
- Author:
- James Pether Sörling
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new view riksdagen politician document summary. -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(java.lang.Object obj) java.lang.StringGets the activity level.java.lang.StringGets the activity profile.java.math.BigDecimalGets the collaboration percentage.java.math.BigIntegerGets the committee motions.java.math.BigDecimalGets the committee motions pct.java.math.BigDecimalGets the docs per year.java.math.BigIntegerGets the documents last year.java.lang.String[]Gets the document types.java.lang.StringGets the document types string.java.util.DateGets the first document date.java.math.BigIntegerGets the follow up motions.java.math.BigIntegerGets the government communications.java.math.BigIntegerGets the individual motions.java.math.BigDecimalGets the individual motions pct.java.util.DateGets the last document date.java.math.BigIntegerGets the multi party motions.java.math.BigIntegerGets the party motions.java.math.BigDecimalGets the party motions pct.java.lang.StringGets the person reference id.java.math.BigIntegerGets the propositions.java.math.BigIntegerGets the total documents.java.lang.IntegerGets the years active.inthashCode()voidsetActivityLevel(java.lang.String activityLevel) Sets the activity level.voidsetActivityProfile(java.lang.String activityProfile) Sets the activity profile.voidsetCollaborationPercentage(java.math.BigDecimal collaborationPercentage) Sets the collaboration percentage.voidsetCommitteeMotions(java.math.BigInteger committeeMotions) Sets the committee motions.voidsetCommitteeMotionsPct(java.math.BigDecimal committeeMotionsPct) Sets the committee motions pct.voidsetDocsPerYear(java.math.BigDecimal docsPerYear) Sets the docs per year.voidsetDocumentsLastYear(java.math.BigInteger documentsLastYear) Sets the documents last year.voidsetDocumentTypes(java.lang.String[] documentTypes) Sets the document types.voidsetDocumentTypesString(java.lang.String documentTypesString) Sets the document types string.voidsetFirstDocumentDate(java.util.Date firstDocumentDate) Sets the first document date.voidsetFollowUpMotions(java.math.BigInteger followUpMotions) Sets the follow up motions.voidsetGovernmentCommunications(java.math.BigInteger governmentCommunications) Sets the government communications.voidsetIndividualMotions(java.math.BigInteger individualMotions) Sets the individual motions.voidsetIndividualMotionsPct(java.math.BigDecimal individualMotionsPct) Sets the individual motions pct.voidsetLastDocumentDate(java.util.Date lastDocumentDate) Sets the last document date.voidsetMultiPartyMotions(java.math.BigInteger multiPartyMotions) Sets the multi party motions.voidsetPartyMotions(java.math.BigInteger partyMotions) Sets the party motions.voidsetPartyMotionsPct(java.math.BigDecimal partyMotionsPct) Sets the party motions pct.voidsetPersonReferenceId(java.lang.String personReferenceId) Sets the person reference id.voidsetPropositions(java.math.BigInteger propositions) Sets the propositions.voidsetTotalDocuments(java.math.BigInteger totalDocuments) Sets the total documents.voidsetYearsActive(java.lang.Integer yearsActive) Sets the years active.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ViewRiksdagenPoliticianDocumentSummary
public ViewRiksdagenPoliticianDocumentSummary()Instantiates a new view riksdagen politician document summary.
-
-
Method Details
-
getPersonReferenceId
public java.lang.String getPersonReferenceId()Gets the person reference id.- Returns:
- the person reference id
-
setPersonReferenceId
public void setPersonReferenceId(java.lang.String personReferenceId) Sets the person reference id.- Parameters:
personReferenceId- the new person reference id
-
getTotalDocuments
public java.math.BigInteger getTotalDocuments()Gets the total documents.- Returns:
- the total documents
-
setTotalDocuments
public void setTotalDocuments(java.math.BigInteger totalDocuments) Sets the total documents.- Parameters:
totalDocuments- the new total documents
-
getPartyMotions
public java.math.BigInteger getPartyMotions()Gets the party motions.- Returns:
- the party motions
-
setPartyMotions
public void setPartyMotions(java.math.BigInteger partyMotions) Sets the party motions.- Parameters:
partyMotions- the new party motions
-
getIndividualMotions
public java.math.BigInteger getIndividualMotions()Gets the individual motions.- Returns:
- the individual motions
-
setIndividualMotions
public void setIndividualMotions(java.math.BigInteger individualMotions) Sets the individual motions.- Parameters:
individualMotions- the new individual motions
-
getFollowUpMotions
public java.math.BigInteger getFollowUpMotions()Gets the follow up motions.- Returns:
- the follow up motions
-
setFollowUpMotions
public void setFollowUpMotions(java.math.BigInteger followUpMotions) Sets the follow up motions.- Parameters:
followUpMotions- the new follow up motions
-
getCommitteeMotions
public java.math.BigInteger getCommitteeMotions()Gets the committee motions.- Returns:
- the committee motions
-
setCommitteeMotions
public void setCommitteeMotions(java.math.BigInteger committeeMotions) Sets the committee motions.- Parameters:
committeeMotions- the new committee motions
-
getMultiPartyMotions
public java.math.BigInteger getMultiPartyMotions()Gets the multi party motions.- Returns:
- the multi party motions
-
setMultiPartyMotions
public void setMultiPartyMotions(java.math.BigInteger multiPartyMotions) Sets the multi party motions.- Parameters:
multiPartyMotions- the new multi party motions
-
getPartyMotionsPct
public java.math.BigDecimal getPartyMotionsPct()Gets the party motions pct.- Returns:
- the party motions pct
-
setPartyMotionsPct
public void setPartyMotionsPct(java.math.BigDecimal partyMotionsPct) Sets the party motions pct.- Parameters:
partyMotionsPct- the new party motions pct
-
getIndividualMotionsPct
public java.math.BigDecimal getIndividualMotionsPct()Gets the individual motions pct.- Returns:
- the individual motions pct
-
setIndividualMotionsPct
public void setIndividualMotionsPct(java.math.BigDecimal individualMotionsPct) Sets the individual motions pct.- Parameters:
individualMotionsPct- the new individual motions pct
-
getCommitteeMotionsPct
public java.math.BigDecimal getCommitteeMotionsPct()Gets the committee motions pct.- Returns:
- the committee motions pct
-
setCommitteeMotionsPct
public void setCommitteeMotionsPct(java.math.BigDecimal committeeMotionsPct) Sets the committee motions pct.- Parameters:
committeeMotionsPct- the new committee motions pct
-
getFirstDocumentDate
public java.util.Date getFirstDocumentDate()Gets the first document date.- Returns:
- the first document date
-
setFirstDocumentDate
public void setFirstDocumentDate(java.util.Date firstDocumentDate) Sets the first document date.- Parameters:
firstDocumentDate- the new first document date
-
getLastDocumentDate
public java.util.Date getLastDocumentDate()Gets the last document date.- Returns:
- the last document date
-
setLastDocumentDate
public void setLastDocumentDate(java.util.Date lastDocumentDate) Sets the last document date.- Parameters:
lastDocumentDate- the new last document date
-
getYearsActive
public java.lang.Integer getYearsActive()Gets the years active.- Returns:
- the years active
-
setYearsActive
public void setYearsActive(java.lang.Integer yearsActive) Sets the years active.- Parameters:
yearsActive- the new years active
-
getDocsPerYear
public java.math.BigDecimal getDocsPerYear()Gets the docs per year.- Returns:
- the docs per year
-
setDocsPerYear
public void setDocsPerYear(java.math.BigDecimal docsPerYear) Sets the docs per year.- Parameters:
docsPerYear- the new docs per year
-
getDocumentsLastYear
public java.math.BigInteger getDocumentsLastYear()Gets the documents last year.- Returns:
- the documents last year
-
setDocumentsLastYear
public void setDocumentsLastYear(java.math.BigInteger documentsLastYear) Sets the documents last year.- Parameters:
documentsLastYear- the new documents last year
-
getPropositions
public java.math.BigInteger getPropositions()Gets the propositions.- Returns:
- the propositions
-
setPropositions
public void setPropositions(java.math.BigInteger propositions) Sets the propositions.- Parameters:
propositions- the new propositions
-
getGovernmentCommunications
public java.math.BigInteger getGovernmentCommunications()Gets the government communications.- Returns:
- the government communications
-
setGovernmentCommunications
public void setGovernmentCommunications(java.math.BigInteger governmentCommunications) Sets the government communications.- Parameters:
governmentCommunications- the new government communications
-
getDocumentTypes
public java.lang.String[] getDocumentTypes()Gets the document types.- Returns:
- the document types
-
setDocumentTypes
public void setDocumentTypes(java.lang.String[] documentTypes) Sets the document types.- Parameters:
documentTypes- the new document types
-
getDocumentTypesString
public java.lang.String getDocumentTypesString()Gets the document types string.- Returns:
- the document types string
-
setDocumentTypesString
public void setDocumentTypesString(java.lang.String documentTypesString) Sets the document types string.- Parameters:
documentTypesString- the new document types string
-
getActivityProfile
public java.lang.String getActivityProfile()Gets the activity profile.- Returns:
- the activity profile
-
setActivityProfile
public void setActivityProfile(java.lang.String activityProfile) Sets the activity profile.- Parameters:
activityProfile- the new activity profile
-
getActivityLevel
public java.lang.String getActivityLevel()Gets the activity level.- Returns:
- the activity level
-
setActivityLevel
public void setActivityLevel(java.lang.String activityLevel) Sets the activity level.- Parameters:
activityLevel- the new activity level
-
getCollaborationPercentage
public java.math.BigDecimal getCollaborationPercentage()Gets the collaboration percentage.- Returns:
- the collaboration percentage
-
setCollaborationPercentage
public void setCollaborationPercentage(java.math.BigDecimal collaborationPercentage) Sets the collaboration percentage.- Parameters:
collaborationPercentage- the new collaboration percentage
-
equals
public boolean equals(java.lang.Object obj) - Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-