public interface UniqueTypeNameAdapter
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getNames()
Provides information about model names
|
java.util.Optional<java.lang.String> |
getTypeName(java.lang.String typeId)
Returns type for the model
|
void |
registerType(java.lang.String typeName,
java.lang.String typeId)
Add model name as is without adjusting
|
void |
registerUniqueType(java.lang.String typeName,
java.lang.String typeId)
Register model name to keep it unique
|
void |
setEqualityFor(java.lang.String typeIdOf,
java.lang.String typeIdTo)
Sets equality of two models to make sure, that models will be treated as one
|
java.util.Map<java.lang.String,java.lang.String> getNames()
java.util.Optional<java.lang.String> getTypeName(java.lang.String typeId)
typeId - - id of model typevoid registerType(java.lang.String typeName,
java.lang.String typeId)
typeName - - string representation of the models nametypeId - - id of model typevoid registerUniqueType(java.lang.String typeName,
java.lang.String typeId)
typeName - - string representation of the models nametypeId - - id of model typevoid setEqualityFor(java.lang.String typeIdOf,
java.lang.String typeIdTo)
typeIdOf - - id of current model typetypeIdTo - - id of existing model type