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 String getUUID()
public String getAuthor()
public void setAuthor(String author)
public int getId()
public void setId(int id)
public void setStringDate(String stringDate)
public boolean isBodyUrl()
public void setBodyUrl(boolean isBodyUrl)
public String getBody()
public void setBody(String body)
public String getType()
public String getShortType()
public void setType(String type)
public XPointer getXpointer()
public String serialize()
public void setXpointer(XPointer xpointer)
public String getFormattedDate()
public Date getDate()
public Container getStartContainer()
public void setStartContainer(Container container)
public boolean hasStartContainer()
public Container getEndContainer()
public void setEndContainer(Container container)
public boolean hasEndContainer()
Copyright © 2011 Nuxeo SA. All Rights Reserved.