Class BOMunicipality
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
Business object representing a municipality.
- Since:
- 9.2
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the id of the municipality activity.getCode()Returns the municipality code.Returns the municipality description.Returns the municipality district code.Returns the municipality external code.Returns the id of the municipality external system.getId()Returns the municipality id.Returns the municipality istat code.booleanChecks if the municipality is visible.voidsetActivity(Long activity) Sets the id of the municipality activity.voidSets the municipality code.voidsetDescription(String description) Sets the municipality description.voidsetDistrictCode(String districtCode) Sets the municipality district code.voidsetExternalCode(String externalCode) Sets the municipality external code.voidsetExternalSystem(Long externalSystem) Sets the id of the municipality external system.voidSets the municipality id.voidsetIstatCode(String istatCode) Sets the municipality istat code.voidsetVisible(boolean visible) Sets the municipality to visible.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOMunicipality
public BOMunicipality()
-
-
Method Details
-
getId
Returns the municipality id.- Returns:
- the the municipality id
-
setId
Sets the municipality id.- Parameters:
id- the municipality id
-
getDescription
Returns the municipality description.- Returns:
- the description
-
setDescription
Sets the municipality description.- Parameters:
description- the description
-
getCode
Returns the municipality code.- Returns:
- the code
-
setCode
Sets the municipality code.- Parameters:
code- the code
-
getExternalCode
Returns the municipality external code.- Returns:
- the external code
-
setExternalCode
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
Returns the municipality district code.- Returns:
- the district code
- See Also:
-
setDistrictCode
Sets the municipality district code.- Parameters:
districtCode- the district code- See Also:
-
getExternalSystem
Returns the id of the municipality external system.- Returns:
- the external system id
- See Also:
-
setExternalSystem
Sets the id of the municipality external system.- Parameters:
externalSystem- the external system id- See Also:
-
getActivity
Returns the id of the municipality activity.- Returns:
- the activity id
-
setActivity
Sets the id of the municipality activity.- Parameters:
activity- the activity id
-
getIstatCode
Returns the municipality istat code.- Returns:
- the istat code
-
setIstatCode
Sets the municipality istat code.- Parameters:
istatCode- the istat code
-