/**
* @return
*/
private String getDataSourceIdentifier()
{
DataSourceRecordIdentifier idAnnotation =
dataSourceClass.getAnnotation(DataSourceRecordIdentifier.class);
if (idAnnotation != null)
{
return idAnnotation.value();
}
throw new CruxGeneratorException("Error Generating DataSource ["+dataSourceClass.getName()+"]. No identifier selected. Use the @DataSourceRecordIdentifier annotation to inform the identifier");
}