public class CommentBuilder extends RootBuilder
classifications, errorHandler, repositoryHelper, serverName, serviceName| Constructor and Description |
|---|
CommentBuilder(CommentType commentType,
String commentText,
boolean isPublic,
String anchorGUID,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceProperties |
getEntityInstanceProperties(String methodName)
Return the entity properties in an InstanceProperties object.
|
InstanceProperties |
getRelationshipInstanceProperties(String methodName)
Return the relationship properties in an InstanceProperties object.
|
getEntityClassifications, getInstanceProperties, setClassificationspublic CommentBuilder(CommentType commentType, String commentText, boolean isPublic, String anchorGUID, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
commentType - type of comment enum.commentText - String - the text of the comment.isPublic - should this be visible to all or private to the calleranchorGUID - unique identifier of the anchor entityrepositoryHelper - helper methodsserviceName - name of this OMASserverName - name of local serverpublic InstanceProperties getRelationshipInstanceProperties(String methodName)
methodName - name of the calling methodpublic InstanceProperties getEntityInstanceProperties(String methodName) throws InvalidParameterException
methodName - name of the calling methodInvalidParameterException - there is a problem with the propertiesCopyright © 2018–2019 ODPi. All rights reserved.