public void addVariable(BaseType v, int part) {
    """
	Adds a variable to the container.
	
	@param v    the variable to add.
	@param part ignored for <code>DSequence</code>.
    """
        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 .