Class ViewRiksdagenPartyRoleMember

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

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

    Java class for ViewRiksdagenPartyRoleMember complex type.

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

     <complexType name="ViewRiksdagenPartyRoleMember">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="roleId" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="detail" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="role_code" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="first_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="last_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="from_date" type="{http://www.w3.org/2001/XMLSchema}date"/>
             <element name="to_date" type="{http://www.w3.org/2001/XMLSchema}date"/>
             <element name="person_id" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="party" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="total_days_served" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • roleId

        protected long roleId
      • detail

        protected java.lang.String detail
      • roleCode

        protected java.lang.String roleCode
      • firstName

        protected java.lang.String firstName
      • lastName

        protected java.lang.String lastName
      • fromDate

        protected java.util.Date fromDate
      • toDate

        protected java.util.Date toDate
      • personId

        protected java.lang.String personId
      • party

        protected java.lang.String party
      • totalDaysServed

        protected java.lang.Integer totalDaysServed
      • active

        protected boolean active
    • Constructor Detail

      • ViewRiksdagenPartyRoleMember

        public ViewRiksdagenPartyRoleMember()
    • Method Detail

      • getRoleId

        public long getRoleId()
        Gets the value of the roleId property.
      • setRoleId

        public void setRoleId​(long value)
        Sets the value of the roleId property.
      • getDetail

        public java.lang.String getDetail()
        Gets the value of the detail property.
        Returns:
        possible object is String
      • setDetail

        public void setDetail​(java.lang.String value)
        Sets the value of the detail property.
        Parameters:
        value - allowed object is String
      • getRoleCode

        public java.lang.String getRoleCode()
        Gets the value of the roleCode property.
        Returns:
        possible object is String
      • setRoleCode

        public void setRoleCode​(java.lang.String value)
        Sets the value of the roleCode 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
      • getFromDate

        public java.util.Date getFromDate()
        Gets the value of the fromDate property.
        Returns:
        possible object is String
      • setFromDate

        public void setFromDate​(java.util.Date value)
        Sets the value of the fromDate property.
        Parameters:
        value - allowed object is String
      • getToDate

        public java.util.Date getToDate()
        Gets the value of the toDate property.
        Returns:
        possible object is String
      • setToDate

        public void setToDate​(java.util.Date value)
        Sets the value of the toDate property.
        Parameters:
        value - allowed object is String
      • 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
      • 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
      • getTotalDaysServed

        public java.lang.Integer getTotalDaysServed()
        Gets the value of the totalDaysServed property.
        Returns:
        possible object is Integer
      • setTotalDaysServed

        public void setTotalDaysServed​(java.lang.Integer value)
        Sets the value of the totalDaysServed property.
        Parameters:
        value - allowed object is Integer
      • isActive

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

        public void setActive​(boolean value)
        Sets the value of the active 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