public boolean isPeriod(){
  String pt=getPAPeriodType();
  if (pt == null)   return false;
  return PAPERIODTYPE_Period.equals(pt);
}

public boolean isPeriod ( ) { String pt = getPAPeriodType ( ) ; if ( pt == null ) return false ; return PAPERIODTYPE_Period . equals ( pt ) ; }
is it period ?
