T
- the data typepublic final class SimpleDataDefinition<T> extends Object implements DataDefinition<T>
DataDefinition
.Modifier and Type | Method and Description |
---|---|
Class<? extends T> |
getDataClass()
Returns the target data model class.
|
DataFilter<? super T> |
getDataFilter()
Returns the data filter.
|
DataFormat<T> |
getDataFormat()
Returns the data format.
|
static <T> DataDefinition<T> |
newInstance(Class<?> dataClass,
DataFormat<T> dataFormat)
Creates a new instance.
|
static <T> DataDefinition<T> |
newInstance(Class<?> dataClass,
DataFormat<T> dataFormat,
DataFilter<?> dataFilter)
Creates a new instance.
|
public static <T> DataDefinition<T> newInstance(Class<?> dataClass, DataFormat<T> dataFormat)
T
- the data typedataClass
- the data model classdataFormat
- the data formatpublic static <T> DataDefinition<T> newInstance(Class<?> dataClass, DataFormat<T> dataFormat, DataFilter<?> dataFilter)
T
- the data typedataClass
- the data model classdataFormat
- the data formatdataFilter
- the data filter (nullable)public Class<? extends T> getDataClass()
DataDefinition
getDataClass
in interface DataDefinition<T>
public DataFormat<T> getDataFormat()
DataDefinition
getDataFormat
in interface DataDefinition<T>
public DataFilter<? super T> getDataFilter()
DataDefinition
getDataFilter
in interface DataDefinition<T>
null
if the filter is not definedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.