@Documented @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Attachment
| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends ResourceHandler> |
handler
The
ResourceHandler class that will handle the attached resource. |
String |
id
The identifier of the attachment.
|
String |
path
The relative path to be used when publishing the attached resource.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
description
The description of the purpose of the attachment.
|
String |
name
The human-based name of the attachment.
|
String |
predicate
If defined, the predicate to be used for relating the attaching resource
to the attached resource
|
public abstract String id
public abstract String path
public abstract Class<? extends ResourceHandler> handler
ResourceHandler class that will handle the attached resource.public abstract String name
public abstract String description
Copyright (C) 2014-2016, Center for Open Middleware