Class AnnotationImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.comment.api.CommentImpl
-
- org.nuxeo.ecm.platform.comment.api.AnnotationImpl
-
- All Implemented Interfaces:
Annotation,Comment,ExternalEntity
public class AnnotationImpl extends CommentImpl implements Annotation, ExternalEntity
- Since:
- 10.1
-
-
Field Summary
Fields Modifier and Type Field Description protected StringxpathDeprecated.since 11.1, not used due toCommentImpl.docModelusage-
Fields inherited from class org.nuxeo.ecm.platform.comment.api.CommentImpl
ancestorIds, author, creationDate, docModel, entity, entityId, id, modificationDate, origin, parentId, text
-
-
Constructor Summary
Constructors Modifier Constructor Description AnnotationImpl()protectedAnnotationImpl(DocumentModel docModel)Constructor for the document adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetXpath()Gets the xpath of annotated blob in the document.voidsetXpath(String xpath)Sets the xpath of annotated blob in the document.-
Methods inherited from class org.nuxeo.ecm.platform.comment.api.CommentImpl
addAncestorId, equals, getAncestorIds, getAuthor, getCreationDate, getDocument, getEntity, getEntityId, getId, getModificationDate, getOrigin, getParentId, getText, hashCode, setAuthor, setCreationDate, setEntity, setEntityId, setId, setModificationDate, setOrigin, setParentId, setText, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.comment.api.Comment
addAncestorId, getAncestorIds, getAuthor, getCreationDate, getDocument, getId, getModificationDate, getParentId, getText, setAuthor, setCreationDate, setId, setModificationDate, setParentId, setText
-
Methods inherited from interface org.nuxeo.ecm.platform.comment.api.ExternalEntity
getEntity, getEntityId, getOrigin, setEntity, setEntityId, setOrigin
-
-
-
-
Field Detail
-
xpath
@Deprecated(since="11.1") protected String xpath
Deprecated.since 11.1, not used due toCommentImpl.docModelusage
-
-
Constructor Detail
-
AnnotationImpl
public AnnotationImpl()
- Since:
- 11.1
-
AnnotationImpl
protected AnnotationImpl(DocumentModel docModel)
Constructor for the document adapter factory.- Since:
- 11.1
-
-
Method Detail
-
getXpath
public String getXpath()
Description copied from interface:AnnotationGets the xpath of annotated blob in the document.- Specified by:
getXpathin interfaceAnnotation- Returns:
- the xpath
-
setXpath
public void setXpath(String xpath)
Description copied from interface:AnnotationSets the xpath of annotated blob in the document.- Specified by:
setXpathin interfaceAnnotation- Parameters:
xpath- the xpath
-
-