Package org.esa.snap.core.gpf.descriptor
Class AnnotationSourceProductDescriptor
java.lang.Object
org.esa.snap.core.gpf.descriptor.AnnotationSourceProductDescriptor
- All Implemented Interfaces:
DataElementDescriptor,ElementDescriptor,SourceProductDescriptor
A
SourceProductDescriptor implementation for the
SourceProduct annotation.- Since:
- BEAM 5
-
Constructor Details
-
AnnotationSourceProductDescriptor
-
-
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.
-
getAnnotation
-
isOptional
public boolean isOptional()- Specified by:
isOptionalin interfaceSourceProductDescriptor- Returns:
trueif the source product is optional. Defaults tofalse.
-
getProductType
- Specified by:
getProductTypein interfaceSourceProductDescriptor- Returns:
- The product type or a regular expression identifying the allowed product types, or
nullif not declared. - See Also:
-
getBands
- Specified by:
getBandsin interfaceSourceProductDescriptor- Returns:
- The names of the bands which need to be present in the source product. Defaults to an empty array (= not set).
-
getAlias
- Specified by:
getAliasin interfaceElementDescriptor- Returns:
- A short form of the symbolic name, or
nullif not declared.
-
getDescription
- Specified by:
getDescriptionin interfaceElementDescriptor- Returns:
- A short description, 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.
-
getDataType
- Specified by:
getDataTypein interfaceDataElementDescriptor- Specified by:
getDataTypein interfaceSourceProductDescriptor- Returns:
- The source product type.
Defaults to
Product.
-