|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.DataObject
pojos.AnnotationData
pojos.URLAnnotationData
public class URLAnnotationData
Define a URL Annotation. Note that a URL annotation is a specific text annotation.
Field Summary | |
---|---|
static String |
HTTP
The http scheme for the url. |
static String |
HTTPS
The https scheme for the url. |
static String[] |
URLS
The supported schemes for URL. |
Constructor Summary | |
---|---|
URLAnnotationData(String url)
Creates a new instance. |
|
URLAnnotationData(omero.model.UriAnnotation annotation)
Creates a new instance. |
Method Summary | |
---|---|
Object |
getContent()
Returns the textual content of the annotation. |
String |
getContentAsString()
Returns the textual content of the annotation. |
String |
getURL()
Returns the url . |
void |
setContent(Object content)
Sets the text annotation. |
void |
setURL(String url)
Sets the url. |
Methods inherited from class pojos.AnnotationData |
---|
getLastModified, getNameSpace, setNameSpace |
Methods inherited from class pojos.DataObject |
---|
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String HTTP
http
scheme for the url.
public static final String HTTPS
https
scheme for the url.
public static final String[] URLS
Constructor Detail |
---|
public URLAnnotationData(String url)
url
- The value to set.public URLAnnotationData(omero.model.UriAnnotation annotation)
annotation
- The value to set.Method Detail |
---|
public void setURL(String url)
url
- The value to set.public String getURL()
url
.
public Object getContent()
getContent
in class AnnotationData
AnnotationData.getContent()
public String getContentAsString()
getContentAsString
in class AnnotationData
AnnotationData.getContentAsString()
public void setContent(Object content)
setContent
in class AnnotationData
content
- The value to set.AnnotationData.setContent(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.