public class CommentBuilder extends ReferenceableBuilder
qualifiedNameerrorHandler, existingClassifications, extendedProperties, instanceStatus, newClassifications, repositoryHelper, serverName, serviceName, templateProperties, typeGUID, typeName| Constructor and Description |
|---|
CommentBuilder(String qualifiedName,
int commentType,
String commentText,
boolean isPublic,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceProperties |
getInstanceProperties(String methodName)
Return the entity properties in an InstanceProperties object.
|
InstanceProperties |
getRelationshipInstanceProperties(String methodName)
Return the relationship properties in an InstanceProperties object.
|
getQualifiedName, setMemento, setSecurityTags, setTemplategetEntityClassificationProperties, getEntityClassifications, getExistingEntityClassificationHeader, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, setAnchors, setClassification, setLatestChange, setTemplateClassifications, updateInstancePropertiespublic CommentBuilder(String qualifiedName, int commentType, String commentText, boolean isPublic, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
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 serverpublic InstanceProperties getRelationshipInstanceProperties(String methodName)
methodName - name of the calling methodpublic InstanceProperties getInstanceProperties(String methodName) throws InvalidParameterException
getInstanceProperties in class ReferenceableBuildermethodName - name of the calling methodInvalidParameterException - there is a problem with the propertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.