rel.setMasterDetail(false);
String selectionAttributes[] = relAnnotation.selectionAttributes();
if (selectionAttributes.length == 0)
throw new MissingSelectionAttributeException(beanName, rel.getName());
if (selectionAttributes[0].equals(""))
throw new MissingSelectionAttributeException(beanName, rel.getName());
checkSelectionAttributes(beanName, rel, selectionAttributes);
rel.setRelatedAttributes(Utils.makeShowAttributeVector(rel.getToBeanName(), selectionAttributes, this));
}
if ( (relAnnotation.type().equals(org.boco.seamwebappgen.annotations.RelationshipImplementationType.POPUP) || relAnnotation.type().equals(org.boco.seamwebappgen.annotations.RelationshipImplementationType.CRUDPOPUP) ) && rel.isUsed())
{
rel.setListBox(false);
rel.setMasterDetail(false);
if (relAnnotation.type().equals(org.boco.seamwebappgen.annotations.RelationshipImplementationType.CRUDPOPUP))
rel.setCRUD(true);
String selectionAttributes[] = relAnnotation.selectionAttributes();
if (selectionAttributes.length == 0)
throw new MissingSelectionAttributeException(beanName, rel.getName());
checkSelectionAttributes(beanName, rel, selectionAttributes);
rel.setRelatedAttributes(Utils.makeShowAttributeVector(rel.getToBeanName(), selectionAttributes, this));