Class BOReceipt
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.workshift.receipt.BOReceipt
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
A business object representing a proof to justify a not yet planned task in a certain work shift.
- 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 address.getBegin()Returns the receipt begin.getEnd()Returns the receipt end.getId()Returns the receipt id.Returns the receipt class type.getType()Returns the receipt type id.getUser()Returns the receipt user id.booleanChecks if the receipt is absence type.booleanChecks if the receipt is presence type.voidsetAddress(Long address) Sets the address.voidSets the receipt begin.voidSets the receipt end.voidSets the receipt id.voidsetReceiptClassType(Long receiptClassType) Sets the receipt class type.voidSets the receipt type id.voidSets the receipt user id.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
-
BOReceipt
public BOReceipt()
-
-
Method Details
-
getId
Returns the receipt id.- Returns:
- the the receipt id
-
setId
Sets the receipt id.- Parameters:
id- the receipt id
-
getBegin
Returns the receipt begin.- Returns:
- the begin
-
setBegin
Sets the receipt begin.- Parameters:
begin- the begin
-
getEnd
Returns the receipt end.- Returns:
- the end
-
setEnd
Sets the receipt end.- Parameters:
end- the end
-
getReceiptClassType
Returns the receipt class type.- Returns:
- the receipt class type
-
setReceiptClassType
Sets the receipt class type.- Parameters:
receiptClassType- the receipt class type
-
isPresence
public boolean isPresence()Checks if the receipt is presence type.- Returns:
- true if the receipt class type is presence, false otherwise
-
isAbsence
public boolean isAbsence()Checks if the receipt is absence type.- Returns:
- true if the receipt class type is absence, false otherwise
-
getUser
Returns the receipt user id.- Returns:
- the user id
- See Also:
-
setUser
Sets the receipt user id.- Parameters:
user- the user id- See Also:
-
getType
Returns the receipt type id.- Returns:
- the type id
- See Also:
-
setType
Sets the receipt type id.- Parameters:
type- the type id- See Also:
-
getAddress
Returns the address.- Returns:
- the address
-
setAddress
Sets the address.- Parameters:
address-
-