ViewRiksdagenPartySummary.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 12:05:09 AM CET
//
package com.hack23.cia.model.internal.application.data.party.impl;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hack23.cia.model.common.api.ModelObject;
import com.hack23.cia.model.common.impl.xml.XmlDateTypeAdapter;
/**
* <p>
* Java class for ViewRiksdagenPartySummary complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="ViewRiksdagenPartySummary">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="party" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="totalAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="currentAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="firstAssignmentDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="lastAssignmentDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="totalDaysServed" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalDaysServedParliament" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalDaysServedCommittee" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalDaysServedGovernment" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalDaysServedEu" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="activeEu" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="activeGovernment" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="activeCommittee" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="activeParliament" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="totalActiveEu" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalActiveGovernment" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalActiveCommittee" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalActiveParliament" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="activeParty" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="activeSpeaker" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="totalDaysServedSpeaker" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalDaysServedParty" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalPartyAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalMinistryAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalCommitteeAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="totalSpeakerAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="currentPartyAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="currentMinistryAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="currentCommitteeAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="currentSpeakerAssignments" type="{http://www.w3.org/2001/XMLSchema}long"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ViewRiksdagenPartySummary", propOrder = { "party", "totalAssignments", "currentAssignments",
"firstAssignmentDate", "lastAssignmentDate", "totalDaysServed", "totalDaysServedParliament",
"totalDaysServedCommittee", "totalDaysServedGovernment", "totalDaysServedEu", "active", "activeEu",
"activeGovernment", "activeCommittee", "activeParliament", "totalActiveEu", "totalActiveGovernment",
"totalActiveCommittee", "totalActiveParliament", "activeParty", "activeSpeaker", "totalDaysServedSpeaker",
"totalDaysServedParty", "totalPartyAssignments", "totalMinistryAssignments", "totalCommitteeAssignments",
"totalSpeakerAssignments", "currentPartyAssignments", "currentMinistryAssignments",
"currentCommitteeAssignments", "currentSpeakerAssignments", "totalCommitteeSubstituteAssignments",
"currentCommitteeSubstituteAssignments", "totalDaysServedCommitteeSubstitute",
"totalCommitteeLeadershipAssignments", "currentCommitteeLeadershipAssignments",
"totalDaysServedCommitteeLeadership","totalDocuments", "avgDocumentsPerMember", "totalPartyMotions", "totalIndividualMotions",
"totalCommitteeMotions", "totalCollaborativeMotions", "totalFollowUpMotions",
"veryHighActivityMembers", "highActivityMembers", "mediumActivityMembers", "lowActivityMembers",
"partyFocusedMembers", "committeeFocusedMembers", "individualFocusedMembers",
"currentlyActiveMembers", "totalDocumentsLastYear", "avgDocumentsLastYear",
"firstPartyDocument", "lastPartyDocument", "avgCollaborationPercentage",
"highlyCollaborativeMembers" })
@Entity(name = "ViewRiksdagenPartySummary")
@Table(name = "VIEW_RIKSDAGEN_PARTY_SUMMARY")
@Inheritance(strategy = InheritanceType.JOINED)
public class ViewRiksdagenPartySummary implements ModelObject {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = 1L;
/** The party. */
@XmlElement(required = true)
protected String party;
/** The total assignments. */
protected long totalAssignments;
/** The current assignments. */
protected long currentAssignments;
/** The first assignment date. */
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(XmlDateTypeAdapter.class)
@XmlSchemaType(name = "date")
protected Date firstAssignmentDate;
/** The last assignment date. */
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(XmlDateTypeAdapter.class)
@XmlSchemaType(name = "date")
protected Date lastAssignmentDate;
/** The total days served. */
protected long totalDaysServed;
/** The total days served parliament. */
protected long totalDaysServedParliament;
/** The total days served committee. */
protected long totalDaysServedCommittee;
/** The total days served government. */
protected long totalDaysServedGovernment;
/** The total days served eu. */
protected long totalDaysServedEu;
/** The active. */
protected boolean active;
/** The active eu. */
protected boolean activeEu;
/** The active government. */
protected boolean activeGovernment;
/** The active committee. */
protected boolean activeCommittee;
/** The active parliament. */
protected boolean activeParliament;
/** The total active eu. */
protected long totalActiveEu;
/** The total active government. */
protected long totalActiveGovernment;
/** The total active committee. */
protected long totalActiveCommittee;
/** The total active parliament. */
protected long totalActiveParliament;
/** The active party. */
protected boolean activeParty;
/** The active speaker. */
protected boolean activeSpeaker;
/** The total days served speaker. */
protected long totalDaysServedSpeaker;
/** The total days served party. */
protected long totalDaysServedParty;
/** The total party assignments. */
protected long totalPartyAssignments;
/** The total ministry assignments. */
protected long totalMinistryAssignments;
/** The total committee assignments. */
protected long totalCommitteeAssignments;
/** The total speaker assignments. */
protected long totalSpeakerAssignments;
/** The current party assignments. */
protected long currentPartyAssignments;
/** The current ministry assignments. */
protected long currentMinistryAssignments;
/** The current committee assignments. */
protected long currentCommitteeAssignments;
/** The current speaker assignments. */
protected long currentSpeakerAssignments;
/** The total committee substitute assignments. */
protected long totalCommitteeSubstituteAssignments;
/** The current committee substitute assignments. */
protected long currentCommitteeSubstituteAssignments;
/** The total days served committee substitute. */
protected long totalDaysServedCommitteeSubstitute;
/** The total committee leadership assignments. */
protected long totalCommitteeLeadershipAssignments;
/** The current committee leadership assignments. */
protected long currentCommitteeLeadershipAssignments;
/** The total days served committee leadership. */
protected long totalDaysServedCommitteeLeadership;
/** The total documents. */
protected long totalDocuments;
/** The average documents per member. */
protected double avgDocumentsPerMember;
/** The total party motions. */
protected long totalPartyMotions;
/** The total individual motions. */
protected long totalIndividualMotions;
/** The total committee motions. */
protected long totalCommitteeMotions;
/** The total collaborative motions. */
protected long totalCollaborativeMotions;
/** The total follow up motions. */
protected long totalFollowUpMotions;
/** The very high activity members. */
protected long veryHighActivityMembers;
/** The high activity members. */
protected long highActivityMembers;
/** The medium activity members. */
protected long mediumActivityMembers;
/** The low activity members. */
protected long lowActivityMembers;
/** The party focused members. */
protected long partyFocusedMembers;
/** The committee focused members. */
protected long committeeFocusedMembers;
/** The individual focused members. */
protected long individualFocusedMembers;
/** The currently active members. */
protected long currentlyActiveMembers;
/** The total documents last year. */
protected long totalDocumentsLastYear;
/** The average documents last year. */
protected double avgDocumentsLastYear;
/** The first party document. */
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(XmlDateTypeAdapter.class)
@XmlSchemaType(name = "date")
protected Date firstPartyDocument;
/** The last party document. */
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(XmlDateTypeAdapter.class)
@XmlSchemaType(name = "date")
protected Date lastPartyDocument;
/** The average collaboration percentage. */
protected double avgCollaborationPercentage;
/** The highly collaborative members. */
protected long highlyCollaborativeMembers;
/**
* Gets the value of the party property.
*
* @return possible object is {@link String }
*
*/
@Id
@Column(name = "PARTY")
public String getParty() {
return party;
}
/**
* Sets the value of the party property.
*
* @param value allowed object is {@link String }
*
*/
public void setParty(final String value) {
this.party = value;
}
/**
* Gets the value of the totalAssignments property.
*
* @return the total assignments
*/
@Basic
@Column(name = "TOTAL_ASSIGNMENTS", precision = 20)
public long getTotalAssignments() {
return totalAssignments;
}
/**
* Sets the value of the totalAssignments property.
*
* @param value the new total assignments
*/
public void setTotalAssignments(final long value) {
this.totalAssignments = value;
}
/**
* Gets the value of the currentAssignments property.
*
* @return the current assignments
*/
@Basic
@Column(name = "CURRENT_ASSIGNMENTS", precision = 20)
public long getCurrentAssignments() {
return currentAssignments;
}
/**
* Sets the value of the currentAssignments property.
*
* @param value the new current assignments
*/
public void setCurrentAssignments(final long value) {
this.currentAssignments = value;
}
/**
* Gets the value of the firstAssignmentDate property.
*
* @return possible object is {@link String }
*
*/
@Basic
@Column(name = "FIRST_ASSIGNMENT_DATE")
@Temporal(TemporalType.DATE)
public Date getFirstAssignmentDate() {
return firstAssignmentDate;
}
/**
* Sets the value of the firstAssignmentDate property.
*
* @param value allowed object is {@link String }
*
*/
public void setFirstAssignmentDate(final Date value) {
this.firstAssignmentDate = value;
}
/**
* Gets the value of the lastAssignmentDate property.
*
* @return possible object is {@link String }
*
*/
@Basic
@Column(name = "LAST_ASSIGNMENT_DATE")
@Temporal(TemporalType.DATE)
public Date getLastAssignmentDate() {
return lastAssignmentDate;
}
/**
* Sets the value of the lastAssignmentDate property.
*
* @param value allowed object is {@link String }
*
*/
public void setLastAssignmentDate(final Date value) {
this.lastAssignmentDate = value;
}
/**
* Gets the value of the totalDaysServed property.
*
* @return the total days served
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED", precision = 20)
public long getTotalDaysServed() {
return totalDaysServed;
}
/**
* Sets the value of the totalDaysServed property.
*
* @param value the new total days served
*/
public void setTotalDaysServed(final long value) {
this.totalDaysServed = value;
}
/**
* Gets the value of the totalDaysServedParliament property.
*
* @return the total days served parliament
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_PARLIAMENT", precision = 20)
public long getTotalDaysServedParliament() {
return totalDaysServedParliament;
}
/**
* Sets the value of the totalDaysServedParliament property.
*
* @param value the new total days served parliament
*/
public void setTotalDaysServedParliament(final long value) {
this.totalDaysServedParliament = value;
}
/**
* Gets the value of the totalDaysServedCommittee property.
*
* @return the total days served committee
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_COMMITTEE", precision = 20)
public long getTotalDaysServedCommittee() {
return totalDaysServedCommittee;
}
/**
* Sets the value of the totalDaysServedCommittee property.
*
* @param value the new total days served committee
*/
public void setTotalDaysServedCommittee(final long value) {
this.totalDaysServedCommittee = value;
}
/**
* Gets the value of the totalDaysServedGovernment property.
*
* @return the total days served government
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_GOVERNMENT", precision = 20)
public long getTotalDaysServedGovernment() {
return totalDaysServedGovernment;
}
/**
* Sets the value of the totalDaysServedGovernment property.
*
* @param value the new total days served government
*/
public void setTotalDaysServedGovernment(final long value) {
this.totalDaysServedGovernment = value;
}
/**
* Gets the value of the totalDaysServedEu property.
*
* @return the total days served eu
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_EU", precision = 20)
public long getTotalDaysServedEu() {
return totalDaysServedEu;
}
/**
* Sets the value of the totalDaysServedEu property.
*
* @param value the new total days served eu
*/
public void setTotalDaysServedEu(final long value) {
this.totalDaysServedEu = value;
}
/**
* Gets the value of the active property.
*
* @return true, if is active
*/
@Basic
@Column(name = "ACTIVE")
public boolean isActive() {
return active;
}
/**
* Sets the value of the active property.
*
* @param value the new active
*/
public void setActive(final boolean value) {
this.active = value;
}
/**
* Gets the value of the activeEu property.
*
* @return true, if is active eu
*/
@Basic
@Column(name = "ACTIVE_EU")
public boolean isActiveEu() {
return activeEu;
}
/**
* Sets the value of the activeEu property.
*
* @param value the new active eu
*/
public void setActiveEu(final boolean value) {
this.activeEu = value;
}
/**
* Gets the value of the activeGovernment property.
*
* @return true, if is active government
*/
@Basic
@Column(name = "ACTIVE_GOVERNMENT")
public boolean isActiveGovernment() {
return activeGovernment;
}
/**
* Sets the value of the activeGovernment property.
*
* @param value the new active government
*/
public void setActiveGovernment(final boolean value) {
this.activeGovernment = value;
}
/**
* Gets the value of the activeCommittee property.
*
* @return true, if is active committee
*/
@Basic
@Column(name = "ACTIVE_COMMITTEE")
public boolean isActiveCommittee() {
return activeCommittee;
}
/**
* Sets the value of the activeCommittee property.
*
* @param value the new active committee
*/
public void setActiveCommittee(final boolean value) {
this.activeCommittee = value;
}
/**
* Gets the value of the activeParliament property.
*
* @return true, if is active parliament
*/
@Basic
@Column(name = "ACTIVE_PARLIAMENT")
public boolean isActiveParliament() {
return activeParliament;
}
/**
* Sets the value of the activeParliament property.
*
* @param value the new active parliament
*/
public void setActiveParliament(final boolean value) {
this.activeParliament = value;
}
/**
* Gets the value of the totalActiveEu property.
*
* @return the total active eu
*/
@Basic
@Column(name = "TOTAL_ACTIVE_EU", precision = 20)
public long getTotalActiveEu() {
return totalActiveEu;
}
/**
* Sets the value of the totalActiveEu property.
*
* @param value the new total active eu
*/
public void setTotalActiveEu(final long value) {
this.totalActiveEu = value;
}
/**
* Gets the value of the totalActiveGovernment property.
*
* @return the total active government
*/
@Basic
@Column(name = "TOTAL_ACTIVE_GOVERNMENT", precision = 20)
public long getTotalActiveGovernment() {
return totalActiveGovernment;
}
/**
* Sets the value of the totalActiveGovernment property.
*
* @param value the new total active government
*/
public void setTotalActiveGovernment(final long value) {
this.totalActiveGovernment = value;
}
/**
* Gets the value of the totalActiveCommittee property.
*
* @return the total active committee
*/
@Basic
@Column(name = "TOTAL_ACTIVE_COMMITTEE", precision = 20)
public long getTotalActiveCommittee() {
return totalActiveCommittee;
}
/**
* Sets the value of the totalActiveCommittee property.
*
* @param value the new total active committee
*/
public void setTotalActiveCommittee(final long value) {
this.totalActiveCommittee = value;
}
/**
* Gets the value of the totalActiveParliament property.
*
* @return the total active parliament
*/
@Basic
@Column(name = "TOTAL_ACTIVE_PARLIAMENT", precision = 20)
public long getTotalActiveParliament() {
return totalActiveParliament;
}
/**
* Sets the value of the totalActiveParliament property.
*
* @param value the new total active parliament
*/
public void setTotalActiveParliament(final long value) {
this.totalActiveParliament = value;
}
/**
* Gets the value of the activeParty property.
*
* @return true, if is active party
*/
@Basic
@Column(name = "ACTIVE_PARTY")
public boolean isActiveParty() {
return activeParty;
}
/**
* Sets the value of the activeParty property.
*
* @param value the new active party
*/
public void setActiveParty(final boolean value) {
this.activeParty = value;
}
/**
* Gets the value of the activeSpeaker property.
*
* @return true, if is active speaker
*/
@Basic
@Column(name = "ACTIVE_SPEAKER")
public boolean isActiveSpeaker() {
return activeSpeaker;
}
/**
* Sets the value of the activeSpeaker property.
*
* @param value the new active speaker
*/
public void setActiveSpeaker(final boolean value) {
this.activeSpeaker = value;
}
/**
* Gets the value of the totalDaysServedSpeaker property.
*
* @return the total days served speaker
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_SPEAKER", precision = 20)
public long getTotalDaysServedSpeaker() {
return totalDaysServedSpeaker;
}
/**
* Sets the value of the totalDaysServedSpeaker property.
*
* @param value the new total days served speaker
*/
public void setTotalDaysServedSpeaker(final long value) {
this.totalDaysServedSpeaker = value;
}
/**
* Gets the value of the totalDaysServedParty property.
*
* @return the total days served party
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_PARTY", precision = 20)
public long getTotalDaysServedParty() {
return totalDaysServedParty;
}
/**
* Sets the value of the totalDaysServedParty property.
*
* @param value the new total days served party
*/
public void setTotalDaysServedParty(final long value) {
this.totalDaysServedParty = value;
}
/**
* Gets the value of the totalPartyAssignments property.
*
* @return the total party assignments
*/
@Basic
@Column(name = "TOTAL_PARTY_ASSIGNMENTS", precision = 20)
public long getTotalPartyAssignments() {
return totalPartyAssignments;
}
/**
* Sets the value of the totalPartyAssignments property.
*
* @param value the new total party assignments
*/
public void setTotalPartyAssignments(final long value) {
this.totalPartyAssignments = value;
}
/**
* Gets the value of the totalMinistryAssignments property.
*
* @return the total ministry assignments
*/
@Basic
@Column(name = "TOTAL_MINISTRY_ASSIGNMENTS", precision = 20)
public long getTotalMinistryAssignments() {
return totalMinistryAssignments;
}
/**
* Sets the value of the totalMinistryAssignments property.
*
* @param value the new total ministry assignments
*/
public void setTotalMinistryAssignments(final long value) {
this.totalMinistryAssignments = value;
}
/**
* Gets the value of the totalCommitteeAssignments property.
*
* @return the total committee assignments
*/
@Basic
@Column(name = "TOTAL_COMMITTEE_ASSIGNMENTS", precision = 20)
public long getTotalCommitteeAssignments() {
return totalCommitteeAssignments;
}
/**
* Sets the value of the totalCommitteeAssignments property.
*
* @param value the new total committee assignments
*/
public void setTotalCommitteeAssignments(final long value) {
this.totalCommitteeAssignments = value;
}
/**
* Gets the value of the totalSpeakerAssignments property.
*
* @return the total speaker assignments
*/
@Basic
@Column(name = "TOTAL_SPEAKER_ASSIGNMENTS", precision = 20)
public long getTotalSpeakerAssignments() {
return totalSpeakerAssignments;
}
/**
* Sets the value of the totalSpeakerAssignments property.
*
* @param value the new total speaker assignments
*/
public void setTotalSpeakerAssignments(final long value) {
this.totalSpeakerAssignments = value;
}
/**
* Gets the value of the currentPartyAssignments property.
*
* @return the current party assignments
*/
@Basic
@Column(name = "CURRENT_PARTY_ASSIGNMENTS", precision = 20)
public long getCurrentPartyAssignments() {
return currentPartyAssignments;
}
/**
* Sets the value of the currentPartyAssignments property.
*
* @param value the new current party assignments
*/
public void setCurrentPartyAssignments(final long value) {
this.currentPartyAssignments = value;
}
/**
* Gets the value of the currentMinistryAssignments property.
*
* @return the current ministry assignments
*/
@Basic
@Column(name = "CURRENT_MINISTRY_ASSIGNMENTS", precision = 20)
public long getCurrentMinistryAssignments() {
return currentMinistryAssignments;
}
/**
* Sets the value of the currentMinistryAssignments property.
*
* @param value the new current ministry assignments
*/
public void setCurrentMinistryAssignments(final long value) {
this.currentMinistryAssignments = value;
}
/**
* Gets the value of the currentCommitteeAssignments property.
*
* @return the current committee assignments
*/
@Basic
@Column(name = "CURRENT_COMMITTEE_ASSIGNMENTS", precision = 20)
public long getCurrentCommitteeAssignments() {
return currentCommitteeAssignments;
}
/**
* Sets the value of the currentCommitteeAssignments property.
*
* @param value the new current committee assignments
*/
public void setCurrentCommitteeAssignments(final long value) {
this.currentCommitteeAssignments = value;
}
/**
* Gets the value of the currentSpeakerAssignments property.
*
* @return the current speaker assignments
*/
@Basic
@Column(name = "CURRENT_SPEAKER_ASSIGNMENTS", precision = 20)
public long getCurrentSpeakerAssignments() {
return currentSpeakerAssignments;
}
/**
* Gets the total committee substitute assignments.
*
* @return the total committee substitute assignments
*/
@Basic
@Column(name = "TOTAL_COMMITTEE_SUBSTITUTE_ASSIGNMENTS", precision = 20)
public long getTotalCommitteeSubstituteAssignments() {
return totalCommitteeSubstituteAssignments;
}
/**
* Sets the total committee substitute assignments.
*
* @param value the new total committee substitute assignments
*/
public void setTotalCommitteeSubstituteAssignments(final long value) {
this.totalCommitteeSubstituteAssignments = value;
}
/**
* Gets the current committee substitute assignments.
*
* @return the current committee substitute assignments
*/
@Basic
@Column(name = "CURRENT_COMMITTEE_SUBSTITUTE_ASSIGNMENTS", precision = 20)
public long getCurrentCommitteeSubstituteAssignments() {
return currentCommitteeSubstituteAssignments;
}
/**
* Sets the current committee substitute assignments.
*
* @param value the new current committee substitute assignments
*/
public void setCurrentCommitteeSubstituteAssignments(final long value) {
this.currentCommitteeSubstituteAssignments = value;
}
/**
* Gets the total days served committee substitute.
*
* @return the total days served committee substitute
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_COMMITTEE_SUBSTITUTE", precision = 20)
public long getTotalDaysServedCommitteeSubstitute() {
return totalDaysServedCommitteeSubstitute;
}
/**
* Sets the total days served committee substitute.
*
* @param value the new total days served committee substitute
*/
public void setTotalDaysServedCommitteeSubstitute(final long value) {
this.totalDaysServedCommitteeSubstitute = value;
}
/**
* Gets the total committee leadership assignments.
*
* @return the total committee leadership assignments
*/
@Basic
@Column(name = "TOTAL_COMMITTEE_LEADERSHIP_ASSIGNMENTS", precision = 20)
public long getTotalCommitteeLeadershipAssignments() {
return totalCommitteeLeadershipAssignments;
}
/**
* Sets the total committee leadership assignments.
*
* @param value the new total committee leadership assignments
*/
public void setTotalCommitteeLeadershipAssignments(final long value) {
this.totalCommitteeLeadershipAssignments = value;
}
/**
* Gets the current committee leadership assignments.
*
* @return the current committee leadership assignments
*/
@Basic
@Column(name = "CURRENT_COMMITTEE_LEADERSHIP_ASSIGNMENTS", precision = 20)
public long getCurrentCommitteeLeadershipAssignments() {
return currentCommitteeLeadershipAssignments;
}
/**
* Sets the current committee leadership assignments.
*
* @param value the new current committee leadership assignments
*/
public void setCurrentCommitteeLeadershipAssignments(final long value) {
this.currentCommitteeLeadershipAssignments = value;
}
/**
* Gets the total days served committee leadership.
*
* @return the total days served committee leadership
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_COMMITTEE_LEADERSHIP", precision = 20)
public long getTotalDaysServedCommitteeLeadership() {
return totalDaysServedCommitteeLeadership;
}
/**
* Sets the total days served committee leadership.
*
* @param value the new total days served committee leadership
*/
public void setTotalDaysServedCommitteeLeadership(final long value) {
this.totalDaysServedCommitteeLeadership = value;
}
/**
* Sets the value of the currentSpeakerAssignments property.
*
* @param value the new current speaker assignments
*/
public void setCurrentSpeakerAssignments(final long value) {
this.currentSpeakerAssignments = value;
}
/**
* Gets the total documents.
*
* @return the total documents
*/
@Basic
@Column(name = "TOTAL_DOCUMENTS", precision = 20)
public long getTotalDocuments() {
return totalDocuments;
}
/**
* Sets the total documents.
*
* @param value the new total documents
*/
public void setTotalDocuments(final long value) {
this.totalDocuments = value;
}
/**
* Gets the average documents per member.
*
* @return the average documents per member
*/
@Basic
@Column(name = "AVG_DOCUMENTS_PER_MEMBER", precision = 10, scale = 2)
public double getAvgDocumentsPerMember() {
return avgDocumentsPerMember;
}
/**
* Sets the average documents per member.
*
* @param value the new average documents per member
*/
public void setAvgDocumentsPerMember(final double value) {
this.avgDocumentsPerMember = value;
}
/**
* Gets the total party motions.
*
* @return the total party motions
*/
@Basic
@Column(name = "TOTAL_PARTY_MOTIONS", precision = 20)
public long getTotalPartyMotions() {
return totalPartyMotions;
}
/**
* Sets the total party motions.
*
* @param value the new total party motions
*/
public void setTotalPartyMotions(final long value) {
this.totalPartyMotions = value;
}
/**
* Gets the total individual motions.
*
* @return the total individual motions
*/
@Basic
@Column(name = "TOTAL_INDIVIDUAL_MOTIONS", precision = 20)
public long getTotalIndividualMotions() {
return totalIndividualMotions;
}
/**
* Sets the total individual motions.
*
* @param value the new total individual motions
*/
public void setTotalIndividualMotions(final long value) {
this.totalIndividualMotions = value;
}
/**
* Gets the total committee motions.
*
* @return the total committee motions
*/
@Basic
@Column(name = "TOTAL_COMMITTEE_MOTIONS", precision = 20)
public long getTotalCommitteeMotions() {
return totalCommitteeMotions;
}
/**
* Sets the total committee motions.
*
* @param value the new total committee motions
*/
public void setTotalCommitteeMotions(final long value) {
this.totalCommitteeMotions = value;
}
/**
* Gets the total collaborative motions.
*
* @return the total collaborative motions
*/
@Basic
@Column(name = "TOTAL_COLLABORATIVE_MOTIONS", precision = 20)
public long getTotalCollaborativeMotions() {
return totalCollaborativeMotions;
}
/**
* Sets the total collaborative motions.
*
* @param value the new total collaborative motions
*/
public void setTotalCollaborativeMotions(final long value) {
this.totalCollaborativeMotions = value;
}
/**
* Gets the total follow up motions.
*
* @return the total follow up motions
*/
@Basic
@Column(name = "TOTAL_FOLLOW_UP_MOTIONS", precision = 20)
public long getTotalFollowUpMotions() {
return totalFollowUpMotions;
}
/**
* Sets the total follow up motions.
*
* @param value the new total follow up motions
*/
public void setTotalFollowUpMotions(final long value) {
this.totalFollowUpMotions = value;
}
/**
* Gets the very high activity members.
*
* @return the very high activity members
*/
@Basic
@Column(name = "VERY_HIGH_ACTIVITY_MEMBERS", precision = 20)
public long getVeryHighActivityMembers() {
return veryHighActivityMembers;
}
/**
* Sets the very high activity members.
*
* @param value the new very high activity members
*/
public void setVeryHighActivityMembers(final long value) {
this.veryHighActivityMembers = value;
}
/**
* Gets the high activity members.
*
* @return the high activity members
*/
@Basic
@Column(name = "HIGH_ACTIVITY_MEMBERS", precision = 20)
public long getHighActivityMembers() {
return highActivityMembers;
}
/**
* Sets the high activity members.
*
* @param value the new high activity members
*/
public void setHighActivityMembers(final long value) {
this.highActivityMembers = value;
}
/**
* Gets the medium activity members.
*
* @return the medium activity members
*/
@Basic
@Column(name = "MEDIUM_ACTIVITY_MEMBERS", precision = 20)
public long getMediumActivityMembers() {
return mediumActivityMembers;
}
/**
* Sets the medium activity members.
*
* @param value the new medium activity members
*/
public void setMediumActivityMembers(final long value) {
this.mediumActivityMembers = value;
}
/**
* Gets the low activity members.
*
* @return the low activity members
*/
@Basic
@Column(name = "LOW_ACTIVITY_MEMBERS", precision = 20)
public long getLowActivityMembers() {
return lowActivityMembers;
}
/**
* Sets the low activity members.
*
* @param value the new low activity members
*/
public void setLowActivityMembers(final long value) {
this.lowActivityMembers = value;
}
/**
* Gets the party focused members.
*
* @return the party focused members
*/
@Basic
@Column(name = "PARTY_FOCUSED_MEMBERS", precision = 20)
public long getPartyFocusedMembers() {
return partyFocusedMembers;
}
/**
* Sets the party focused members.
*
* @param value the new party focused members
*/
public void setPartyFocusedMembers(final long value) {
this.partyFocusedMembers = value;
}
/**
* Gets the committee focused members.
*
* @return the committee focused members
*/
@Basic
@Column(name = "COMMITTEE_FOCUSED_MEMBERS", precision = 20)
public long getCommitteeFocusedMembers() {
return committeeFocusedMembers;
}
/**
* Sets the committee focused members.
*
* @param value the new committee focused members
*/
public void setCommitteeFocusedMembers(final long value) {
this.committeeFocusedMembers = value;
}
/**
* Gets the individual focused members.
*
* @return the individual focused members
*/
@Basic
@Column(name = "INDIVIDUAL_FOCUSED_MEMBERS", precision = 20)
public long getIndividualFocusedMembers() {
return individualFocusedMembers;
}
/**
* Sets the individual focused members.
*
* @param value the new individual focused members
*/
public void setIndividualFocusedMembers(final long value) {
this.individualFocusedMembers = value;
}
/**
* Gets the currently active members.
*
* @return the currently active members
*/
@Basic
@Column(name = "CURRENTLY_ACTIVE_MEMBERS", precision = 20)
public long getCurrentlyActiveMembers() {
return currentlyActiveMembers;
}
/**
* Sets the currently active members.
*
* @param value the new currently active members
*/
public void setCurrentlyActiveMembers(final long value) {
this.currentlyActiveMembers = value;
}
/**
* Gets the total documents last year.
*
* @return the total documents last year
*/
@Basic
@Column(name = "TOTAL_DOCUMENTS_LAST_YEAR", precision = 20)
public long getTotalDocumentsLastYear() {
return totalDocumentsLastYear;
}
/**
* Sets the total documents last year.
*
* @param value the new total documents last year
*/
public void setTotalDocumentsLastYear(final long value) {
this.totalDocumentsLastYear = value;
}
/**
* Gets the average documents last year.
*
* @return the average documents last year
*/
@Basic
@Column(name = "AVG_DOCUMENTS_LAST_YEAR", precision = 10, scale = 2)
public double getAvgDocumentsLastYear() {
return avgDocumentsLastYear;
}
/**
* Sets the average documents last year.
*
* @param value the new average documents last year
*/
public void setAvgDocumentsLastYear(final double value) {
this.avgDocumentsLastYear = value;
}
/**
* Gets the first party document date.
*
* @return the first party document date
*/
@Basic
@Column(name = "FIRST_PARTY_DOCUMENT")
@Temporal(TemporalType.DATE)
public Date getFirstPartyDocument() {
return firstPartyDocument;
}
/**
* Sets the first party document date.
*
* @param value the new first party document date
*/
public void setFirstPartyDocument(final Date value) {
this.firstPartyDocument = value;
}
/**
* Gets the last party document date.
*
* @return the last party document date
*/
@Basic
@Column(name = "LAST_PARTY_DOCUMENT")
@Temporal(TemporalType.DATE)
public Date getLastPartyDocument() {
return lastPartyDocument;
}
/**
* Sets the last party document date.
*
* @param value the new last party document date
*/
public void setLastPartyDocument(final Date value) {
this.lastPartyDocument = value;
}
/**
* Gets the average collaboration percentage.
*
* @return the average collaboration percentage
*/
@Basic
@Column(name = "AVG_COLLABORATION_PERCENTAGE", precision = 10, scale = 2)
public double getAvgCollaborationPercentage() {
return avgCollaborationPercentage;
}
/**
* Sets the average collaboration percentage.
*
* @param value the new average collaboration percentage
*/
public void setAvgCollaborationPercentage(final double value) {
this.avgCollaborationPercentage = value;
}
/**
* Gets the highly collaborative members.
*
* @return the highly collaborative members
*/
@Basic
@Column(name = "HIGHLY_COLLABORATIVE_MEMBERS", precision = 20)
public long getHighlyCollaborativeMembers() {
return highlyCollaborativeMembers;
}
/**
* Sets the highly collaborative members.
*
* @param value the new highly collaborative members
*/
public void setHighlyCollaborativeMembers(final long value) {
this.highlyCollaborativeMembers = value;
}
/**
* With total documents.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDocuments(final long value) {
setTotalDocuments(value);
return this;
}
/**
* With average documents per member.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withAvgDocumentsPerMember(final double value) {
setAvgDocumentsPerMember(value);
return this;
}
/**
* With total party motions.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalPartyMotions(final long value) {
setTotalPartyMotions(value);
return this;
}
/**
* With total individual motions.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalIndividualMotions(final long value) {
setTotalIndividualMotions(value);
return this;
}
/**
* With total committee motions.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalCommitteeMotions(final long value) {
setTotalCommitteeMotions(value);
return this;
}
/**
* With total collaborative motions.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalCollaborativeMotions(final long value) {
setTotalCollaborativeMotions(value);
return this;
}
/**
* With total follow up motions.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalFollowUpMotions(final long value) {
setTotalFollowUpMotions(value);
return this;
}
/**
* With very high activity members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withVeryHighActivityMembers(final long value) {
setVeryHighActivityMembers(value);
return this;
}
/**
* With high activity members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withHighActivityMembers(final long value) {
setHighActivityMembers(value);
return this;
}
/**
* With medium activity members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withMediumActivityMembers(final long value) {
setMediumActivityMembers(value);
return this;
}
/**
* With low activity members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withLowActivityMembers(final long value) {
setLowActivityMembers(value);
return this;
}
/**
* With party focused members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withPartyFocusedMembers(final long value) {
setPartyFocusedMembers(value);
return this;
}
/**
* With committee focused members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withCommitteeFocusedMembers(final long value) {
setCommitteeFocusedMembers(value);
return this;
}
/**
* With individual focused members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withIndividualFocusedMembers(final long value) {
setIndividualFocusedMembers(value);
return this;
}
/**
* With currently active members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withCurrentlyActiveMembers(final long value) {
setCurrentlyActiveMembers(value);
return this;
}
/**
* With total documents last year.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDocumentsLastYear(final long value) {
setTotalDocumentsLastYear(value);
return this;
}
/**
* With average documents last year.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withAvgDocumentsLastYear(final double value) {
setAvgDocumentsLastYear(value);
return this;
}
/**
* With first party document.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withFirstPartyDocument(final Date value) {
setFirstPartyDocument(value);
return this;
}
/**
* With last party document.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withLastPartyDocument(final Date value) {
setLastPartyDocument(value);
return this;
}
/**
* With average collaboration percentage.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withAvgCollaborationPercentage(final double value) {
setAvgCollaborationPercentage(value);
return this;
}
/**
* With highly collaborative members.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withHighlyCollaborativeMembers(final long value) {
setHighlyCollaborativeMembers(value);
return this;
}
/**
* With party.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withParty(final String value) {
setParty(value);
return this;
}
/**
* With total assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalAssignments(final long value) {
setTotalAssignments(value);
return this;
}
/**
* With current assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withCurrentAssignments(final long value) {
setCurrentAssignments(value);
return this;
}
/**
* With first assignment date.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withFirstAssignmentDate(final Date value) {
setFirstAssignmentDate(value);
return this;
}
/**
* With last assignment date.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withLastAssignmentDate(final Date value) {
setLastAssignmentDate(value);
return this;
}
/**
* With total days served.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDaysServed(final long value) {
setTotalDaysServed(value);
return this;
}
/**
* With total days served parliament.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDaysServedParliament(final long value) {
setTotalDaysServedParliament(value);
return this;
}
/**
* With total days served committee.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDaysServedCommittee(final long value) {
setTotalDaysServedCommittee(value);
return this;
}
/**
* With total days served government.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDaysServedGovernment(final long value) {
setTotalDaysServedGovernment(value);
return this;
}
/**
* With total days served eu.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDaysServedEu(final long value) {
setTotalDaysServedEu(value);
return this;
}
/**
* With active.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withActive(final boolean value) {
setActive(value);
return this;
}
/**
* With active eu.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withActiveEu(final boolean value) {
setActiveEu(value);
return this;
}
/**
* With active government.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withActiveGovernment(final boolean value) {
setActiveGovernment(value);
return this;
}
/**
* With active committee.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withActiveCommittee(final boolean value) {
setActiveCommittee(value);
return this;
}
/**
* With active parliament.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withActiveParliament(final boolean value) {
setActiveParliament(value);
return this;
}
/**
* With total active eu.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalActiveEu(final long value) {
setTotalActiveEu(value);
return this;
}
/**
* With total active government.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalActiveGovernment(final long value) {
setTotalActiveGovernment(value);
return this;
}
/**
* With total active committee.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalActiveCommittee(final long value) {
setTotalActiveCommittee(value);
return this;
}
/**
* With total active parliament.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalActiveParliament(final long value) {
setTotalActiveParliament(value);
return this;
}
/**
* With active party.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withActiveParty(final boolean value) {
setActiveParty(value);
return this;
}
/**
* With active speaker.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withActiveSpeaker(final boolean value) {
setActiveSpeaker(value);
return this;
}
/**
* With total days served speaker.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDaysServedSpeaker(final long value) {
setTotalDaysServedSpeaker(value);
return this;
}
/**
* With total days served party.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalDaysServedParty(final long value) {
setTotalDaysServedParty(value);
return this;
}
/**
* With total party assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalPartyAssignments(final long value) {
setTotalPartyAssignments(value);
return this;
}
/**
* With total ministry assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalMinistryAssignments(final long value) {
setTotalMinistryAssignments(value);
return this;
}
/**
* With total committee assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalCommitteeAssignments(final long value) {
setTotalCommitteeAssignments(value);
return this;
}
/**
* With total speaker assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withTotalSpeakerAssignments(final long value) {
setTotalSpeakerAssignments(value);
return this;
}
/**
* With current party assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withCurrentPartyAssignments(final long value) {
setCurrentPartyAssignments(value);
return this;
}
/**
* With current ministry assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withCurrentMinistryAssignments(final long value) {
setCurrentMinistryAssignments(value);
return this;
}
/**
* With current committee assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withCurrentCommitteeAssignments(final long value) {
setCurrentCommitteeAssignments(value);
return this;
}
/**
* With current speaker assignments.
*
* @param value the value
* @return the view riksdagen party summary
*/
public ViewRiksdagenPartySummary withCurrentSpeakerAssignments(final long value) {
setCurrentSpeakerAssignments(value);
return this;
}
/**
* To string.
*
* @return the string
*/
@Override
public final String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
/**
* Equals.
*
* @param obj the obj
* @return true, if successful
*/
@Override
public final boolean equals(final Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}
/**
* Hash code.
*
* @return the int
*/
@Override
public final int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}