public AbstractPrintQuery addAttributeSet(final AttributeSet _set)
        throws EFapsException
    {
        final String key = "linkfrom[" + _set.getName() + "#" + _set.getAttributeName() + "]";
        final OneSelect oneselect = new OneSelect(this, key);
        this.allSelects.add(oneselect);
        this.attr2OneSelect.put(_set.getAttributeName(), oneselect);
        oneselect.analyzeSelectStmt();
        for (final String setAttrName : _set.getSetAttributes()) {
            if (!setAttrName.equals(_set.getAttributeName())) {
                oneselect.getFromSelect().addOneSelect(new OneSelect(this, _set.getAttribute(setAttrName)));
            }
        }
        oneselect.getFromSelect().getMainOneSelect().setAttribute(_set.getAttribute(_set.getAttributeName()));
        return this;
    }
public AbstractPrintQuery addAttributeSet ( final AttributeSet _set ) throws EFapsException { final String key = "linkfrom[" + _set . getName ( ) + "#" + _set . getAttributeName ( ) + "]" ; final OneSelect oneselect = new OneSelect ( this , key ) ; this . allSelects . add ( oneselect ) ; this . attr2OneSelect . put ( _set . getAttributeName ( ) , oneselect ) ; oneselect . analyzeSelectStmt ( ) ; for ( final String setAttrName : _set . getSetAttributes ( ) ) { if ( ! setAttrName . equals ( _set . getAttributeName ( ) ) ) { oneselect . getFromSelect ( ) . addOneSelect ( new OneSelect ( this , _set . getAttribute ( setAttrName ) ) ) ; } } oneselect . getFromSelect ( ) . getMainOneSelect ( ) . setAttribute ( _set . getAttribute ( _set . getAttributeName ( ) ) ) ; return this ; }
Add an AttributeSet to the PrintQuery. It is used to get editable values
from the eFaps DataBase. The AttributeSet is internally transformed into
an linkfrom query.

@param _set AttributeSet to add
@return this PrintQuery
@throws EFapsException on error