Package org.esa.snap.core.datamodel
Class MetadataAttribute
java.lang.Object
com.bc.ceres.core.ExtensibleObject
org.esa.snap.core.datamodel.ProductNode
org.esa.snap.core.datamodel.DataNode
org.esa.snap.core.datamodel.MetadataAttribute
- All Implemented Interfaces:
Extensible
A
MetadataAttribute is part of a MetadataElement and represents a key/value pair.- Version:
- $Revision$ $Date$
-
Field Summary
Fields inherited from class org.esa.snap.core.datamodel.DataNode
PROPERTY_NAME_DATA, PROPERTY_NAME_READ_ONLY, PROPERTY_NAME_SYNTHETIC, PROPERTY_NAME_UNITFields inherited from class org.esa.snap.core.datamodel.ProductNode
PROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_NAME -
Constructor Summary
ConstructorsConstructorDescriptionMetadataAttribute(String name, int type) MetadataAttribute(String name, int type, int numElems) MetadataAttribute(String name, ProductData data, boolean readOnly) -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptVisitor(ProductVisitor visitor) Accepts the given visitor.booleanMethods inherited from class org.esa.snap.core.datamodel.DataNode
checkDataCompatibility, createCompatibleProductData, dispose, fireProductNodeDataChanged, getData, getDataElems, getDataElemSize, getDataType, getNumDataElems, getRawStorageSize, getUnit, isFloatingPointType, isReadOnly, isSynthetic, setData, setDataElems, setReadOnly, setSynthetic, setUnitMethods inherited from class org.esa.snap.core.datamodel.ProductNode
fireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setModified, setName, setNodeName, setOwner, toString, updateExpressionMethods inherited from class com.bc.ceres.core.ExtensibleObject
getExtension
-
Constructor Details
-
MetadataAttribute
-
MetadataAttribute
-
MetadataAttribute
-
-
Method Details
-
getParentElement
-
equals
-
acceptVisitor
Accepts the given visitor. This method implements the well known 'Visitor' design pattern of the gang-of-four. The visitor pattern allows to define new operations on the product data model without the need to add more code to it. The new operation is implemented by the visitor.The method simply calls
visitor.visit(this).- Specified by:
acceptVisitorin classDataNode- Parameters:
visitor- the visitor
-
createDeepClone
-