Package org.esa.snap.core.gpf.descriptor
Class AnnotationTargetPropertyDescriptor
java.lang.Object
org.esa.snap.core.gpf.descriptor.AnnotationTargetPropertyDescriptor
- All Implemented Interfaces:
DataElementDescriptor,ElementDescriptor,TargetPropertyDescriptor
A
TargetPropertyDescriptor implementation for the
TargetProperty annotation.- Since:
- BEAM 5
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationTargetPropertyDescriptor(String name, Class<?> dataType, TargetProperty annotation) -
Method Summary
-
Constructor Details
-
AnnotationTargetPropertyDescriptor
public AnnotationTargetPropertyDescriptor(String name, Class<?> dataType, TargetProperty annotation)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceElementDescriptor- Returns:
- The symbolic name used to unambiguously identify this element. E.g. the fully qualified name of a Java class.
-
getDataType
- Specified by:
getDataTypein interfaceDataElementDescriptor- Returns:
- The element's data type.
Defaults to
Object.
-
getAnnotation
-
getAlias
- Specified by:
getAliasin interfaceElementDescriptor- Returns:
- A short form of the symbolic name, or
nullif not declared.
-
getLabel
- Specified by:
getLabelin interfaceElementDescriptor- Returns:
- A human-readable version of the symbolic name to be used in user interfaces, or
nullif not declared.
-
getDescription
- Specified by:
getDescriptionin interfaceElementDescriptor- Returns:
- A short description, or
nullif not declared.
-