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.
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationReviewBuilder(int annotationStatus, Date reviewDate, String steward, String reviewComment, String typeGUID, String typeName, Map<String, Object> extendedProperties, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.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 TypeMethodDescriptionorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetInstanceProperties(String methodName) Return the supplied bean properties that represent a name in an InstanceProperties object.org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setAnchors, setClassification, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute
-
Constructor Details
-
AnnotationReviewBuilder
public AnnotationReviewBuilder(int annotationStatus, Date reviewDate, String steward, String reviewComment, String typeGUID, String typeName, Map<String, Object> extendedProperties, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.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 org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getReviewLinkInstanceProperties(String methodName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.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:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- no support for AnnotationStatus Enum
-
getInstanceProperties
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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
-