code: private Map<String, Object> initialize(EntityMetadata entityMetadata)
      {
          Map<String, Object> relationMap = null;
          if (entityMetadata.getRelationNames() != null && !entityMetadata.getRelationNames().isEmpty())
          {
              relationMap = new HashMap<String, Object>();
          }
          return relationMap;
      }
docs: Initialize.
  
  @param entityMetadata
  the entity metadata
  @return the map