public class Annotation extends ElementHeader
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
additionalProperties |
protected String |
analysisStep |
protected AnnotationStatus |
annotationStatus |
protected String |
annotationType |
protected int |
confidenceLevel |
protected String |
explanation |
protected String |
expression |
protected String |
jsonProperties |
protected int |
numAttachedAnnotations |
protected String |
reviewComment |
protected Date |
reviewDate |
protected String |
steward |
protected String |
summary |
classifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
Annotation()
Default constructor used by subclasses
|
Annotation(Annotation template)
Copy/clone Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
Map<String,String> |
getAdditionalProperties()
Return the additional properties for the Annotation.
|
String |
getAnalysisStep()
Return a description of the analysis step that the discovery service was in when it created the annotation.
|
AnnotationStatus |
getAnnotationStatus()
Return the current status of the annotation.
|
String |
getAnnotationType()
Return the informal name for the type of annotation.
|
int |
getConfidenceLevel()
Return the confidence level of the discovery service that the annotation is correct.
|
String |
getExplanation()
Return the explanation for the annotation.
|
String |
getExpression()
Return the expression that represent the relationship between the annotation and the asset.
|
String |
getJsonProperties()
Return the JSON properties associated with the annotation.
|
int |
getNumAttachedAnnotations()
Return the number of annotations attached to the this annotation.
|
String |
getReviewComment()
Return any comments made by the steward during the review.
|
Date |
getReviewDate()
Return the date that this annotation was reviewed.
|
String |
getSteward()
Return the name of the steward that reviewed the annotation.
|
String |
getSummary()
Return the summary description for the annotation.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setAdditionalProperties(Map<String,String> additionalProperties)
Set up the additional properties for the Annotation.
|
void |
setAnalysisStep(String analysisStep)
Set up a description of the analysis step that the discovery service was in when it created the annotation.
|
void |
setAnnotationStatus(AnnotationStatus annotationStatus)
Set up the current status of the annotation.
|
void |
setAnnotationType(String annotationType)
Set up the informal name for the type of annotation.
|
void |
setAttachedAnnotations(int number)
Set up the number of annotations attached to the this annotation.
|
void |
setConfidenceLevel(int confidenceLevel)
Set up the confidence level of the discovery service that the annotation is correct.
|
void |
setExplanation(String explanation)
Set up the explanation for the annotation.
|
void |
setExpression(String expression)
Set up the expression that represent the relationship between the annotation and the asset.
|
void |
setJsonProperties(String jsonProperties)
Set up the JSON properties associated with the annotation.
|
void |
setReviewComment(String reviewComment)
Set up any comments made by the steward during the review.
|
void |
setReviewDate(Date reviewDate)
Set up the date that this annotation was reviewed.
|
void |
setSteward(String steward)
Set up the name of the steward that reviewed the annotation.
|
void |
setSummary(String summary)
Set up the summary description for the annotation.
|
String |
toString()
Standard toString method.
|
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected String annotationType
protected String summary
protected int confidenceLevel
protected String expression
protected String explanation
protected String analysisStep
protected String jsonProperties
protected int numAttachedAnnotations
protected AnnotationStatus annotationStatus
protected Date reviewDate
protected String steward
protected String reviewComment
public Annotation()
public Annotation(Annotation template)
template - template object to copy.public String getAnnotationType()
public void setAnnotationType(String annotationType)
annotationType - String annotation typepublic String getSummary()
public void setSummary(String summary)
summary - String summary of annotationpublic int getConfidenceLevel()
public void setConfidenceLevel(int confidenceLevel)
confidenceLevel - int confidence levelpublic String getExpression()
public void setExpression(String expression)
expression - String expressionpublic String getExplanation()
public void setExplanation(String explanation)
explanation - explanationpublic String getAnalysisStep()
public void setAnalysisStep(String analysisStep)
analysisStep - analysis steppublic String getJsonProperties()
public void setJsonProperties(String jsonProperties)
jsonProperties - JSON properties of annotationpublic AnnotationStatus getAnnotationStatus()
public void setAnnotationStatus(AnnotationStatus annotationStatus)
annotationStatus - current status of annotationpublic int getNumAttachedAnnotations()
public void setAttachedAnnotations(int number)
number - number of annotationspublic Date getReviewDate()
public void setReviewDate(Date reviewDate)
reviewDate - review datepublic String getSteward()
public void setSteward(String steward)
steward - steward's name.public String getReviewComment()
public void setReviewComment(String reviewComment)
reviewComment - review commentpublic Map<String,String> getAdditionalProperties()
public void setAdditionalProperties(Map<String,String> additionalProperties)
additionalProperties - properties mappublic String toString()
toString in class ElementHeaderpublic boolean equals(Object objectToCompare)
equals in class ElementHeaderobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ElementHeaderCopyright © 2018–2019 ODPi. All rights reserved.