java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.location.municipality.BOMunicipality
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOMunicipality extends DynO
Business object representing a municipality.
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOMunicipality

      public BOMunicipality()
  • Method Details

    • getId

      public Long getId()
      Returns the municipality id.
      Returns:
      the the municipality id
    • setId

      public void setId(Long id)
      Sets the municipality id.
      Parameters:
      id - the municipality id
    • getDescription

      public String getDescription()
      Returns the municipality description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the municipality description.
      Parameters:
      description - the description
    • getCode

      public String getCode()
      Returns the municipality code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets the municipality code.
      Parameters:
      code - the code
    • getExternalCode

      public String getExternalCode()
      Returns the municipality external code.
      Returns:
      the external code
    • setExternalCode

      public void setExternalCode(String externalCode)
      Sets the municipality external code.
      Parameters:
      externalCode - the external code
    • isVisible

      public boolean isVisible()
      Checks if the municipality is visible.
      Returns:
      true if is the municipality is visible, false otherwise
    • setVisible

      public void setVisible(boolean visible)
      Sets the municipality to visible.
      Parameters:
      visible - true if the municipality must be visible, false otherwise
    • getDistrictCode

      public String getDistrictCode()
      Returns the municipality district code.
      Returns:
      the district code
      See Also:
    • setDistrictCode

      public void setDistrictCode(String districtCode)
      Sets the municipality district code.
      Parameters:
      districtCode - the district code
      See Also:
    • getExternalSystem

      public Long getExternalSystem()
      Returns the id of the municipality external system.
      Returns:
      the external system id
      See Also:
    • setExternalSystem

      public void setExternalSystem(Long externalSystem)
      Sets the id of the municipality external system.
      Parameters:
      externalSystem - the external system id
      See Also:
    • getActivity

      public Long getActivity()
      Returns the id of the municipality activity.
      Returns:
      the activity id
    • setActivity

      public void setActivity(Long activity)
      Sets the id of the municipality activity.
      Parameters:
      activity - the activity id
    • getIstatCode

      public String getIstatCode()
      Returns the municipality istat code.
      Returns:
      the istat code
    • setIstatCode

      public void setIstatCode(String istatCode)
      Sets the municipality istat code.
      Parameters:
      istatCode - the istat code