public boolean fireRow(){
  return (constraints != null && constraints.size() > 0) || (triggers != null && triggers.size() > 0);
}

public boolean fireRow ( ) { return ( constraints != null && constraints . size ( ) > 0 ) || ( triggers != null && triggers . size ( ) > 0 ) ; }
check if row based triggers or constraints are defined . in this case the fire after and before row methods need to be called .
