@Target(value=METHOD) @Retention(value=RUNTIME) public @interface AddTags
type() attribute
specifying the resource type, and the method should have a parameter of type
IdDt annotated with the IdParam annotation, as well as
a parameter of type TagList. Note that this TagList parameter
does not need to contain a complete list of tags for the resource, only a list
of tags to be added. Server implementations must not remove tags based on this
operation.
Note that for a
server implementation, the type() annotation is optional if the
method is defined in a resource provider, since the type is implied.type()
attribute specifying the resource type, and the method should have a
parameter of type IdDt annotated with the VersionIdParam
annotation, and a parameter of type IdDt annotated with the
IdParam annotation, as well as
a parameter of type TagList. Note that this TagList parameter
does not need to contain a complete list of tags for the resource, only a list
of tags to be added. Server implementations must not remove tags based on this
operation.
Note that for a server implementation, the
type() annotation is optional if the method is defined in a resource provider, since the type is implied.| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends IBaseResource> |
type
If set to a type other than the default (which is
IResource
, this method is expected to return a TagList containing only tags which
are specific to the given resource type. |
public abstract Class<? extends IBaseResource> type
IResource
, this method is expected to return a TagList containing only tags which
are specific to the given resource type.Copyright © 2014–2017 University Health Network. All rights reserved.