public class AnnotationReviewBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
additionalProperties |
protected AnnotationStatus |
annotationStatus |
protected Map<String,Object> |
extendedProperties |
protected OMRSRepositoryHelper |
repositoryHelper |
protected String |
reviewComment |
protected Date |
reviewDate |
protected String |
serverName |
protected String |
serviceName |
protected String |
steward |
| Constructor and Description |
|---|
AnnotationReviewBuilder(AnnotationStatus annotationStatus,
Date reviewDate,
String steward,
String reviewComment,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Create a builder to convert the properties of the annotation review bean into repository services instances.
|
| Modifier and Type | Method and Description |
|---|---|
protected InstanceProperties |
addAnnotationStatusToProperties(InstanceProperties properties,
String methodName)
Add the AnnotationStatus enum to the properties.
|
InstanceProperties |
getAnnotationReviewInstanceProperties(String methodName)
Return the supplied bean properties that represent a name in an InstanceProperties object.
|
InstanceProperties |
getReviewLinkInstanceProperties(String methodName)
Return the supplied bean properties that represent a name in an InstanceProperties object.
|
protected AnnotationStatus annotationStatus
protected Date reviewDate
protected String steward
protected String reviewComment
protected OMRSRepositoryHelper repositoryHelper
protected String serviceName
protected String serverName
public AnnotationReviewBuilder(AnnotationStatus annotationStatus, Date reviewDate, String steward, String reviewComment, Map<String,String> additionalProperties, Map<String,Object> extendedProperties, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
annotationStatus - status of annotationreviewDate - date annotation reviewedsteward - name of stewardreviewComment - comments from the stewardadditionalProperties - additional propertiesextendedProperties - properties from the subtype.repositoryHelper - helper methodsserviceName - name of this OMASserverName - name of local serverpublic InstanceProperties getReviewLinkInstanceProperties(String methodName)
methodName - name of the calling methodpublic InstanceProperties getAnnotationReviewInstanceProperties(String methodName)
methodName - name of the calling methodprotected InstanceProperties addAnnotationStatusToProperties(InstanceProperties properties, String methodName)
properties - current propertiesmethodName - calling methodCopyright © 2018–2020 ODPi. All rights reserved.