public interface DTOObjectInterface
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Returns code of the entity.
|
java.lang.String |
getName()
Returns name of the entity.
|
java.lang.String |
getUri()
Returns URI of the entity.
|
boolean |
isCodeSet()
This flag is used to identify attribute code of the entity that is set on
the input DTO (therefore attribute value is used in a corresponding command
call).
|
boolean |
isNameSet()
This flag is used to identify attribute name of the entity that is set on
the input DTO (therefore attribute value is used in a corresponding command
call).
|
void |
setCode(java.lang.String code)
Sets code of the entity.
|
void |
setName(java.lang.String name)
Sets name of the entity.
|
void |
setUri(java.lang.String id)
Sets URI of the entity.
|
id
- URI of the entityname
- Name of the entitycode
- Code of the entitytrue
- Value will be used and stored to DB. Code was set
using DTOObjectInterface.setCode(String)
or was filled not null value in constructor.
false
- Default value will be used or code will not be
persisted to DB. Code was not set using DTOObjectInterface.setCode(String)
or was
filled null value in constructor.true
- Value will be used and stored to DB. Name was set
using DTOObjectInterface.setName(String)
or was filled not null value in constructor.
false
- Default value will be used or name will not be
persisted to DB. Name was not set using DTOObjectInterface.setName(String)
or was
filled null value in constructor.