public interface DataMappable
Modifier and Type | Interface and Description |
---|---|
static interface |
DataMappable.Builder<B extends DataMappable.Builder<B>>
Base
DataMappable builder. |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CONFIG_PROPERTY_PREFIX
Default prefix for data mapping configuration properties.
|
static ConfigProperty<String> |
PATH
Configuration property to declare the
String type path name to be used to map a data related
object to the actual persistence data model element name. |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getDataPath()
Get the data model path name to which this object is bound, if available.
|
static Optional<DataMappable> |
isDataMappable(Object object)
Checks if given object is
DataMappable . |
static final String DEFAULT_CONFIG_PROPERTY_PREFIX
static final ConfigProperty<String> PATH
String
type path name to be used to map a data related
object to the actual persistence data model element name.Optional<String> getDataPath()
static Optional<DataMappable> isDataMappable(Object object)
DataMappable
.object
- The object to checkDataMappable
, the object itself is returned as a DataMappable
instance. Otherwise, an empty Optional is returned.Copyright © 2019 The Holon Platform. All rights reserved.