org.odata4j.edm
Class EdmAnnotation<T>
java.lang.Object
org.odata4j.core.GenericAnnotation<T>
org.odata4j.edm.EdmAnnotation<T>
- All Implemented Interfaces:
- Named, NamedValue<T>, NamespacedAnnotation<T>
- Direct Known Subclasses:
- EdmAnnotationAttribute, EdmAnnotationElement
public abstract class EdmAnnotation<T>
- extends GenericAnnotation<T>
Base annotation in the edm type system.
Either an EdmAnnotationAttribute
or an EdmAnnotationElement
.
EdmAnnotation
protected EdmAnnotation(String namespaceUri,
String namespacePrefix,
String name,
Class<T> valueType,
T value)
attribute
public static EdmAnnotationAttribute attribute(String namespaceUri,
String namespacePrefix,
String name,
String value)
- Creates an attribute annotation
element
public static <T> EdmAnnotationElement<T> element(String namespaceUri,
String namespacePrefix,
String name,
Class<T> valueType,
T value)
- Creates an element annotation
http://odata4j.org