public TypeBuilder association(String namespaceURI, String name, AssociationType type) {
return association(createName(namespaceURI, name), type);
}
public TypeBuilder association(Name name, AssociationType type) {
AssociationDescriptor descriptor = getTypeFactory().createAssociationDescriptor(type, name,
getMinOccurs(), getMaxOccurs(), isNillable());
add(descriptor);
return this;
}