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
 
 public class MetadataAttribute extends DataNode AMetadataAttributeis part of aMetadataElement- Version:
- $Revision$ $Date$
 
- 
- 
Field Summary- 
Fields inherited from class org.esa.snap.core.datamodel.DataNodePROPERTY_NAME_DATA, PROPERTY_NAME_READ_ONLY, PROPERTY_NAME_SYNTHETIC, PROPERTY_NAME_UNIT
 - 
Fields inherited from class org.esa.snap.core.datamodel.ProductNodePROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_NAME
 
- 
 - 
Constructor SummaryConstructors Constructor Description MetadataAttribute(String name, int type)MetadataAttribute(String name, int type, int numElems)MetadataAttribute(String name, ProductData data, boolean readOnly)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(ProductVisitor visitor)Accepts the given visitor.MetadataAttributecreateDeepClone()booleanequals(Object object)MetadataElementgetParentElement()- 
Methods inherited from class org.esa.snap.core.datamodel.DataNodecheckDataCompatibility, createCompatibleProductData, dispose, fireProductNodeDataChanged, getData, getDataElems, getDataElemSize, getDataType, getNumDataElems, getRawStorageSize, getUnit, isFloatingPointType, isReadOnly, isSynthetic, setData, setDataElems, setReadOnly, setSynthetic, setUnit
 - 
Methods inherited from class org.esa.snap.core.datamodel.ProductNodefireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setModified, setName, setNodeName, setOwner, toString, updateExpression
 - 
Methods inherited from class com.bc.ceres.core.ExtensibleObjectgetExtension
 
- 
 
- 
- 
- 
Constructor Detail- 
MetadataAttributepublic MetadataAttribute(String name, int type) 
 - 
MetadataAttributepublic MetadataAttribute(String name, int type, int numElems) 
 - 
MetadataAttributepublic MetadataAttribute(String name, ProductData data, boolean readOnly) 
 
- 
 - 
Method Detail- 
getParentElementpublic MetadataElement getParentElement() 
 - 
acceptVisitorpublic 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:
- acceptVisitorin class- DataNode
- Parameters:
- visitor- the visitor
 
 - 
createDeepClonepublic MetadataAttribute createDeepClone() 
 
- 
 
-