org.esa.beam.framework.datamodel
Class MetadataAttribute
java.lang.Object
com.bc.ceres.core.ExtensibleObject
org.esa.beam.framework.datamodel.ProductNode
org.esa.beam.framework.datamodel.DataNode
org.esa.beam.framework.datamodel.MetadataAttribute
- All Implemented Interfaces:
- com.bc.ceres.core.Extensible
public class MetadataAttribute
- extends DataNode
A MetadataAttribute is part of a MetadataElement and represents a key/value pair.
- Version:
- $Revision$ $Date$
- Author:
- Norman Fomferra
| Methods inherited from class org.esa.beam.framework.datamodel.DataNode |
checkDataCompatibility, createCompatibleProductData, dispose, fireProductNodeDataChanged, getData, getDataElems, getDataElemSize, getDataType, getNumDataElems, getRawStorageSize, getUnit, isFloatingPointType, isReadOnly, isSynthetic, setData, setDataElems, setReadOnly, setSynthetic, setUnit |
| Methods inherited from class org.esa.beam.framework.datamodel.ProductNode |
fireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setModified, setName, setOwner, toString, updateExpression |
| Methods inherited from class com.bc.ceres.core.ExtensibleObject |
getExtension |
MetadataAttribute
public MetadataAttribute(String name,
int type)
MetadataAttribute
public MetadataAttribute(String name,
int type,
int numElems)
MetadataAttribute
public MetadataAttribute(String name,
ProductData data,
boolean readOnly)
getParentElement
public MetadataElement getParentElement()
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
acceptVisitor
public void acceptVisitor(ProductVisitor visitor)
- 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:
acceptVisitor in class DataNode
- Parameters:
visitor - the visitor
createDeepClone
public MetadataAttribute createDeepClone()
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.