Package org.esa.snap.core.gpf.descriptor
Class AnnotationTargetProductDescriptor
- java.lang.Object
-
- org.esa.snap.core.gpf.descriptor.AnnotationTargetProductDescriptor
-
- All Implemented Interfaces:
DataElementDescriptor,ElementDescriptor,TargetProductDescriptor
public class AnnotationTargetProductDescriptor extends Object implements TargetProductDescriptor
ATargetProductDescriptorimplementation for theTargetProductannotation.- Since:
- BEAM 5
-
-
Constructor Summary
Constructors Constructor Description AnnotationTargetProductDescriptor(String name, TargetProduct annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlias()TargetProductgetAnnotation()Class<? extends Product>getDataType()StringgetDescription()StringgetLabel()StringgetName()
-
-
-
Constructor Detail
-
AnnotationTargetProductDescriptor
public AnnotationTargetProductDescriptor(String name, TargetProduct annotation)
-
-
Method Detail
-
getName
public String 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.
-
getAnnotation
public TargetProduct getAnnotation()
-
getAlias
public String getAlias()
- Specified by:
getAliasin interfaceElementDescriptor- Returns:
- A short form of the symbolic name, or
nullif not declared.
-
getLabel
public String 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
public String getDescription()
- Specified by:
getDescriptionin interfaceElementDescriptor- Returns:
- A short description, or
nullif not declared.
-
getDataType
public Class<? extends Product> getDataType()
- Specified by:
getDataTypein interfaceDataElementDescriptor- Specified by:
getDataTypein interfaceTargetProductDescriptor- Returns:
- The target product type.
Defaults to
Product.
-
-