.getFullQualifiedName().toString());
} else if (property instanceof ComplexProperty) {
xmlStreamWriter
.writeAttribute(XmlMetadataConstants.EDM_TYPE, ((ComplexProperty) property).getType().toString());
} else {
throw new ODataRuntimeException();
}
writeFacets(xmlStreamWriter, property.getFacets());
if (property.getMimeType() != null) {