Class LeaveBalance


  • public class LeaveBalance
    extends Object
    LeaveBalance
    • Constructor Detail

      • LeaveBalance

        public LeaveBalance()
    • Method Detail

      • leaveName

        public LeaveBalance leaveName​(String leaveName)
        The name of the leave type
        Parameters:
        leaveName - String
        Returns:
        LeaveBalance
      • getLeaveName

        public String getLeaveName()
        The name of the leave type
        Returns:
        leaveName
      • setLeaveName

        public void setLeaveName​(String leaveName)
        The name of the leave type
        Parameters:
        leaveName - String
      • leaveTypeID

        public LeaveBalance leaveTypeID​(String leaveTypeID)
        Identifier of the leave type (see PayItems)
        Parameters:
        leaveTypeID - String
        Returns:
        LeaveBalance
      • getLeaveTypeID

        public String getLeaveTypeID()
        Identifier of the leave type (see PayItems)
        Returns:
        leaveTypeID
      • setLeaveTypeID

        public void setLeaveTypeID​(String leaveTypeID)
        Identifier of the leave type (see PayItems)
        Parameters:
        leaveTypeID - String
      • numberOfUnits

        public LeaveBalance numberOfUnits​(Double numberOfUnits)
        The balance of the leave available
        Parameters:
        numberOfUnits - Double
        Returns:
        LeaveBalance
      • getNumberOfUnits

        public Double getNumberOfUnits()
        The balance of the leave available
        Returns:
        numberOfUnits
      • setNumberOfUnits

        public void setNumberOfUnits​(Double numberOfUnits)
        The balance of the leave available
        Parameters:
        numberOfUnits - Double
      • typeOfUnits

        public LeaveBalance typeOfUnits​(String typeOfUnits)
        The type of units as specified by the LeaveType (see PayItems)
        Parameters:
        typeOfUnits - String
        Returns:
        LeaveBalance
      • getTypeOfUnits

        public String getTypeOfUnits()
        The type of units as specified by the LeaveType (see PayItems)
        Returns:
        typeOfUnits
      • setTypeOfUnits

        public void setTypeOfUnits​(String typeOfUnits)
        The type of units as specified by the LeaveType (see PayItems)
        Parameters:
        typeOfUnits - String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object