public class Ending extends Object implements IResource, IWithAnnotations
| Modifier and Type | Field and Description |
|---|---|
protected Annotations |
annotations |
protected String |
id |
protected ISkeleton |
skeleton |
COPY_ALL, COPY_CONTENT, COPY_PROPERTIES, COPY_SEGMENTATION, COPY_SEGMENTED_CONTENT, CREATE_EMPTY| Constructor and Description |
|---|
Ending() |
Ending(String id)
Creates a new Ending object.
|
| Modifier and Type | Method and Description |
|---|---|
<A extends IAnnotation> |
getAnnotation(Class<A> annotationType)
Gets the annotation object for a given class for this resource.
|
Annotations |
getAnnotations()
Gets the iterable list of the annotations for this resource.
|
String |
getId()
Gets the identifier of the resource.
|
ISkeleton |
getSkeleton()
Gets the skeleton object for this resource.
|
void |
setAnnotation(IAnnotation annotation)
Sets an annotation object for this resource.
|
protected void |
setAnnotations(Annotations annotations) |
void |
setId(String id)
Sets the identifier of this resource.
|
void |
setSkeleton(ISkeleton skeleton)
Sets the skeleton object for this resource.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyprotected String id
protected ISkeleton skeleton
protected Annotations annotations
public Ending()
public Ending(String id)
id - The ID of this resource (It should NOT be the same ID as the one set of
the corresponding starting resource: each resource has a ID are unique).public String getId()
IResourcepublic void setId(String id)
IResourcesetId in interface IResourceid - the new identifier value.IResource.getId()public ISkeleton getSkeleton()
IResourcegetSkeleton in interface IResourcepublic void setSkeleton(ISkeleton skeleton)
IResourcesetSkeleton in interface IResourceskeleton - the skeleton object to set.public <A extends IAnnotation> A getAnnotation(Class<A> annotationType)
IWithAnnotationsgetAnnotation in interface IWithAnnotationsA - the type of the class.annotationType - the class of the annotation object to retrieve.public void setAnnotation(IAnnotation annotation)
IWithAnnotationssetAnnotation in interface IWithAnnotationsannotation - the annotation object to set.public Annotations getAnnotations()
IWithAnnotationsgetAnnotations in interface IWithAnnotationsprotected void setAnnotations(Annotations annotations)
Copyright © 2021. All rights reserved.