public interface IResource extends IWithProperties, IWithAnnotations, IWithSkeleton, Cloneable
| Modifier and Type | Field and Description |
|---|---|
static int |
COPY_ALL |
static int |
COPY_CONTENT |
static int |
COPY_PROPERTIES |
static int |
COPY_SEGMENTATION |
static int |
COPY_SEGMENTED_CONTENT |
static int |
CREATE_EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(IResource from,
IResource to)
Copy all
IWithProperties and IWithAnnotations
Unless destination already has the property or annotation.
Properties are cloned before copying. |
String |
getId()
Gets the identifier of the resource.
|
void |
setId(String id)
Sets the identifier of this resource.
|
copy, getProperties, getProperty, getPropertyNames, hasProperty, propertyIterator, removeProperty, setPropertyannotationIterator, clear, copy, getAnnotation, getAnnotations, getAnnotationsTypesAsSet, hasAnnotation, hasAnnotations, remove, setAnnotationgetSkeleton, setSkeletonstatic final int CREATE_EMPTY
static final int COPY_CONTENT
static final int COPY_PROPERTIES
static final int COPY_SEGMENTATION
static final int COPY_SEGMENTED_CONTENT
static final int COPY_ALL
static void copy(IResource from, IResource to)
IWithProperties and IWithAnnotations
Unless destination already has the property or annotation.
Properties are cloned before copying. Annotations are not cloned
but this should be fixed in future versions of IAnnotationString getId()
Copyright © 2022. All rights reserved.