@DTO public abstract class DTODescribedObjectAbstract extends DTOObjectAbstract implements DTODescribedObjectInterface
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
Description of DTO's entity.
|
private boolean |
isDescriptionSet
Description set flag
|
Constructor and Description |
---|
DTODescribedObjectAbstract() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns description of the entity.
|
boolean |
isDescriptionSet()
This flag is used to identify attribute description of the entity that is
set on the input DTO (therefore attribute value is used in a corresponding
command call).
|
void |
setDescription(java.lang.String description)
Sets description of the entity.
|
getCode, getName, getUri, isCodeSet, isNameSet, setCode, setName, setUri
getDescription
in interface DTODescribedObjectInterface
setDescription
in interface DTODescribedObjectInterface
description
- Description of entitytrue
- Value will be used and stored to DB. Description
was set using #setDescription(String))
or was filled not null value
in constructor.false
- Default value will be used or description will not
be persisted to DB. Description was not set using
DTODescribedObjectInterface.setDescription(String)
or was filled null value in constructor.isDescriptionSet
in interface DTODescribedObjectInterface