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