public class Rating extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
ATTRIBUTE_NAMES_SET |
static String[] |
ATTRIBUTE_NAMES_SET_VALUES |
static Set<String> |
ENUM_NAMES_SET |
static String[] |
ENUM_NAMES_SET_VALUES |
static Set<String> |
MAP_NAMES_SET |
static String[] |
MAP_NAMES_SET_VALUES |
static Set<String> |
PROPERTY_NAMES_SET |
static String[] |
PROPERTY_NAMES_SET_VALUES |
| Constructor and Description |
|---|
Rating() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<Classification> |
getClassifications()
Classifications
|
Date |
getEffectiveFromTime()
Return the date/time that this Rating should start to be used (null means it can be used from creationTime).
|
Date |
getEffectiveToTime()
Return the date/time that this Rating should no longer be used.
|
Map<String,Object> |
getExtraAttributes()
Get the extra attributes - ones that are in addition to the standard types.
|
Map<String,Classification> |
getExtraClassifications()
Extra classifications are classifications that are not in the open metadata model - we include the OMRS Classifications.
|
String |
getReview()
{@literal Additional comments associated with the rating.
|
StarRating |
getStars()
{@literal Rating level provided.
|
SystemAttributes |
getSystemAttributes()
Get the system attributes
|
int |
hashCode() |
void |
setClassifications(List<Classification> classifications) |
void |
setEffectiveFromTime(Date effectiveFromTime) |
void |
setEffectiveToTime(Date effectiveToTime) |
void |
setExtraAttributes(Map<String,Object> extraAttributes) |
void |
setExtraClassifications(Map<String,Classification> extraClassifications) |
void |
setReview(String review) |
void |
setStars(StarRating stars) |
void |
setSystemAttributes(SystemAttributes systemAttributes) |
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
public static final String[] PROPERTY_NAMES_SET_VALUES
public static final String[] ATTRIBUTE_NAMES_SET_VALUES
public static final String[] ENUM_NAMES_SET_VALUES
public static final String[] MAP_NAMES_SET_VALUES
public SystemAttributes getSystemAttributes()
public void setSystemAttributes(SystemAttributes systemAttributes)
public StarRating getStars()
StarRating public void setStars(StarRating stars)
public String getReview()
String public void setReview(String review)
public Date getEffectiveFromTime()
public void setEffectiveFromTime(Date effectiveFromTime)
public Date getEffectiveToTime()
public void setEffectiveToTime(Date effectiveToTime)
public void setClassifications(List<Classification> classifications)
public Map<String,Object> getExtraAttributes()
public List<Classification> getClassifications()
public Map<String,Classification> getExtraClassifications()
public void setExtraClassifications(Map<String,Classification> extraClassifications)
public StringBuilder toString(StringBuilder sb)
Copyright © 2018–2019 ODPi. All rights reserved.