Class AnnotationReviewBuilder
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
-
- org.odpi.openmetadata.commonservices.generichandlers.AnnotationReviewBuilder
-
public class AnnotationReviewBuilder extends OpenMetadataAPIGenericBuilder
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
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancePropertiesgetInstanceProperties(String methodName)Return the supplied bean properties that represent a name in an InstanceProperties object.InstancePropertiesgetReviewLinkInstanceProperties(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
getEntityClassificationProperties, getEntityClassifications, getExistingEntityClassificationHeader, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, setAnchors, setClassification, setEffectivityDates, setEffectivityDates, setLatestChange, setTemplateClassifications, updateInstanceProperties
-
-
-
-
Constructor Detail
-
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 Detail
-
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
public InstanceProperties getInstanceProperties(String methodName)
Return the supplied bean properties that represent a name in an InstanceProperties object.- Overrides:
getInstancePropertiesin classOpenMetadataAPIGenericBuilder- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
-
-