public boolean getAttributeBoolean ( ScoreAttribute sa ) { if ( ! ( sa . getDefaultValue ( ) instanceof Boolean ) ) throw new RuntimeException ( sa . toString ( ) + " is not a boolean attribute" ) ; return ( Boolean ) getAttributeObject ( sa ) ; }
Returns the boolean value associated to an attribute