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_UNIT
PROPERTY_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, setUnit
fireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setModified, setName, setOwner, toString, updateExpression
getExtension
public 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 DataNode
visitor
- the visitorpublic MetadataAttribute createDeepClone()
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.