Class AnnotationBuilder
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
-
- org.odpi.openmetadata.commonservices.generichandlers.AnnotationBuilder
-
public class AnnotationBuilder extends OpenMetadataAPIGenericBuilder
AnnotationBuilder supports the creation of the entities and relationships that describe an Open Discovery Framework (ODF) Annotation. It takes the properties as native types so that it can be used whether the ODF beans are used or the OMAS has defined its own.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
errorHandler, existingClassifications, extendedProperties, instanceStatus, newClassifications, repositoryHelper, serverName, serviceName, templateProperties, typeGUID, typeName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancePropertiesgetInstanceProperties(String methodName)Return the supplied bean properties in an InstanceProperties object for the annotation entity.-
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassificationProperties, getEntityClassifications, getExistingEntityClassificationHeader, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, setAnchors, setClassification, setEffectivityDates, setEffectivityDates, setLatestChange, setTemplateClassifications, updateInstanceProperties
-
-
-
-
Method Detail
-
getInstanceProperties
public InstanceProperties getInstanceProperties(String methodName) throws InvalidParameterException
Return the supplied bean properties in an InstanceProperties object for the annotation entity.- Overrides:
getInstancePropertiesin classOpenMetadataAPIGenericBuilder- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
- Throws:
InvalidParameterException- there is a problem with the properties
-
-