Class 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 Detail

      • orgCode

        protected OrgCode orgCode
        The org code.
      • roleCode

        protected RoleStatus roleCode
        The role code.
      • orderNumber

        protected java.lang.String orderNumber
        The order number.
      • 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.
    • Constructor Detail

      • AssignmentElement

        public AssignmentElement()
    • 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 class java.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 class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object