Class CommentBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
org.odpi.openmetadata.commonservices.generichandlers.CommentBuilder
CommentBuilder is able to build the properties for a Comment entity.
-
Constructor Summary
ConstructorsConstructorDescriptionCommentBuilder(String qualifiedName, int commentType, String commentText, boolean isPublic, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetInstanceProperties(String methodName) Return the entity properties in an InstanceProperties object.org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetRelationshipInstanceProperties(String methodName) Return the relationship properties in an InstanceProperties object.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
getMementoProperties, getQualifiedName, setMemento, setSecurityTags, setTemplateMethods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setAnchors, setClassification, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute
-
Constructor Details
-
CommentBuilder
public CommentBuilder(String qualifiedName, int commentType, String commentText, boolean isPublic, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor.- Parameters:
qualifiedName- unique name (qualifiedName) for the commentcommentType- ordinal of comment enum.commentText- String - the text of the comment.isPublic- should this be visible to all or private to the callerrepositoryHelper- helper methodsserviceName- name of this OMASserverName- name of local server
-
-
Method Details
-
getRelationshipInstanceProperties
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getRelationshipInstanceProperties(String methodName) Return the relationship properties in an InstanceProperties object.- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
-
getInstanceProperties
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getInstanceProperties(String methodName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException Return the entity properties in an InstanceProperties object.- Overrides:
getInstancePropertiesin classReferenceableBuilder- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- there is a problem with the properties
-