Class RatingBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.RatingBuilder
RatingBuilder is able to build the properties for a Rating entity.
-
Constructor Summary
ConstructorsConstructorDescriptionRatingBuilder(int starRating, String review, 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 supplied bean properties in an InstanceProperties object.org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetRelationshipInstanceProperties(String methodName) Return the supplied bean properties in an InstanceProperties object.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setAnchors, setClassification, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute
-
Constructor Details
-
RatingBuilder
public RatingBuilder(int starRating, String review, boolean isPublic, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor.- Parameters:
starRating- stars parameterreview- review commentsisPublic- should this feedback be shareable?repositoryHelper- 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 supplied bean 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 supplied bean properties in an InstanceProperties object.- Overrides:
getInstancePropertiesin classOpenMetadataAPIGenericBuilder- 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
-