Class BOCharacteristic
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.characteristics.bl.BOCharacteristic
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a characteristic
- Since:
- 16.0
- 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 characteristic class.getCode()Returns the characteristic code.Returns the id of the characteristic data type.Returns the characteristic description.Returns the characteristic format.getId()Returns the characteristic id.Returns the characteristic max length.Returns the id of the characteristic measurement unit.getOrder()Returns the characteristic order.Returns the characteristic precision.getSize()Returns the characteristic size.getUsage()Returns the characteristic usage id.Returns the id of the characteristic value domain.isActive()Checks if the characteristic is the active.isMeter()Checks if the characteristic is meter.Returns the characteristic negative values.Checks if the characteristic must be not null.voidSets the characteristic to active.voidsetCharacteristicClass(Long characteristicClass) Sets the id of the characteristic class.voidSets the characteristic code.voidsetDataType(Long dataType) Sets the id of the characteristic data type.voidsetDescription(LocalizedString description) Sets the characteristic description.voidSets the characteristic format.voidSets the characteristic id.voidsetMaxLength(Long maxLength) Sets the characteristic max length.voidsetMeasurementUnit(Long measurementUnit) Sets the id of the characteristic measurement unit.voidSets the characteristic to meter.voidsetNegativeValues(Boolean negativeValues) Sets the characteristic negative values.voidsetNotNull(Boolean notNull) Sets the characteristic to not null.voidSets the characteristic order.voidsetPrecision(Long precision) Sets the characteristic precision.voidSets the characteristic size.voidSets the characteristic usage id.voidsetValueDomain(Long valueDomain) Sets the id of the characteristic value domain.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
-
BOCharacteristic
public BOCharacteristic()
-
-
Method Details
-
getId
Returns the characteristic id.- Returns:
- the the characteristic id
-
setId
Sets the characteristic id.- Parameters:
id- the characteristic id
-
getCode
Returns the characteristic code.- Returns:
- the code
-
setCode
Sets the characteristic code.- Parameters:
code- the code
-
getDescription
Returns the characteristic description.- Returns:
- the description
-
setDescription
Sets the characteristic description.- Parameters:
description- the description
-
getDataType
Returns the id of the characteristic data type.- Returns:
- the data type id
-
setDataType
Sets the id of the characteristic data type.- Parameters:
dataType- the data type id
-
getFormat
Returns the characteristic format.- Returns:
- the format
-
setFormat
Sets the characteristic format.- Parameters:
format- the format
-
getSize
Returns the characteristic size.- Returns:
- the size
-
setSize
Sets the characteristic size.- Parameters:
size- the size
-
getMaxLength
Returns the characteristic max length.- Returns:
- the max length
-
setMaxLength
Sets the characteristic max length.- Parameters:
maxLength- the max length
-
isNotNull
Checks if the characteristic must be not null.- Returns:
- true if the characteristic is not null, false otherwise
-
setNotNull
Sets the characteristic to not null.- Parameters:
notNull- true if the the characteristic must be not null, false otherwise
-
getMeasurementUnit
Returns the id of the characteristic measurement unit.- Returns:
- the measurement unit
-
setMeasurementUnit
Sets the id of the characteristic measurement unit.- Parameters:
measurementUnit- the measurement unit id
-
isActive
Checks if the characteristic is the active.- Returns:
- true if the characteristic is active, false otherwise
-
setActive
Sets the characteristic to active.- Parameters:
active- true if the characteristic must be active, false otherwise
-
getPrecision
Returns the characteristic precision.- Returns:
- the precision
-
setPrecision
Sets the characteristic precision.- Parameters:
precision- the precision
-
getValueDomain
Returns the id of the characteristic value domain.- Returns:
- the value domain id
-
setValueDomain
Sets the id of the characteristic value domain.- Parameters:
valueDomain- the value domain id
-
getCharacteristicClass
Returns the id of the characteristic class.- Returns:
- the characteristic class id
-
setCharacteristicClass
Sets the id of the characteristic class.- Parameters:
characteristicClass- the characteristic class id
-
getOrder
Returns the characteristic order.- Returns:
- the order
-
setOrder
Sets the characteristic order.- Parameters:
order- the order
-
getUsage
Returns the characteristic usage id.- Returns:
- the usage id
-
setUsage
Sets the characteristic usage id.- Parameters:
usage- the usage id
-
isMeter
Checks if the characteristic is meter.- Returns:
- true if is the characteristic is meter, false otherwise
-
setMeter
Sets the characteristic to meter.- Parameters:
meter- true if the characteristic must be meter, false otherwise
-
isNegativeValues
Returns the characteristic negative values.- Returns:
- the negative values
-
setNegativeValues
Sets the characteristic negative values.- Parameters:
negativeValues- the negative values
-