public class Annotation extends ElementHeader
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
additionalProperties |
protected Map<String,Object> |
analysisParameters |
protected String |
analysisStep |
protected AnnotationStatus |
annotationStatus |
protected String |
annotationType |
protected int |
confidenceLevel |
protected Date |
creationDate |
protected String |
explanation |
protected String |
expression |
protected String |
jsonProperties |
protected String |
reportDescription |
protected String |
reportName |
protected String |
reviewComment |
protected Date |
reviewDate |
protected String |
steward |
protected String |
summary |
classifications, guid, type, url| Constructor and Description |
|---|
Annotation()
Default constructor used by subclasses
|
Annotation(Annotation templateAnnotation)
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,Object> |
getAdditionalProperties()
Return the additional properties for the Annotation.
|
Map<String,Object> |
getAnalysisParameters()
Return the properties that hold the parameters used to drive the discovery service's analysis.
|
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.
|
Date |
getCreationDate()
Return the creation date for the annotation.
|
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.
|
String |
getReportDescription()
Return the discovery analysis report description that this annotation is a part of.
|
String |
getReportName()
Return the name of the discovery analysis report that created 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.
|
void |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set up the additional properties for the Annotation.
|
void |
setAnalysisParameters(Map<String,Object> analysisParameters)
Set up the properties that hold the parameters used to drive the discovery service's analysis.
|
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 |
setConfidenceLevel(int confidenceLevel)
Set up the confidence level of the discovery service that the annotation is correct.
|
void |
setCreationDate(Date creationDate)
Set up the creation date for the annotation.
|
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 |
setReportDescription(String reportDescription)
Set up the discovery analysis report description that this annotation is a part of.
|
void |
setReportName(String reportName)
Set up the name of the discovery analysis report that created this 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, getGUID, getType, getURL, hashCode, setClassifications, setGUID, setType, setURLprotected String reportName
protected String reportDescription
protected Date creationDate
protected String annotationType
protected String summary
protected int confidenceLevel
protected String expression
protected String explanation
protected String analysisStep
protected String jsonProperties
protected AnnotationStatus annotationStatus
protected Date reviewDate
protected String steward
protected String reviewComment
public Annotation()
public Annotation(Annotation templateAnnotation)
templateAnnotation - template object to copy.public String getReportName()
public void setReportName(String reportName)
reportName - String report namepublic String getReportDescription()
public void setReportDescription(String reportDescription)
reportDescription - String report descriptionpublic Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate - Date that the annotation was created.public Map<String,Object> getAnalysisParameters()
public void setAnalysisParameters(Map<String,Object> analysisParameters)
analysisParameters - AdditionalProperties object storing the analysis parameterspublic 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 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,Object> getAdditionalProperties()
public void setAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties - additional properties objectpublic String toString()
toString in class ElementHeaderpublic boolean equals(Object objectToCompare)
equals in class ElementHeaderobjectToCompare - supplied objectCopyright © 2018–2019 ODPi. All rights reserved.