|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IResource
Common set of features all the types of resources associated with events have.
| Field Summary | |
|---|---|
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
|
| Method Summary | ||
|---|---|---|
|
getAnnotation(java.lang.Class<A> annotationType)
Gets the annotation object for a given class for this resource. |
|
java.lang.Iterable<IAnnotation> |
getAnnotations()
Gets the iterable list of the annotations for this resource. |
|
java.lang.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. |
|
void |
setId(java.lang.String id)
Sets the identifier of this resource. |
|
void |
setSkeleton(ISkeleton skeleton)
Sets the skeleton object for this resource. |
|
| Field Detail |
|---|
static 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
| Method Detail |
|---|
java.lang.String getId()
void setId(java.lang.String id)
id - the new identifier value.getId()ISkeleton getSkeleton()
void setSkeleton(ISkeleton skeleton)
skeleton - the skeleton object to set.<A extends IAnnotation> A getAnnotation(java.lang.Class<A> annotationType)
annotationType - the class of the annotation object to retrieve.
void setAnnotation(IAnnotation annotation)
annotation - the annotation object to set.java.lang.Iterable<IAnnotation> getAnnotations()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||