Class ViewRiksdagenGovermentRoleMember
java.lang.Object
com.hack23.cia.model.internal.application.data.ministry.impl.ViewRiksdagenGovermentRoleMember
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,java.io.Serializable
@Entity(name="ViewRiksdagenGovermentRoleMember")
public class ViewRiksdagenGovermentRoleMember
extends java.lang.Object
implements com.hack23.cia.model.common.api.ModelObject
Java class for ViewRiksdagenGovermentRoleMember complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ViewRiksdagenGovermentRoleMember">
<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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanThe active.protected java.lang.StringThe activity level.protected java.lang.StringThe detail.protected longThe documents last year.protected java.lang.StringThe first name.protected java.util.DateThe from date.protected java.lang.StringThe last name.protected java.lang.StringThe party.protected java.lang.StringThe person id.protected java.lang.StringThe role code.protected longThe role id.protected java.lang.StringThe role type.protected java.util.DateThe to date.protected intThe total days served.protected longThe total documents.protected longThe total government bills.protected longThe total propositions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanequals(java.lang.Object obj) Equals.java.lang.StringGets the activity level.java.lang.StringGets the value of the detail property.longGets the documents last year.java.lang.StringGets the value of the firstName property.java.util.DateGets the value of the fromDate property.java.lang.StringGets the value of the lastName property.java.lang.StringgetParty()Gets the value of the party property.java.lang.StringGets the value of the personId property.java.lang.StringGets the value of the roleCode property.longGets the value of the roleId property.java.lang.StringGets the role type.java.util.DateGets the value of the toDate property.intGets the value of the totalDaysServed property.longGets the total documents.longGets the total government bills.longGets the total propositions.final inthashCode()Hash code.booleanisActive()Gets the value of the active property.voidsetActive(boolean value) Sets the value of the active property.voidsetActivityLevel(java.lang.String value) Sets the activity level.voidsetDetail(java.lang.String value) Sets the value of the detail property.voidsetDocumentsLastYear(long value) Sets the documents last year.voidsetFirstName(java.lang.String value) Sets the value of the firstName property.voidsetFromDate(java.util.Date value) Sets the value of the fromDate property.voidsetLastName(java.lang.String value) Sets the value of the lastName property.voidsetParty(java.lang.String value) Sets the value of the party property.voidsetPersonId(java.lang.String value) Sets the value of the personId property.voidsetRoleCode(java.lang.String value) Sets the value of the roleCode property.voidsetRoleId(long value) Sets the value of the roleId property.voidsetRoleType(java.lang.String value) Sets the role type.voidsetToDate(java.util.Date value) Sets the value of the toDate property.voidsetTotalDaysServed(int value) Sets the value of the totalDaysServed property.voidsetTotalDocuments(long value) Sets the total documents.voidsetTotalGovernmentBills(long value) Sets the total government bills.voidsetTotalPropositions(long value) Sets the total propositions.final java.lang.StringtoString()To string.withActive(boolean value) With active.withActivityLevel(java.lang.String value) With activity level.withDetail(java.lang.String value) With detail.withDocumentsLastYear(long value) With documents last year.withFirstName(java.lang.String value) With first name.withFromDate(java.util.Date value) With from date.withLastName(java.lang.String value) With last name.withParty(java.lang.String value) With party.withPersonId(java.lang.String value) With person id.withRoleCode(java.lang.String value) With role code.withRoleId(long value) With role id.withRoleType(java.lang.String value) With role type.withToDate(java.util.Date value) With to date.withTotalDaysServed(int value) With total days served.withTotalDocuments(long value) With total documents.withTotalGovernmentBills(long value) With total government bills.withTotalPropositions(long value) With total propositions.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
roleId
protected long roleIdThe role id. -
detail
protected java.lang.String detailThe detail. -
roleCode
protected java.lang.String roleCodeThe role code. -
firstName
protected java.lang.String firstNameThe first name. -
lastName
protected java.lang.String lastNameThe last name. -
fromDate
protected java.util.Date fromDateThe from date. -
toDate
protected java.util.Date toDateThe to date. -
personId
protected java.lang.String personIdThe person id. -
party
protected java.lang.String partyThe party. -
totalDaysServed
protected int totalDaysServedThe total days served. -
active
protected boolean activeThe active. -
totalDocuments
protected long totalDocumentsThe total documents. -
documentsLastYear
protected long documentsLastYearThe documents last year. -
totalPropositions
protected long totalPropositionsThe total propositions. -
totalGovernmentBills
protected long totalGovernmentBillsThe total government bills. -
activityLevel
protected java.lang.String activityLevelThe activity level. -
roleType
protected java.lang.String roleTypeThe role type.
-
-
Constructor Details
-
ViewRiksdagenGovermentRoleMember
public ViewRiksdagenGovermentRoleMember()
-
-
Method Details
-
getRoleId
public long getRoleId()Gets the value of the roleId property.- Returns:
- the role id
-
setRoleId
public void setRoleId(long value) Sets the value of the roleId property.- Parameters:
value- the new role id
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
getTotalDaysServed
public int getTotalDaysServed()Gets the value of the totalDaysServed property.- Returns:
- the total days served
-
setTotalDaysServed
public void setTotalDaysServed(int value) Sets the value of the totalDaysServed property.- Parameters:
value- the new total days served
-
isActive
public boolean isActive()Gets the value of the active property.- Returns:
- true, if is active
-
setActive
public void setActive(boolean value) Sets the value of the active property.- Parameters:
value- the new active
-
getTotalDocuments
public long getTotalDocuments()Gets the total documents.- Returns:
- the total documents
-
setTotalDocuments
public void setTotalDocuments(long value) Sets the total documents.- Parameters:
value- the new total documents
-
getDocumentsLastYear
public long getDocumentsLastYear()Gets the documents last year.- Returns:
- the documents last year
-
setDocumentsLastYear
public void setDocumentsLastYear(long value) Sets the documents last year.- Parameters:
value- the new documents last year
-
getTotalPropositions
public long getTotalPropositions()Gets the total propositions.- Returns:
- the total propositions
-
setTotalPropositions
public void setTotalPropositions(long value) Sets the total propositions.- Parameters:
value- the new total propositions
-
getTotalGovernmentBills
public long getTotalGovernmentBills()Gets the total government bills.- Returns:
- the total government bills
-
setTotalGovernmentBills
public void setTotalGovernmentBills(long value) Sets the total government bills.- Parameters:
value- the new total government bills
-
getActivityLevel
public java.lang.String getActivityLevel()Gets the activity level.- Returns:
- the activity level
-
setActivityLevel
public void setActivityLevel(java.lang.String value) Sets the activity level.- Parameters:
value- the new activity level
-
getRoleType
public java.lang.String getRoleType()Gets the role type.- Returns:
- the role type
-
setRoleType
public void setRoleType(java.lang.String value) Sets the role type.- Parameters:
value- the new role type
-
withTotalDocuments
With total documents.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withDocumentsLastYear
With documents last year.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withTotalPropositions
With total propositions.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withTotalGovernmentBills
With total government bills.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withActivityLevel
With activity level.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withRoleType
With role type.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withRoleId
With role id.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withDetail
With detail.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withRoleCode
With role code.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withFirstName
With first name.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withLastName
With last name.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withFromDate
With from date.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withToDate
With to date.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withPersonId
With person id.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withParty
With party.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withTotalDaysServed
With total days served.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
withActive
With active.- Parameters:
value- the value- Returns:
- the view riksdagen goverment role member
-
toString
public final java.lang.String toString()To string.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string
-
equals
public final boolean equals(java.lang.Object obj) Equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the obj- Returns:
- true, if successful
-
hashCode
public final int hashCode()Hash code.- Overrides:
hashCodein classjava.lang.Object- Returns:
- the int
-