Class ViewRiksdagenCommitteeRoleMember
- java.lang.Object
-
- com.hack23.cia.model.internal.application.data.committee.impl.ViewRiksdagenCommitteeRoleMember
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="ViewRiksdagenCommitteeRoleMember") public class ViewRiksdagenCommitteeRoleMember extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
Java class for ViewRiksdagenCommitteeRoleMember complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ViewRiksdagenCommitteeRoleMember"> <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 Summary
Fields Modifier and Type Field Description protected boolean
active
protected java.lang.String
detail
protected java.lang.String
firstName
protected java.util.Date
fromDate
protected java.lang.String
lastName
protected java.lang.String
party
protected java.lang.String
personId
protected java.lang.String
roleCode
protected long
roleId
protected java.util.Date
toDate
protected int
totalDaysServed
-
Constructor Summary
Constructors Constructor Description ViewRiksdagenCommitteeRoleMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDetail()
Gets the value of the detail property.java.lang.String
getFirstName()
Gets the value of the firstName property.java.util.Date
getFromDate()
Gets the value of the fromDate property.java.lang.String
getLastName()
Gets the value of the lastName property.java.lang.String
getParty()
Gets the value of the party property.java.lang.String
getPersonId()
Gets the value of the personId property.java.lang.String
getRoleCode()
Gets the value of the roleCode property.long
getRoleId()
Gets the value of the roleId property.java.util.Date
getToDate()
Gets the value of the toDate property.int
getTotalDaysServed()
Gets the value of the totalDaysServed property.int
hashCode()
boolean
isActive()
Gets the value of the active property.void
setActive(boolean value)
Sets the value of the active property.void
setDetail(java.lang.String value)
Sets the value of the detail property.void
setFirstName(java.lang.String value)
Sets the value of the firstName property.void
setFromDate(java.util.Date value)
Sets the value of the fromDate property.void
setLastName(java.lang.String value)
Sets the value of the lastName property.void
setParty(java.lang.String value)
Sets the value of the party property.void
setPersonId(java.lang.String value)
Sets the value of the personId property.void
setRoleCode(java.lang.String value)
Sets the value of the roleCode property.void
setRoleId(long value)
Sets the value of the roleId property.void
setToDate(java.util.Date value)
Sets the value of the toDate property.void
setTotalDaysServed(int value)
Sets the value of the totalDaysServed property.java.lang.String
toString()
ViewRiksdagenCommitteeRoleMember
withActive(boolean value)
ViewRiksdagenCommitteeRoleMember
withDetail(java.lang.String value)
ViewRiksdagenCommitteeRoleMember
withFirstName(java.lang.String value)
ViewRiksdagenCommitteeRoleMember
withFromDate(java.util.Date value)
ViewRiksdagenCommitteeRoleMember
withLastName(java.lang.String value)
ViewRiksdagenCommitteeRoleMember
withParty(java.lang.String value)
ViewRiksdagenCommitteeRoleMember
withPersonId(java.lang.String value)
ViewRiksdagenCommitteeRoleMember
withRoleCode(java.lang.String value)
ViewRiksdagenCommitteeRoleMember
withRoleId(long value)
ViewRiksdagenCommitteeRoleMember
withToDate(java.util.Date value)
ViewRiksdagenCommitteeRoleMember
withTotalDaysServed(int value)
-
-
-
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 int totalDaysServed
-
active
protected boolean active
-
-
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 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.
-
setTotalDaysServed
public void setTotalDaysServed(int value)
Sets the value of the totalDaysServed 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.
-
withRoleId
public ViewRiksdagenCommitteeRoleMember withRoleId(long value)
-
withDetail
public ViewRiksdagenCommitteeRoleMember withDetail(java.lang.String value)
-
withRoleCode
public ViewRiksdagenCommitteeRoleMember withRoleCode(java.lang.String value)
-
withFirstName
public ViewRiksdagenCommitteeRoleMember withFirstName(java.lang.String value)
-
withLastName
public ViewRiksdagenCommitteeRoleMember withLastName(java.lang.String value)
-
withFromDate
public ViewRiksdagenCommitteeRoleMember withFromDate(java.util.Date value)
-
withToDate
public ViewRiksdagenCommitteeRoleMember withToDate(java.util.Date value)
-
withPersonId
public ViewRiksdagenCommitteeRoleMember withPersonId(java.lang.String value)
-
withParty
public ViewRiksdagenCommitteeRoleMember withParty(java.lang.String value)
-
withTotalDaysServed
public ViewRiksdagenCommitteeRoleMember withTotalDaysServed(int value)
-
withActive
public ViewRiksdagenCommitteeRoleMember withActive(boolean value)
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-