public class DapGroup extends DapNode implements DapDecl
Modifier and Type | Field and Description |
---|---|
protected java.util.List<DapNode> |
decls |
protected java.util.List<DapDimension> |
dimensions |
protected java.util.List<DapEnum> |
enums |
protected java.util.List<DapGroup> |
groups |
protected java.util.List<DapVariable> |
variables |
attributes, dataset, escapedname, fqn, index, parent, shortname, sort
Constructor and Description |
---|
DapGroup() |
DapGroup(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addDecl(DapNode newdecl)
Add single declaration
|
DapNode |
findByFQN(java.lang.String fqn,
DapSort sort)
Parse an FQN and use it to trace to a specific
object in a dataset.
|
java.util.List<DapNode> |
findByFQN(java.lang.String fqn,
java.util.EnumSet<DapSort> sortset) |
DapNode |
findByName(java.lang.String name,
DapSort sort) |
java.util.List<DapNode> |
findByName(java.lang.String name,
java.util.EnumSet<DapSort> sortset) |
DapNode |
findInGroup(java.lang.String name,
DapSort sort) |
java.util.List<DapNode> |
findInGroup(java.lang.String name,
java.util.EnumSet<DapSort> sortset) |
DapVariable |
findVariable(java.lang.String name)
Locate a variable in this group
|
java.util.List<DapNode> |
getDecls() |
java.util.List<DapDimension> |
getDimensions() |
java.util.List<DapEnum> |
getEnums() |
java.util.List<DapGroup> |
getGroups() |
java.util.List<DapVariable> |
getVariables() |
void |
setDecls(java.util.List<? extends DapNode> decls) |
addAttribute, findAttribute, getAttributes, getContainer, getContainerPath, getDataset, getEscapedShortName, getFQN, getGroup, getGroupPath, getIndex, getParent, getPath, getShortName, getSort, isTopLevel, removeAttribute, setAttribute, setAttributes, setDataset, setIndex, setParent, setShortName, setSort, toString
protected java.util.List<DapNode> decls
protected java.util.List<DapGroup> groups
protected java.util.List<DapEnum> enums
protected java.util.List<DapDimension> dimensions
protected java.util.List<DapVariable> variables
public java.util.List<DapNode> getDecls()
public void setDecls(java.util.List<? extends DapNode> decls) throws DapException
DapException
public void addDecl(DapNode newdecl) throws DapException
DapException
public java.util.List<DapGroup> getGroups()
public java.util.List<DapEnum> getEnums()
public java.util.List<DapDimension> getDimensions()
public java.util.List<DapVariable> getVariables()
public java.util.List<DapNode> findByName(java.lang.String name, java.util.EnumSet<DapSort> sortset)
public java.util.List<DapNode> findInGroup(java.lang.String name, java.util.EnumSet<DapSort> sortset)
public DapNode findByFQN(java.lang.String fqn, DapSort sort) throws DapException
fqn
- the fully qualified namesort
- the kind of object we are looking forDapException
public java.util.List<DapNode> findByFQN(java.lang.String fqn, java.util.EnumSet<DapSort> sortset) throws DapException
DapException
public DapVariable findVariable(java.lang.String name)
name
- the variable's name