Class ViewRiksdagenPartyRoleMember
- java.lang.Object
-
- com.hack23.cia.model.internal.application.data.party.impl.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 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 java.lang.Integer
totalDaysServed
-
Constructor Summary
Constructors Constructor Description ViewRiksdagenPartyRoleMember()
-
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.java.lang.Integer
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(java.lang.Integer value)
Sets the value of the totalDaysServed property.java.lang.String
toString()
ViewRiksdagenPartyRoleMember
withActive(boolean value)
ViewRiksdagenPartyRoleMember
withDetail(java.lang.String value)
ViewRiksdagenPartyRoleMember
withFirstName(java.lang.String value)
ViewRiksdagenPartyRoleMember
withFromDate(java.util.Date value)
ViewRiksdagenPartyRoleMember
withLastName(java.lang.String value)
ViewRiksdagenPartyRoleMember
withParty(java.lang.String value)
ViewRiksdagenPartyRoleMember
withPersonId(java.lang.String value)
ViewRiksdagenPartyRoleMember
withRoleCode(java.lang.String value)
ViewRiksdagenPartyRoleMember
withRoleId(long value)
ViewRiksdagenPartyRoleMember
withToDate(java.util.Date value)
ViewRiksdagenPartyRoleMember
withTotalDaysServed(java.lang.Integer 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 java.lang.Integer 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 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 isInteger
-
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 ViewRiksdagenPartyRoleMember withRoleId(long value)
-
withDetail
public ViewRiksdagenPartyRoleMember withDetail(java.lang.String value)
-
withRoleCode
public ViewRiksdagenPartyRoleMember withRoleCode(java.lang.String value)
-
withFirstName
public ViewRiksdagenPartyRoleMember withFirstName(java.lang.String value)
-
withLastName
public ViewRiksdagenPartyRoleMember withLastName(java.lang.String value)
-
withFromDate
public ViewRiksdagenPartyRoleMember withFromDate(java.util.Date value)
-
withToDate
public ViewRiksdagenPartyRoleMember withToDate(java.util.Date value)
-
withPersonId
public ViewRiksdagenPartyRoleMember withPersonId(java.lang.String value)
-
withParty
public ViewRiksdagenPartyRoleMember withParty(java.lang.String value)
-
withTotalDaysServed
public ViewRiksdagenPartyRoleMember withTotalDaysServed(java.lang.Integer value)
-
withActive
public ViewRiksdagenPartyRoleMember 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
-
-