public class DapVariable extends DapNode implements DapDecl
Modifier and Type | Field and Description |
---|---|
protected DapType |
basetype |
protected int |
checksum |
protected java.util.List<DapDimension> |
dimensions |
protected int |
fieldindex |
protected java.util.List<DapMap> |
maps |
annotations, attributes, dataset, escapedname, fqn, index, parent, shortname, sort, xmlattributes
Constructor and Description |
---|
DapVariable() |
DapVariable(java.lang.String name) |
DapVariable(java.lang.String name,
DapType basetype) |
Modifier and Type | Method and Description |
---|---|
void |
addDimension(DapDimension node) |
void |
addMap(DapMap map) |
DapType |
getBaseType() |
int |
getChecksum() |
long |
getCount() |
DapDimension |
getDimension(int i) |
java.util.List<DapDimension> |
getDimensions() |
int |
getFieldIndex() |
java.util.List<DapMap> |
getMaps() |
int |
getRank() |
DapType |
getTrueBaseType() |
boolean |
isAtomic() |
boolean |
isCompound() |
boolean |
isEnum() |
boolean |
isLeaf() |
boolean |
isSequence() |
boolean |
isStructure() |
DapVariable |
setBaseType(DapType t) |
void |
setChecksum(int csum) |
void |
setFieldIndex(int index) |
java.lang.String |
toString() |
addAttribute, addXMLAttribute, annotate, annotation, computefqn, findAttribute, getAttributes, getContainer, getContainerPath, getDataset, getEscapedShortName, getFQN, getGroup, getGroupPath, getIndex, getParent, getPath, getShortName, getSort, getXMLAttributes, isTopLevel, overrideParent, removeAttribute, removeXMLAttribute, setAttribute, setAttributes, setDataset, setIndex, setParent, setShortName, setSort
protected DapType basetype
protected java.util.List<DapDimension> dimensions
protected java.util.List<DapMap> maps
protected int checksum
protected int fieldindex
public DapVariable()
public DapVariable(java.lang.String name)
public DapVariable(java.lang.String name, DapType basetype)
public DapType getBaseType()
public DapVariable setBaseType(DapType t)
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 int getChecksum()
public void setChecksum(int csum)
public int getFieldIndex()
public void setFieldIndex(int index)
public DapType getTrueBaseType()
public boolean isLeaf()
public boolean isAtomic()
public boolean isEnum()
public boolean isSequence()
public boolean isStructure()
public boolean isCompound()