public final class MetadataModelFactory extends Object
MetadataModel
instances. They cannot be
created directly; instead, a model provider implements the
MetadataModelImplementation
interface and uses this class.Modifier and Type | Method and Description |
---|---|
static <T> MetadataModel<T> |
createMetadataModel(MetadataModelImplementation<T> impl)
Creates a metadata model.
|
public static <T> MetadataModel<T> createMetadataModel(MetadataModelImplementation<T> impl)
impl
- the instance of MetadataModelImplementation
which
the model will delegate to; never null.MetadataModel
delegating to impl
; never null.NullPointerException
- if the impl
parameter was null.