public class PathAnnotations
extends java.lang.Object
Annotations that are associated with a CSDL target path that is a child of a CSDL model element.
Constructor and Description |
---|
PathAnnotations() |
Modifier and Type | Method and Description |
---|---|
Annotation |
getAnnotation(java.lang.String term)
Lookup a path annotation by term name.
|
AnnotationList |
getAnnotationList()
List of annotations for this path.
|
AnnotationMap |
getAnnotationMap()
Map of annotations for this path.
|
DataPath |
getPath()
CSDL target path.
|
void |
setPath(DataPath value)
CSDL target path.
|
java.lang.String |
toString() |
public Annotation getAnnotation(java.lang.String term)
Lookup a path annotation by term name.
PathAnnotations.annotationMap
, for looking up annotations that might not exist.
term
- The term name.public AnnotationList getAnnotationList()
List of annotations for this path.
public AnnotationMap getAnnotationMap()
Map of annotations for this path.
public DataPath getPath()
CSDL target path.
public void setPath(DataPath value)
CSDL target path.
public java.lang.String toString()
toString
in class java.lang.Object