|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.odata4j.core.GenericAnnotation<T>
public class GenericAnnotation<T>
Generic implementation of NamespacedAnnotation
.
Constructor Summary | |
---|---|
GenericAnnotation(String namespaceUri,
String namespacePrefix,
String localName,
Class<T> valueType,
T value)
|
Method Summary | |
---|---|
String |
getFullyQualifiedName()
|
String |
getName()
Gets the name. |
PrefixedNamespace |
getNamespace()
Gets the namespace (and namespace prefix) for this annotation. |
T |
getValue()
Gets the value. |
Class<T> |
getValueType()
Gets the java-type of the annotation value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GenericAnnotation(String namespaceUri, String namespacePrefix, String localName, Class<T> valueType, T value)
Method Detail |
---|
public String getFullyQualifiedName()
public String getName()
Named
getName
in interface Named
public PrefixedNamespace getNamespace()
NamespacedAnnotation
getNamespace
in interface NamespacedAnnotation<T>
public T getValue()
NamedValue
getValue
in interface NamedValue<T>
public Class<T> getValueType()
NamespacedAnnotation
getValueType
in interface NamespacedAnnotation<T>
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |