public abstract class DapVariable extends DapNode implements DapDecl
Modifier and Type | Field and Description |
---|---|
protected DapType |
basetype |
protected byte[] |
checksum |
protected java.util.List<DapDimension> |
dimensions |
protected java.util.List<DapMap> |
maps |
attributes, dataset, escapedname, fqn, index, parent, shortname, sort
Constructor and Description |
---|
DapVariable() |
DapVariable(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addDimension(DapDimension node) |
void |
addMap(DapMap map) |
DapType |
getBaseType() |
byte[] |
getChecksum() |
long |
getCount() |
DapDimension |
getDimension(int i) |
java.util.List<DapDimension> |
getDimensions() |
java.util.List<DapMap> |
getMaps() |
int |
getRank() |
DapType |
getTrueBaseType() |
abstract boolean |
isLeaf() |
void |
setBaseType(DapType basetype) |
void |
setChecksum(byte[] csum) |
java.lang.String |
toString() |
addAttribute, findAttribute, getAttributes, getContainer, getContainerPath, getDataset, getEscapedShortName, getFQN, getGroup, getGroupPath, getIndex, getParent, getPath, getShortName, getSort, isTopLevel, removeAttribute, setAttribute, setAttributes, setDataset, setIndex, setParent, setShortName, setSort
protected DapType basetype
protected java.util.List<DapDimension> dimensions
protected java.util.List<DapMap> maps
protected byte[] checksum
public DapVariable()
public DapVariable(java.lang.String name)
public DapType getBaseType()
public void setBaseType(DapType basetype)
public DapType getTrueBaseType()
public int getRank()
public long getCount()
public java.util.List<DapDimension> getDimensions()
public DapDimension getDimension(int i)
public void addDimension(DapDimension node) throws DapException
DapException
public java.util.List<DapMap> getMaps()
public void addMap(DapMap map) throws DapException
DapException
public byte[] getChecksum()
public void setChecksum(byte[] csum)
public abstract boolean isLeaf()