public class RatingBuilder extends OpenMetadataAPIGenericBuilder
errorHandler, existingClassifications, extendedProperties, instanceStatus, newClassifications, properties, repositoryHelper, serverName, serviceName, typeGUID, typeName| Constructor and Description |
|---|
RatingBuilder(int starRating,
String review,
boolean isPublic,
String parentGUID,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceProperties |
getInstanceProperties(String methodName)
Return the supplied bean properties in an InstanceProperties object.
|
InstanceProperties |
getRelationshipInstanceProperties(String methodName)
Return the supplied bean properties in an InstanceProperties object.
|
getEntityClassificationProperties, getEntityClassifications, getExistingEntityClassificationHeader, getInstanceStatus, getTypeGUID, getTypeName, setAnchors, setClassification, setLatestChange, setTemplateClassificationspublic RatingBuilder(int starRating,
String review,
boolean isPublic,
String parentGUID,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
starRating - stars parameterreview - review commentsisPublic - should this feedback be shareable?parentGUID - unique identifier of the entity that the rating is attaching torepositoryHelper - 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 OpenMetadataAPIGenericBuildermethodName - name of the calling methodInvalidParameterException - there is a problem with the propertiesCopyright © 2018–2020 ODPi. All rights reserved.