public class Annotation extends Object
Constructor and Description |
---|
Annotation() |
Annotation(String uuid) |
Annotation(XPointer xpointer) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAuthor() |
String |
getBody() |
Date |
getDate() |
Container |
getEndContainer() |
Map<String,String> |
getFields() |
String |
getFormattedDate() |
int |
getId() |
String |
getShortType() |
Container |
getStartContainer() |
String |
getType() |
String |
getUUID() |
XPointer |
getXpointer() |
boolean |
hasEndContainer() |
int |
hashCode() |
boolean |
hasStartContainer() |
boolean |
isBodyUrl() |
String |
serialize() |
void |
setAuthor(String author) |
void |
setBody(String body) |
void |
setBodyUrl(boolean isBodyUrl) |
void |
setEndContainer(Container container) |
void |
setFields(Map<String,String> fields) |
void |
setId(int id) |
void |
setStartContainer(Container container) |
void |
setStringDate(String stringDate) |
void |
setType(String type) |
void |
setXpointer(XPointer xpointer) |
public Annotation(String uuid)
public Annotation()
public Annotation(XPointer xpointer)
public int getId()
public void setId(int id)
public void setStringDate(String stringDate)
public boolean isBodyUrl()
public void setBodyUrl(boolean isBodyUrl)
public String getShortType()
public XPointer getXpointer()
public void setXpointer(XPointer xpointer)
public String getFormattedDate()
public Container getStartContainer()
public void setStartContainer(Container container)
public boolean hasStartContainer()
public Container getEndContainer()
public void setEndContainer(Container container)
public boolean hasEndContainer()
Copyright © 2015 Nuxeo SA. All rights reserved.