Package Models

Class FirstLevelDivision

java.lang.Object
Models.FirstLevelDivision

public class FirstLevelDivision extends Object
A class representing the FirstLevelDivision object
  • Constructor Details

    • FirstLevelDivision

      public FirstLevelDivision(int divisionId, String division, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdatedBy, int countryID)
      Constructor method for the FirstLevelDivision object
      Parameters:
      divisionId - the divisionId integer value to be set on the FirstLevelDivision object
      division - the division string value to be set on the FirstLevelDivision object
      createDate - the createDate LocalDateTime value to be set on the FirstLevelDivision object
      createdBy - the createdBy string value to be set on the FirstLevelDivision object
      lastUpdate - the lastUpdate LocalDateTime value to be set on the FirstLevelDivision object
      lastUpdatedBy - the lastUpdatedBy string value to be set on the FirstLevelDivision object
      countryID - the countryId integer value to be set on the FirstLevelDivision object
  • Method Details

    • getDivisionId

      public int getDivisionId()
      Returns:
      the divisionId integer value on the FirstLevelDivision object
    • getDivision

      public String getDivision()
      Returns:
      the division string value on the FirstLevelDivision object
    • getCreateDate

      public LocalDateTime getCreateDate()
      Returns:
      the createDate LocalDateTime value on the FirstLevelDivision object
    • getCreatedBy

      public String getCreatedBy()
      Returns:
      the createdBy string value on the FirstLevelDivision object
    • getLastUpdate

      public LocalDateTime getLastUpdate()
      Returns:
      the lastUpdate LocalDateTime value on the FirstLevelDivision object
    • getLastUpdatedBy

      public String getLastUpdatedBy()
      Returns:
      the lastUpdatedBy string value on the FirstLevelDivision object
    • getCountryId

      public int getCountryId()
      Returns:
      the countryId integer value on the FirstLevelDivision object
    • setDivisionId

      public void setDivisionId(int divisionId)
      Parameters:
      divisionId - the divisionId integer value to be set on the FirstLevelDivision object
    • setDivision

      public void setDivision(String division)
      Parameters:
      division - the division string value to be set on the FirstLevelDivision object
    • setCreateDate

      public void setCreateDate(LocalDateTime createDate)
      Parameters:
      createDate - the createDate LocalDateTime value to be set on the FirstLevelDivision object
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Parameters:
      createdBy - the createdBy string value to be set on the FirstLevelDivision object
    • setLastUpdate

      public void setLastUpdate(LocalDateTime lastUpdate)
      Parameters:
      lastUpdate - the lastUpdate LocalDateTime value to be set on the FirstLevelDivision object
    • setLastUpdatedBy

      public void setLastUpdatedBy(String lastUpdatedBy)
      Parameters:
      lastUpdatedBy - the lastUpdatedBy string value to be set on the FirstLevelDivision object
    • setCountryId

      public void setCountryId(int countryID)
      Parameters:
      countryID - the countryId integer value to be set on the FirstLevelDivision object
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      Stringified division details