Class AssignmentElement
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.personlista.impl.AssignmentElement
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="AssignmentElement") public class AssignmentElement extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class AssignmentElement.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
assignmentType
The assignment type.protected java.lang.String
detail
The detail.protected java.util.Date
fromDate
The from date.protected java.lang.Long
hjid
The hjid.protected java.lang.String
intressentId
The intressent id.protected java.lang.String
orderNumber
The order number.protected OrgCode
orgCode
The org code.protected RoleStatus
roleCode
The role code.protected RoleStatus
status
The status.protected java.util.Date
toDate
The to date.
-
Constructor Summary
Constructors Constructor Description AssignmentElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
getAssignmentType()
Gets the assignment type.java.lang.String
getDetail()
Gets the detail.java.util.Date
getFromDate()
Gets the from date.java.lang.Long
getHjid()
Gets the hjid.java.lang.String
getIntressentId()
Gets the intressent id.java.lang.String
getOrderNumber()
Gets the order number.OrgCode
getOrgCode()
Gets the org code.RoleStatus
getRoleCode()
Gets the role code.RoleStatus
getStatus()
Gets the status.java.util.Date
getToDate()
Gets the to date.int
hashCode()
void
setAssignmentType(java.lang.String value)
Sets the assignment type.void
setDetail(java.lang.String value)
Sets the detail.void
setFromDate(java.util.Date value)
Sets the from date.void
setHjid(java.lang.Long value)
Sets the hjid.void
setIntressentId(java.lang.String value)
Sets the intressent id.void
setOrderNumber(java.lang.String value)
Sets the order number.void
setOrgCode(OrgCode value)
Sets the org code.void
setRoleCode(RoleStatus value)
Sets the role code.void
setStatus(RoleStatus value)
Sets the status.void
setToDate(java.util.Date value)
Sets the to date.java.lang.String
toString()
AssignmentElement
withAssignmentType(java.lang.String value)
With assignment type.AssignmentElement
withDetail(java.lang.String value)
With detail.AssignmentElement
withFromDate(java.util.Date value)
With from date.AssignmentElement
withIntressentId(java.lang.String value)
With intressent id.AssignmentElement
withOrderNumber(java.lang.String value)
With order number.AssignmentElement
withOrgCode(OrgCode value)
With org code.AssignmentElement
withRoleCode(RoleStatus value)
With role code.AssignmentElement
withStatus(RoleStatus value)
With status.AssignmentElement
withToDate(java.util.Date value)
With to date.
-
-
-
Field Detail
-
orgCode
protected OrgCode orgCode
The org code.
-
roleCode
protected RoleStatus roleCode
The role code.
-
orderNumber
protected java.lang.String orderNumber
The order number.
-
status
protected RoleStatus status
The status.
-
assignmentType
protected java.lang.String assignmentType
The assignment type.
-
fromDate
protected java.util.Date fromDate
The from date.
-
toDate
protected java.util.Date toDate
The to date.
-
detail
protected java.lang.String detail
The detail.
-
intressentId
protected java.lang.String intressentId
The intressent id.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getOrgCode
public OrgCode getOrgCode()
Gets the org code.- Returns:
- the org code
-
setOrgCode
public void setOrgCode(OrgCode value)
Sets the org code.- Parameters:
value
- the new org code
-
getRoleCode
public RoleStatus getRoleCode()
Gets the role code.- Returns:
- the role code
-
setRoleCode
public void setRoleCode(RoleStatus value)
Sets the role code.- Parameters:
value
- the new role code
-
getOrderNumber
public java.lang.String getOrderNumber()
Gets the order number.- Returns:
- the order number
-
setOrderNumber
public void setOrderNumber(java.lang.String value)
Sets the order number.- Parameters:
value
- the new order number
-
getStatus
public RoleStatus getStatus()
Gets the status.- Returns:
- the status
-
setStatus
public void setStatus(RoleStatus value)
Sets the status.- Parameters:
value
- the new status
-
getAssignmentType
public java.lang.String getAssignmentType()
Gets the assignment type.- Returns:
- the assignment type
-
setAssignmentType
public void setAssignmentType(java.lang.String value)
Sets the assignment type.- Parameters:
value
- the new assignment type
-
getFromDate
public java.util.Date getFromDate()
Gets the from date.- Returns:
- the from date
-
setFromDate
public void setFromDate(java.util.Date value)
Sets the from date.- Parameters:
value
- the new from date
-
getToDate
public java.util.Date getToDate()
Gets the to date.- Returns:
- the to date
-
setToDate
public void setToDate(java.util.Date value)
Sets the to date.- Parameters:
value
- the new to date
-
getDetail
public java.lang.String getDetail()
Gets the detail.- Returns:
- the detail
-
setDetail
public void setDetail(java.lang.String value)
Sets the detail.- Parameters:
value
- the new detail
-
getIntressentId
public java.lang.String getIntressentId()
Gets the intressent id.- Returns:
- the intressent id
-
setIntressentId
public void setIntressentId(java.lang.String value)
Sets the intressent id.- Parameters:
value
- the new intressent id
-
withOrgCode
public AssignmentElement withOrgCode(OrgCode value)
With org code.- Parameters:
value
- the value- Returns:
- the assignment element
-
withRoleCode
public AssignmentElement withRoleCode(RoleStatus value)
With role code.- Parameters:
value
- the value- Returns:
- the assignment element
-
withOrderNumber
public AssignmentElement withOrderNumber(java.lang.String value)
With order number.- Parameters:
value
- the value- Returns:
- the assignment element
-
withStatus
public AssignmentElement withStatus(RoleStatus value)
With status.- Parameters:
value
- the value- Returns:
- the assignment element
-
withAssignmentType
public AssignmentElement withAssignmentType(java.lang.String value)
With assignment type.- Parameters:
value
- the value- Returns:
- the assignment element
-
withFromDate
public AssignmentElement withFromDate(java.util.Date value)
With from date.- Parameters:
value
- the value- Returns:
- the assignment element
-
withToDate
public AssignmentElement withToDate(java.util.Date value)
With to date.- Parameters:
value
- the value- Returns:
- the assignment element
-
withDetail
public AssignmentElement withDetail(java.lang.String value)
With detail.- Parameters:
value
- the value- Returns:
- the assignment element
-
withIntressentId
public AssignmentElement withIntressentId(java.lang.String value)
With intressent id.- Parameters:
value
- the value- Returns:
- the assignment element
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHjid
public java.lang.Long getHjid()
Gets the hjid.- Returns:
- the hjid
-
setHjid
public void setHjid(java.lang.Long value)
Sets the hjid.- Parameters:
value
- the new hjid
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-