opendap/src/main/java/opendap/dap/DSequence.java
public void addVariable(BaseType v, int part) {
        v.setParent(this);
        varTemplate.addElement(v);
        if (v instanceof DSequence)
            ((DSequence) v).setLevel(getLevel() + 1);
    }
public void addVariable(BaseType v, int part) {
        v.setParent(this);
        varTemplate.addElement(v);
        if (v instanceof DSequence)
            ((DSequence) v).setLevel(getLevel() + 1);
    }
public void addVariable ( BaseType v , int part ) { v . setParent ( this ) ; varTemplate . addElement ( v ) ; if ( v instanceof DSequence ) ( ( DSequence ) v ) . setLevel ( getLevel ( ) + 1 ) ; }
Adds a variable to the container.

@param v    the variable to add.
@param part ignored for <code>DSequence</code>.
Adds a variable to the container .