}
private ObjectAssociation createAssociation(final FacetedMethod facetMethod) {
if (facetMethod.getFeatureType().isCollection()) {
return new OneToManyAssociationImpl(facetMethod, objectMemberContext);
} else if (facetMethod.getFeatureType().isProperty()) {
return new OneToOneAssociationImpl(facetMethod, objectMemberContext);
} else {
return null;
}