public class ClassificationMappingStore extends Object
| Constructor and Description |
|---|
ClassificationMappingStore() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMapping(TypeDef omrsTypeDef,
Class mappingClass)
Adds a classification mapping for the provided TypeDef, using the provided Java class for the mapping.
|
ClassificationMapping |
getMappingByOmrsTypeGUID(String guid)
Retrieves a classification mapping based on the GUID of the OMRS classification type.
|
ClassificationMapping |
getMappingByOmrsTypeName(String name)
Retrieves a classification mapping based ont he name of the OMRS classification type.
|
List<TypeDef> |
getTypeDefs()
Retrieves the listing of all TypeDefs for which classification mappings are implemented.
|
public boolean addMapping(TypeDef omrsTypeDef, Class mappingClass)
omrsTypeDef - the OMRS TypeDefmappingClass - the ClassificationMapping Java classpublic List<TypeDef> getTypeDefs()
List<TypeDef>public ClassificationMapping getMappingByOmrsTypeGUID(String guid)
guid - of the OMRS classification typepublic ClassificationMapping getMappingByOmrsTypeName(String name)
name - of the OMRS classification typeCopyright © 2018–2019 ODPi. All rights reserved.