public class MetadataAttribute extends DataNode
MetadataAttribute is part of a MetadataElement and represents a key/value pair.PROPERTY_NAME_DATA, PROPERTY_NAME_READ_ONLY, PROPERTY_NAME_SYNTHETIC, PROPERTY_NAME_UNITPROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_NAME| Constructor and Description |
|---|
MetadataAttribute(String name,
int type) |
MetadataAttribute(String name,
int type,
int numElems) |
MetadataAttribute(String name,
ProductData data,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(ProductVisitor visitor)
Accepts the given visitor.
|
MetadataAttribute |
createDeepClone() |
boolean |
equals(Object object) |
MetadataElement |
getParentElement() |
checkDataCompatibility, createCompatibleProductData, dispose, fireProductNodeDataChanged, getData, getDataElems, getDataElemSize, getDataType, getNumDataElems, getRawStorageSize, getUnit, isFloatingPointType, isReadOnly, isSynthetic, setData, setDataElems, setReadOnly, setSynthetic, setUnitfireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setModified, setName, setOwner, toString, updateExpressiongetExtensionpublic MetadataAttribute(String name, int type)
public MetadataAttribute(String name, int type, int numElems)
public MetadataAttribute(String name, ProductData data, boolean readOnly)
public MetadataElement getParentElement()
public void acceptVisitor(ProductVisitor visitor)
The method simply calls visitor.visit(this).
acceptVisitor in class DataNodevisitor - the visitorpublic MetadataAttribute createDeepClone()
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.