setGroupRef(detail.getOtherName(), gref, hold);
seq.getParticleList().add(gref);
}
type.setContentDefinition(seq);
if (detail.hasAttribute()) {
AttributeGroupRefElement gref = new AttributeGroupRefElement();
setGroupRef(detail.getOtherName(), gref, hold);
type.getAttributeList().add(gref);
}
} else {