if (objectAssoc.isOneToManyAssociation()) {
updateOneToManyAssociation(objectAdapter, (OneToManyAssociation) objectAssoc, (CollectionData) fieldData);
} else if (objectAssoc.getSpecification().containsFacet(EncodableFacet.class)) {
final EncodableFacet facet = objectAssoc.getSpecification().getFacet(EncodableFacet.class);
final ObjectAdapter value = facet.fromEncodedString((String) fieldData);
((OneToOneAssociation) objectAssoc).initAssociation(objectAdapter, value);
} else if (objectAssoc.isOneToOneAssociation()) {
updateOneToOneAssociation(objectAdapter, (OneToOneAssociation) objectAssoc, (Data) fieldData);
}