Package dap4.core.dmr
Class DapVariable
- java.lang.Object
-
- dap4.core.dmr.DapNode
-
- dap4.core.dmr.DapVariable
-
-
Field Summary
Fields Modifier and Type Field Description protected DapTypebasetypeprotected intchecksumprotected List<DapDimension>dimensionsprotected intfieldindexprotected List<DapMap>maps-
Fields inherited from class dap4.core.dmr.DapNode
annotations, attributes, dataset, escapedname, fqn, index, parent, shortname, sort, xmlattributes
-
-
Constructor Summary
Constructors Constructor Description DapVariable()DapVariable(String name)DapVariable(String name, DapType basetype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDimension(DapDimension node)voidaddMap(DapMap map)DapTypegetBaseType()intgetChecksum()longgetCount()DapDimensiongetDimension(int i)List<DapDimension>getDimensions()intgetFieldIndex()List<DapMap>getMaps()intgetRank()DapTypegetTrueBaseType()booleanisAtomic()booleanisCompound()booleanisEnum()booleanisLeaf()booleanisSequence()booleanisStructure()DapVariablesetBaseType(DapType t)voidsetChecksum(int csum)voidsetFieldIndex(int index)StringtoString()-
Methods inherited from class dap4.core.dmr.DapNode
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
-
-
-
-
Field Detail
-
basetype
protected DapType basetype
-
dimensions
protected List<DapDimension> dimensions
-
checksum
protected int checksum
-
fieldindex
protected int fieldindex
-
-
Method Detail
-
getBaseType
public DapType getBaseType()
-
setBaseType
public DapVariable setBaseType(DapType t)
-
getRank
public int getRank()
-
getCount
public long getCount()
-
getDimensions
public List<DapDimension> getDimensions()
-
getDimension
public DapDimension getDimension(int i)
-
addDimension
public void addDimension(DapDimension node) throws DapException
- Throws:
DapException
-
addMap
public void addMap(DapMap map) throws DapException
- Throws:
DapException
-
getChecksum
public int getChecksum()
-
setChecksum
public void setChecksum(int csum)
-
getFieldIndex
public int getFieldIndex()
-
setFieldIndex
public void setFieldIndex(int index)
-
getTrueBaseType
public DapType getTrueBaseType()
-
isLeaf
public boolean isLeaf()
-
isAtomic
public boolean isAtomic()
-
isEnum
public boolean isEnum()
-
isSequence
public boolean isSequence()
-
isStructure
public boolean isStructure()
-
isCompound
public boolean isCompound()
-
-