public AttributeQuery getAttributeQuery ( final String _attributeName ) { if ( this . query == null ) { try { final String attribute = getAttr4Select ( _attributeName ) ; this . query = new AttributeQuery ( this . typeUUID , attribute . isEmpty ( ) ? _attributeName : attribute ) . setCompanyDependent ( isCompanyDependent ( ) ) ; prepareQuery ( ) ; } catch ( final EFapsException e ) { QueryBuilder . LOG . error ( "Could not open AttributeQuery for uuid: {}" , this . typeUUID ) ; } } return ( AttributeQuery ) this . query ; }
Method to get an Attribute Query .