Class AnnotationReviewBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.AnnotationReviewBuilder
AnnotationReviewBuilder supports the creation of the entities and
relationships that describe an Governance Action Framework (GAF) AnnotationReview and the link to the
annotation.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
errorHandler, existingClassifications, extendedProperties, instanceStatus, newClassifications, repositoryHelper, serverName, serviceName, templateProperties, typeGUID, typeName
-
Constructor Summary
ConstructorDescriptionAnnotationReviewBuilder
(int annotationStatus, Date reviewDate, String steward, String reviewComment, String typeGUID, String typeName, 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. -
Method Summary
Modifier and TypeMethodDescriptiongetInstanceProperties
(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object.getReviewLinkInstanceProperties
(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setClassification, setEffectivityDates, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute, updateInstanceProperties
-
Constructor Details
-
AnnotationReviewBuilder
public AnnotationReviewBuilder(int annotationStatus, Date reviewDate, String steward, String reviewComment, String typeGUID, String typeName, 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.- Parameters:
annotationStatus
- status of annotationreviewDate
- date annotation reviewedsteward
- name of stewardreviewComment
- comments from the stewardtypeGUID
- type GUID to use for the entitytypeName
- type name to use for the entityextendedProperties
- properties from the subtype.repositoryHelper
- helper methodsserviceName
- name of this OMASserverName
- name of local server
-
-
Method Details
-
getReviewLinkInstanceProperties
public InstanceProperties getReviewLinkInstanceProperties(String methodName) throws InvalidParameterException Return the supplied bean properties that represent a name in an InstanceProperties object.- Parameters:
methodName
- name of the calling method- Returns:
- InstanceProperties object
- Throws:
InvalidParameterException
- no support for AnnotationStatus Enum
-
getInstanceProperties
Return the supplied bean properties that represent a name in an InstanceProperties object.- Overrides:
getInstanceProperties
in classOpenMetadataAPIGenericBuilder
- Parameters:
methodName
- name of the calling method- Returns:
- InstanceProperties object
-