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()
Annotation
getId
in interface Annotation
public void setId(String id)
Annotation
setId
in interface Annotation
id
- the idpublic String getDocumentId()
Annotation
getDocumentId
in interface Annotation
public void setDocumentId(String documentId)
Annotation
setDocumentId
in interface Annotation
documentId
- the annotated document idpublic String getXpath()
Annotation
getXpath
in interface Annotation
public void setXpath(String xpath)
Annotation
setXpath
in interface Annotation
xpath
- the xpathpublic String getEntity()
Annotation
getEntity
in interface Annotation
public void setEntity(String entity)
Annotation
setEntity
in interface Annotation
entity
- the entityCopyright © 2018 Nuxeo. All rights reserved.