public class Comment 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 |
|---|
Comment() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<String,String> |
getAdditionalProperties()
{@literal Additional properties for the element.
|
List<Classification> |
getClassifications()
Classifications
|
Date |
getEffectiveFromTime()
Return the date/time that this Comment should start to be used (null means it can be used from creationTime).
|
Date |
getEffectiveToTime()
Return the date/time that this Comment 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 |
getQualifiedName()
{@literal Unique identifier for the entity.
|
SystemAttributes |
getSystemAttributes()
Get the system attributes
|
String |
getText()
{@literal Feedback comments or additional information.
|
CommentType |
getType()
{@literal Type of comment.
|
int |
hashCode() |
void |
setAdditionalProperties(Map<String,String> additionalProperties) |
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 |
setQualifiedName(String qualifiedName) |
void |
setSystemAttributes(SystemAttributes systemAttributes) |
void |
setText(String text) |
void |
setType(CommentType type) |
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 String getText()
String public void setText(String text)
public CommentType getType()
CommentType public void setType(CommentType type)
public String getQualifiedName()
String public void setQualifiedName(String qualifiedName)
public Map<String,String> getAdditionalProperties()
{@code Map<String,String> } public void setAdditionalProperties(Map<String,String> additionalProperties)
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.