public class RatingBuilder extends RootBuilder
classifications, errorHandler, repositoryHelper, serverName, serviceName| Constructor and Description |
|---|
RatingBuilder(StarRating starRating,
String review,
boolean isPublic,
String anchorGUID,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceProperties |
getEntityInstanceProperties(String methodName)
Return the supplied bean properties in an InstanceProperties object.
|
InstanceProperties |
getRelationshipInstanceProperties(String methodName)
Return the supplied bean properties in an InstanceProperties object.
|
getEntityClassifications, getInstanceProperties, setClassificationspublic RatingBuilder(StarRating starRating, String review, boolean isPublic, String anchorGUID, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
starRating - stars parameterreview - review commentsisPublic - should this feedback be shareable?anchorGUID - 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–2020 ODPi. All rights reserved.