code: private void marshalFields() {
      Collection<PropertyMetadata> propertyMetadataCollection = entityMetadata
          .getPropertyMetadataCollection();
      for (PropertyMetadata propertyMetadata : propertyMetadataCollection) {
        marshalField(propertyMetadata, entity);
      }
    }
docs: Marshals all the fields.