public class AnnotationImpl extends Object implements Annotation
| Modifier and Type | Field and Description |
|---|---|
protected String |
documentId |
protected String |
entity |
protected String |
id |
protected String |
xpath |
| Modifier | Constructor and Description |
|---|---|
|
AnnotationImpl() |
protected |
AnnotationImpl(DocumentModel annotationModel) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDocumentId()
Gets the annotated document id.
|
String |
getEntity()
Gets annotation entity.
|
String |
getId()
Gets annotation id.
|
String |
getXpath()
Gets the xpath of annotated blob in the document.
|
void |
setDocumentId(String documentId)
Sets the annotated document id.
|
void |
setEntity(String entity)
Sets annotation entity.
|
void |
setId(String id)
Sets annotation id.
|
void |
setXpath(String xpath)
Sets the xpath of annotated blob in the document.
|
protected String documentId
public AnnotationImpl()
protected AnnotationImpl(DocumentModel annotationModel)
public String getId()
AnnotationgetId in interface Annotationpublic void setId(String id)
AnnotationsetId in interface Annotationid - the idpublic String getDocumentId()
AnnotationgetDocumentId in interface Annotationpublic void setDocumentId(String documentId)
AnnotationsetDocumentId in interface AnnotationdocumentId - the annotated document idpublic String getXpath()
AnnotationgetXpath in interface Annotationpublic void setXpath(String xpath)
AnnotationsetXpath in interface Annotationxpath - the xpathpublic String getEntity()
AnnotationgetEntity in interface Annotationpublic void setEntity(String entity)
AnnotationsetEntity in interface Annotationentity - the entityCopyright © 2018 Nuxeo. All rights reserved.