public class AnnotationBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
additionalProperties |
protected String |
analysisStep |
protected String |
annotationType |
protected int |
confidenceLevel |
protected String |
explanation |
protected String |
expression |
protected String |
jsonProperties |
protected OMRSRepositoryHelper |
repositoryHelper |
protected String |
serverName |
protected String |
serviceName |
protected String |
summary |
| Constructor and Description |
|---|
AnnotationBuilder(String annotationType,
String summary,
int confidenceLevel,
String expression,
String explanation,
String analysisStep,
String jsonProperties,
Map<String,String> additionalProperties,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Create a builder to convert the properties of the annotation bean into repository services instances.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceProperties |
getAnnotationInstanceProperties(String methodName)
Return the supplied bean properties in an InstanceProperties object for the annotation entity.
|
protected String annotationType
protected String summary
protected int confidenceLevel
protected String expression
protected String explanation
protected String analysisStep
protected String jsonProperties
protected OMRSRepositoryHelper repositoryHelper
protected String serviceName
protected String serverName
public AnnotationBuilder(String annotationType, String summary, int confidenceLevel, String expression, String explanation, String analysisStep, String jsonProperties, Map<String,String> additionalProperties, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
annotationType - type of annotationsummary - summary of the annotationconfidenceLevel - how confident was discovery service that the results are correctexpression - expression that summarizes the resultsexplanation - explanation of the resultsanalysisStep - analysis step in the discovery service that produced this annotationjsonProperties - JSON properties passed to discovery serviceadditionalProperties - additional propertiesrepositoryHelper - helper methodsserviceName - name of this OMASserverName - name of local serverpublic InstanceProperties getAnnotationInstanceProperties(String methodName) throws InvalidParameterException
methodName - name of the calling methodInvalidParameterException - there is a problem with the propertiesCopyright © 2018–2020 ODPi. All rights reserved.