public interface OMRSRepositoryPropertiesHelper
| Modifier and Type | Method and Description |
|---|---|
InstanceProperties |
addBooleanPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
boolean propertyValue,
String methodName)
Add the supplied property to an instance properties object.
|
InstanceProperties |
addDatePropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
Date propertyValue,
String methodName)
Add the supplied property to an instance properties object.
|
InstanceProperties |
addEnumPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
int ordinal,
String symbolicName,
String description,
String methodName)
Add the supplied property to an instance properties object.
|
InstanceProperties |
addFloatPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
float propertyValue,
String methodName)
Add the supplied property to an instance properties object.
|
InstanceProperties |
addIntPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
int propertyValue,
String methodName)
Add the supplied property to an instance properties object.
|
InstanceProperties |
addLongPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
long propertyValue,
String methodName)
Add the supplied property to an instance properties object.
|
InstanceProperties |
addMapPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
Map<String,Object> mapValues,
String methodName)
Add the supplied map property to an instance properties object.
|
InstanceProperties |
addPropertyMapToInstance(String sourceName,
InstanceProperties properties,
Map<String,Object> mapValues,
String methodName)
Add the supplied property map to an instance properties object.
|
InstanceProperties |
addStringArrayPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
List<String> arrayValues,
String methodName)
Add the supplied array property to an instance properties object.
|
InstanceProperties |
addStringMapPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
Map<String,String> mapValues,
String methodName)
Add the supplied map property to an instance properties object.
|
InstanceProperties |
addStringPropertyMapToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
Map<String,String> mapValues,
String methodName)
Add the supplied property map to an instance properties object.
|
InstanceProperties |
addStringPropertyToInstance(String sourceName,
InstanceProperties properties,
String propertyName,
String propertyValue,
String methodName)
Add the supplied property to an instance properties object.
|
boolean |
getBooleanProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or false if property is not found.
|
Date |
getDateProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or null if property is not found.
|
Map<String,Object> |
getInstancePropertiesAsMap(InstanceProperties instanceProperties)
Convert an instance properties object into a map.
|
int |
getIntProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or 0 if property is not found.
|
Map<String,Object> |
getMapFromProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Locates and extracts a property from an instance that is of type map and then converts its values into a Java map.
|
InstanceProperties |
getMapProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or null if property is not found.
|
List<String> |
getStringArrayProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Locates and extracts a string array property and extracts its values.
|
Map<String,String> |
getStringMapFromProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Locates and extracts a property from an instance that is of type map and then converts its values into a Java map.
|
String |
getStringProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or null if property is not found.
|
boolean |
removeBooleanProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or false if property is not found.
|
Date |
removeDateProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or null if property is not found.
|
int |
removeIntProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or 0 if property is not found.
|
Map<String,Object> |
removeMapFromProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Locates and extracts a property from an instance that is of type map and then converts its values into a Java map.
|
List<String> |
removeStringArrayProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Locates and extracts a string array property and extracts its values.
|
Map<String,String> |
removeStringMapFromProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Locates and extracts a property from an instance that is of type map and then converts its values into a Java map.
|
String |
removeStringProperty(String sourceName,
String propertyName,
InstanceProperties properties,
String methodName)
Return the requested property or null if property is not found.
|
String getStringProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerString removeStringProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerInstanceProperties getMapProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerMap<String,String> getStringMapFromProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested map propertyproperties - values of the propertymethodName - method of callerMap<String,String> removeStringMapFromProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested map propertyproperties - values of the propertymethodName - method of callerMap<String,Object> getMapFromProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested map propertyproperties - values of the propertymethodName - method of callerMap<String,Object> removeMapFromProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested map propertyproperties - values of the propertymethodName - method of callerMap<String,Object> getInstancePropertiesAsMap(InstanceProperties instanceProperties)
instanceProperties - packed propertiesList<String> getStringArrayProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested map propertyproperties - all of the properties of the instancemethodName - method of callerList<String> removeStringArrayProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested map propertyproperties - all of the properties of the instancemethodName - method of callerint getIntProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerint removeIntProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerDate getDateProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerDate removeDateProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerboolean getBooleanProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerboolean removeBooleanProperty(String sourceName, String propertyName, InstanceProperties properties, String methodName)
sourceName - source of callpropertyName - name of requested propertyproperties - properties from the instance.methodName - method of callerInstanceProperties addStringPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, String propertyValue, String methodName)
sourceName - name of callerproperties - properties object to add property to may be null.propertyName - name of propertypropertyValue - value of propertymethodName - calling method nameInstanceProperties addIntPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, int propertyValue, String methodName)
sourceName - name of callerproperties - properties object to add property to may be null.propertyName - name of propertypropertyValue - value of propertymethodName - calling method nameInstanceProperties addLongPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, long propertyValue, String methodName)
sourceName - name of callerproperties - properties object to add property to may be null.propertyName - name of propertypropertyValue - value of propertymethodName - calling method nameInstanceProperties addFloatPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, float propertyValue, String methodName)
sourceName - name of callerproperties - properties object to add property to may be null.propertyName - name of propertypropertyValue - value of propertymethodName - calling method nameInstanceProperties addDatePropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, Date propertyValue, String methodName)
sourceName - name of callerproperties - properties object to add property to may be null.propertyName - name of propertypropertyValue - value of propertymethodName - calling method nameInstanceProperties addBooleanPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, boolean propertyValue, String methodName)
sourceName - name of callerproperties - properties object to add property to may be null.propertyName - name of propertypropertyValue - value of propertymethodName - calling method nameInstanceProperties addEnumPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, int ordinal, String symbolicName, String description, String methodName)
sourceName - name of callerproperties - properties object to add property to may be null.propertyName - name of propertyordinal - numeric value of propertysymbolicName - String value of propertydescription - String description of property valuemethodName - calling method nameInstanceProperties addStringArrayPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, List<String> arrayValues, String methodName)
sourceName - name of callerproperties - properties object to add property to, may be null.propertyName - name of propertyarrayValues - contents of the arraymethodName - calling method nameInstanceProperties addMapPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, Map<String,Object> mapValues, String methodName)
sourceName - name of callerproperties - properties object to add property to, may be null.propertyName - name of propertymapValues - contents of the mapmethodName - calling method nameInstanceProperties addStringMapPropertyToInstance(String sourceName, InstanceProperties properties, String propertyName, Map<String,String> mapValues, String methodName)
sourceName - name of callerproperties - properties object to add property to, may be null.propertyName - name of propertymapValues - contents of the mapmethodName - calling method nameInstanceProperties addPropertyMapToInstance(String sourceName, InstanceProperties properties, Map<String,Object> mapValues, String methodName) throws InvalidParameterException
sourceName - name of callerproperties - properties object to add property to, may be null.mapValues - contents of the mapmethodName - calling method nameInvalidParameterException - invalid property valueInstanceProperties addStringPropertyMapToInstance(String sourceName, InstanceProperties properties, String propertyName, Map<String,String> mapValues, String methodName) throws InvalidParameterException
sourceName - name of callerproperties - properties object to add property to, may be null.propertyName - name of propertymapValues - contents of the mapmethodName - calling method nameInvalidParameterException - invalid property valueCopyright © 2018–2020 ODPi. All rights reserved.