// cardinality of the relationship.
else if ((field instanceof RelationshipElement) &&
nameMapper.isGeneratedEjbRelationship(ejbName,
ejbFieldName))
{
RelationshipElement rel = (RelationshipElement)field;
Class classType = null;
// figure out the type
if (rel.getUpperBound() > 1)
classType = java.util.HashSet.class;
else
{
String[] inverse = nameMapper.
getEjbFieldForGeneratedField(ejbName, ejbFieldName);