public boolean isBusinessObjectDataAttributeRequired(String businessObjectAttributeName,BusinessObjectFormatEntity businessObjectFormatEntity){
  boolean required=false;
  for (  BusinessObjectDataAttributeDefinitionEntity attributeDefinitionEntity : businessObjectFormatEntity.getAttributeDefinitions()) {
    if (businessObjectAttributeName.equalsIgnoreCase(attributeDefinitionEntity.getName())) {
      required=true;
      break;
    }
  }
  return required;
}

public boolean isBusinessObjectDataAttributeRequired ( String businessObjectAttributeName , BusinessObjectFormatEntity businessObjectFormatEntity ) { boolean required = false ; for ( BusinessObjectDataAttributeDefinitionEntity attributeDefinitionEntity : businessObjectFormatEntity . getAttributeDefinitions ( ) ) { if ( businessObjectAttributeName . equalsIgnoreCase ( attributeDefinitionEntity . getName ( ) ) ) { required = true ; break ; } } return required ; }
determines if the specified business object data attribute is a required attribute or not .
