public class UriAnnotation extends Object implements URI
URI
annotation.
Constructor and Description |
---|
UriAnnotation(Class<?> on)
Constructor.
|
UriAnnotation(Field on)
Constructor.
|
UriAnnotation(Method on)
Constructor.
|
UriAnnotation(String on)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
annotationType() |
String |
on() |
UriAnnotation |
on(Class<?> value)
Sets the
|
UriAnnotation |
on(Field value)
Sets the
|
UriAnnotation |
on(Method value)
Sets the
|
UriAnnotation |
on(String value)
Sets the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, toString
public UriAnnotation(String on)
on
- The initial value for the URI.on()
public UriAnnotation(Class<?> on)
on
- The initial value for the URI.on()
public UriAnnotation(Method on)
on
- The initial value for the URI.on()
public UriAnnotation(Field on)
on
- The initial value for the URI.on()
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public UriAnnotation on(String value)
value
- The new value for this property.public UriAnnotation on(Class<?> value)
value
- The new value for this property.public UriAnnotation on(Field value)
value
- The new value for this property.public UriAnnotation on(Method value)
value
- The new value for this property.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.