Class ViewRiksdagenPolitician

  • All Implemented Interfaces:
    com.hack23.cia.model.common.api.ModelObject, java.io.Serializable

    @Entity(name="ViewRiksdagenPolitician")
    public class ViewRiksdagenPolitician
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject

    Java class for ViewRiksdagenPolitician complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ViewRiksdagenPolitician">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="personId" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="firstName" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="lastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="party" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="gender" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="bornYear" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <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="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>
     
    See Also:
    Serialized Form
    • Field Detail

      • personId

        protected java.lang.String personId
      • firstName

        protected java.lang.String firstName
      • lastName

        protected java.lang.String lastName
      • party

        protected java.lang.String party
      • gender

        protected java.lang.String gender
      • bornYear

        protected int bornYear
      • totalAssignments

        protected long totalAssignments
      • currentAssignments

        protected long currentAssignments
      • firstAssignmentDate

        protected java.util.Date firstAssignmentDate
      • lastAssignmentDate

        protected java.util.Date lastAssignmentDate
      • totalDaysServed

        protected long totalDaysServed
      • totalDaysServedParliament

        protected long totalDaysServedParliament
      • totalDaysServedCommittee

        protected long totalDaysServedCommittee
      • totalDaysServedGovernment

        protected long totalDaysServedGovernment
      • totalDaysServedEu

        protected long totalDaysServedEu
      • active

        protected boolean active
      • activeEu

        protected boolean activeEu
      • activeGovernment

        protected boolean activeGovernment
      • activeCommittee

        protected boolean activeCommittee
      • activeParliament

        protected boolean activeParliament
      • activeParty

        protected boolean activeParty
      • activeSpeaker

        protected boolean activeSpeaker
      • totalDaysServedSpeaker

        protected long totalDaysServedSpeaker
      • totalDaysServedParty

        protected long totalDaysServedParty
      • totalPartyAssignments

        protected long totalPartyAssignments
      • totalMinistryAssignments

        protected long totalMinistryAssignments
      • totalCommitteeAssignments

        protected long totalCommitteeAssignments
      • totalSpeakerAssignments

        protected long totalSpeakerAssignments
      • currentPartyAssignments

        protected long currentPartyAssignments
      • currentMinistryAssignments

        protected long currentMinistryAssignments
      • currentCommitteeAssignments

        protected long currentCommitteeAssignments
      • currentSpeakerAssignments

        protected long currentSpeakerAssignments
    • Constructor Detail

      • ViewRiksdagenPolitician

        public ViewRiksdagenPolitician()
    • Method Detail

      • getPersonId

        public java.lang.String getPersonId()
        Gets the value of the personId property.
        Returns:
        possible object is String
      • setPersonId

        public void setPersonId​(java.lang.String value)
        Sets the value of the personId property.
        Parameters:
        value - allowed object is String
      • getFirstName

        public java.lang.String getFirstName()
        Gets the value of the firstName property.
        Returns:
        possible object is String
      • setFirstName

        public void setFirstName​(java.lang.String value)
        Sets the value of the firstName property.
        Parameters:
        value - allowed object is String
      • getLastName

        public java.lang.String getLastName()
        Gets the value of the lastName property.
        Returns:
        possible object is String
      • setLastName

        public void setLastName​(java.lang.String value)
        Sets the value of the lastName property.
        Parameters:
        value - allowed object is String
      • getParty

        public java.lang.String getParty()
        Gets the value of the party property.
        Returns:
        possible object is String
      • setParty

        public void setParty​(java.lang.String value)
        Sets the value of the party property.
        Parameters:
        value - allowed object is String
      • getGender

        public java.lang.String getGender()
        Gets the value of the gender property.
        Returns:
        possible object is String
      • setGender

        public void setGender​(java.lang.String value)
        Sets the value of the gender property.
        Parameters:
        value - allowed object is String
      • getBornYear

        public int getBornYear()
        Gets the value of the bornYear property.
      • setBornYear

        public void setBornYear​(int value)
        Sets the value of the bornYear property.
      • getTotalAssignments

        public long getTotalAssignments()
        Gets the value of the totalAssignments property.
      • setTotalAssignments

        public void setTotalAssignments​(long value)
        Sets the value of the totalAssignments property.
      • getCurrentAssignments

        public long getCurrentAssignments()
        Gets the value of the currentAssignments property.
      • setCurrentAssignments

        public void setCurrentAssignments​(long value)
        Sets the value of the currentAssignments property.
      • getFirstAssignmentDate

        public java.util.Date getFirstAssignmentDate()
        Gets the value of the firstAssignmentDate property.
        Returns:
        possible object is String
      • setFirstAssignmentDate

        public void setFirstAssignmentDate​(java.util.Date value)
        Sets the value of the firstAssignmentDate property.
        Parameters:
        value - allowed object is String
      • getLastAssignmentDate

        public java.util.Date getLastAssignmentDate()
        Gets the value of the lastAssignmentDate property.
        Returns:
        possible object is String
      • setLastAssignmentDate

        public void setLastAssignmentDate​(java.util.Date value)
        Sets the value of the lastAssignmentDate property.
        Parameters:
        value - allowed object is String
      • getTotalDaysServed

        public long getTotalDaysServed()
        Gets the value of the totalDaysServed property.
      • setTotalDaysServed

        public void setTotalDaysServed​(long value)
        Sets the value of the totalDaysServed property.
      • getTotalDaysServedParliament

        public long getTotalDaysServedParliament()
        Gets the value of the totalDaysServedParliament property.
      • setTotalDaysServedParliament

        public void setTotalDaysServedParliament​(long value)
        Sets the value of the totalDaysServedParliament property.
      • getTotalDaysServedCommittee

        public long getTotalDaysServedCommittee()
        Gets the value of the totalDaysServedCommittee property.
      • setTotalDaysServedCommittee

        public void setTotalDaysServedCommittee​(long value)
        Sets the value of the totalDaysServedCommittee property.
      • getTotalDaysServedGovernment

        public long getTotalDaysServedGovernment()
        Gets the value of the totalDaysServedGovernment property.
      • setTotalDaysServedGovernment

        public void setTotalDaysServedGovernment​(long value)
        Sets the value of the totalDaysServedGovernment property.
      • getTotalDaysServedEu

        public long getTotalDaysServedEu()
        Gets the value of the totalDaysServedEu property.
      • setTotalDaysServedEu

        public void setTotalDaysServedEu​(long value)
        Sets the value of the totalDaysServedEu property.
      • isActive

        public boolean isActive()
        Gets the value of the active property.
      • setActive

        public void setActive​(boolean value)
        Sets the value of the active property.
      • isActiveEu

        public boolean isActiveEu()
        Gets the value of the activeEu property.
      • setActiveEu

        public void setActiveEu​(boolean value)
        Sets the value of the activeEu property.
      • isActiveGovernment

        public boolean isActiveGovernment()
        Gets the value of the activeGovernment property.
      • setActiveGovernment

        public void setActiveGovernment​(boolean value)
        Sets the value of the activeGovernment property.
      • isActiveCommittee

        public boolean isActiveCommittee()
        Gets the value of the activeCommittee property.
      • setActiveCommittee

        public void setActiveCommittee​(boolean value)
        Sets the value of the activeCommittee property.
      • isActiveParliament

        public boolean isActiveParliament()
        Gets the value of the activeParliament property.
      • setActiveParliament

        public void setActiveParliament​(boolean value)
        Sets the value of the activeParliament property.
      • isActiveParty

        public boolean isActiveParty()
        Gets the value of the activeParty property.
      • setActiveParty

        public void setActiveParty​(boolean value)
        Sets the value of the activeParty property.
      • isActiveSpeaker

        public boolean isActiveSpeaker()
        Gets the value of the activeSpeaker property.
      • setActiveSpeaker

        public void setActiveSpeaker​(boolean value)
        Sets the value of the activeSpeaker property.
      • getTotalDaysServedSpeaker

        public long getTotalDaysServedSpeaker()
        Gets the value of the totalDaysServedSpeaker property.
      • setTotalDaysServedSpeaker

        public void setTotalDaysServedSpeaker​(long value)
        Sets the value of the totalDaysServedSpeaker property.
      • getTotalDaysServedParty

        public long getTotalDaysServedParty()
        Gets the value of the totalDaysServedParty property.
      • setTotalDaysServedParty

        public void setTotalDaysServedParty​(long value)
        Sets the value of the totalDaysServedParty property.
      • getTotalPartyAssignments

        public long getTotalPartyAssignments()
        Gets the value of the totalPartyAssignments property.
      • setTotalPartyAssignments

        public void setTotalPartyAssignments​(long value)
        Sets the value of the totalPartyAssignments property.
      • getTotalMinistryAssignments

        public long getTotalMinistryAssignments()
        Gets the value of the totalMinistryAssignments property.
      • setTotalMinistryAssignments

        public void setTotalMinistryAssignments​(long value)
        Sets the value of the totalMinistryAssignments property.
      • getTotalCommitteeAssignments

        public long getTotalCommitteeAssignments()
        Gets the value of the totalCommitteeAssignments property.
      • setTotalCommitteeAssignments

        public void setTotalCommitteeAssignments​(long value)
        Sets the value of the totalCommitteeAssignments property.
      • getTotalSpeakerAssignments

        public long getTotalSpeakerAssignments()
        Gets the value of the totalSpeakerAssignments property.
      • setTotalSpeakerAssignments

        public void setTotalSpeakerAssignments​(long value)
        Sets the value of the totalSpeakerAssignments property.
      • getCurrentPartyAssignments

        public long getCurrentPartyAssignments()
        Gets the value of the currentPartyAssignments property.
      • setCurrentPartyAssignments

        public void setCurrentPartyAssignments​(long value)
        Sets the value of the currentPartyAssignments property.
      • getCurrentMinistryAssignments

        public long getCurrentMinistryAssignments()
        Gets the value of the currentMinistryAssignments property.
      • setCurrentMinistryAssignments

        public void setCurrentMinistryAssignments​(long value)
        Sets the value of the currentMinistryAssignments property.
      • getCurrentCommitteeAssignments

        public long getCurrentCommitteeAssignments()
        Gets the value of the currentCommitteeAssignments property.
      • setCurrentCommitteeAssignments

        public void setCurrentCommitteeAssignments​(long value)
        Sets the value of the currentCommitteeAssignments property.
      • getCurrentSpeakerAssignments

        public long getCurrentSpeakerAssignments()
        Gets the value of the currentSpeakerAssignments property.
      • setCurrentSpeakerAssignments

        public void setCurrentSpeakerAssignments​(long value)
        Sets the value of the currentSpeakerAssignments property.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object