public class SuspectDuplicateAnnotationBuilder extends AnnotationBuilder
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
duplicateAnchorGUIDs |
protected List<String> |
matchingAttachmentGUIDs |
protected List<String> |
matchingClassificationNames |
protected List<String> |
matchingPropertyNames |
protected List<String> |
matchingRelationshipGUIDs |
additionalProperties, analysisStep, annotationType, confidenceLevel, explanation, expression, jsonProperties, repositoryHelper, serverName, serviceName, summary| Constructor and Description |
|---|
SuspectDuplicateAnnotationBuilder(String annotationType,
String summary,
int confidenceLevel,
String expression,
String explanation,
String analysisStep,
String jsonProperties,
List<String> duplicateAnchorGUIDs,
List<String> matchingPropertyNames,
List<String> matchingClassificationNames,
List<String> matchingAttachmentGUIDs,
List<String> matchingRelationshipGUIDs,
Map<String,String> additionalProperties,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Create a builder to convert the properties of the SuspectDuplicateAnnotation 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.
|
public SuspectDuplicateAnnotationBuilder(String annotationType, String summary, int confidenceLevel, String expression, String explanation, String analysisStep, String jsonProperties, List<String> duplicateAnchorGUIDs, List<String> matchingPropertyNames, List<String> matchingClassificationNames, List<String> matchingAttachmentGUIDs, List<String> matchingRelationshipGUIDs, 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 serviceduplicateAnchorGUIDs - the unique identifiers of the matching assetsmatchingPropertyNames - the property names that matchmatchingClassificationNames - the classification names that matchmatchingAttachmentGUIDs - the unique identifiers of matching attachmentsmatchingRelationshipGUIDs - the unique identifiers of matching relationshipsadditionalProperties - additional propertiesrepositoryHelper - helper methodsserviceName - name of this OMASserverName - name of local serverpublic InstanceProperties getAnnotationInstanceProperties(String methodName) throws InvalidParameterException
getAnnotationInstanceProperties in class AnnotationBuildermethodName - name of the calling methodInvalidParameterException - there is a problem with the propertiesCopyright © 2018–2020 ODPi. All rights reserved.