public class ModelRepository extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelRepository.AmbiguityCheckResult |
Constructor and Description |
---|
ModelRepository() |
Modifier and Type | Method and Description |
---|---|
void |
addModel(IModel model) |
ModelRepository.AmbiguityCheckResult |
checkAmbiguity(String typeName)
Returns a result that indicates (1) whether the specified type
is ambiguous (i.e.
|
void |
dispose() |
protected String |
getEnumeration(String enumerationAndLabel) |
Object |
getEnumerationValue(String modelAndEnumerationAndLabel) |
protected String |
getLabel(String enumerationAndLabel) |
protected String |
getMetaClassName(String modelAndMetaClass) |
IModel |
getModelByName(String modelName) |
IModel |
getModelByNameSafe(String modelName) |
protected String |
getModelName(String modelAndMetaClass) |
List<IModel> |
getModels() |
IModel |
getOwningModel(Object instance) |
ModelRepositoryTransactionSupport |
getTransactionSupport() |
void |
removeModel(IModel model) |
String |
toString() |
public ModelRepositoryTransactionSupport getTransactionSupport()
public void addModel(IModel model)
public void removeModel(IModel model)
public IModel getModelByName(String modelName) throws EolModelNotFoundException
EolModelNotFoundException
public ModelRepository.AmbiguityCheckResult checkAmbiguity(String typeName)
IModel
in this repository
has the type), and (2) the set of models that do have this type.public Object getEnumerationValue(String modelAndEnumerationAndLabel) throws EolModelNotFoundException, EolEnumerationValueNotFoundException
public void dispose()
Copyright © 2016. All rights reserved.