public class AttributeMappingStore extends Object
| Constructor and Description |
|---|
AttributeMappingStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeTypeDef(AttributeTypeDef attributeTypeDef)
Adds the provided AttributeTypeDef to the list of those that are implemented in the repository.
|
boolean |
addMapping(AttributeTypeDef omrsTypeDef,
Class mappingClass)
Adds an attribute mapping for the provided AttributeTypeDef, using the provided Java class for the mapping.
|
List<AttributeTypeDef> |
getAllAttributeTypeDefs()
Retrieves a listing of all AttributeTypeDefs implemented for this repository.
|
AttributeTypeDef |
getAttributeTypeDefByGUID(String guid)
Retrieves an implemented AttributeTypeDef by its GUID.
|
AttributeTypeDef |
getAttributeTypeDefByName(String name)
Retrieves an implemented AttributeTypeDef by its name.
|
List<AttributeTypeDef> |
getAttributeTypeDefsByCategory(AttributeTypeDefCategory category)
Retrieves a listing of all AttributeTypeDefs of the provided category.
|
public boolean addMapping(AttributeTypeDef omrsTypeDef, Class mappingClass)
omrsTypeDef - the OMRS AttributeTypeDefmappingClass - the AttributeMapping Java classpublic void addAttributeTypeDef(AttributeTypeDef attributeTypeDef)
attributeTypeDef - an implemented attribute type definitionpublic AttributeTypeDef getAttributeTypeDefByGUID(String guid)
guid - of the attribute type definitionpublic AttributeTypeDef getAttributeTypeDefByName(String name)
name - of the attribute type definitionpublic List<AttributeTypeDef> getAttributeTypeDefsByCategory(AttributeTypeDefCategory category)
category - of the AttributeTypeDefList<AttributeTypeDef>public List<AttributeTypeDef> getAllAttributeTypeDefs()
List<AttributeTypeDef>Copyright © 2018–2019 ODPi. All rights reserved.