Interface TypeConverter<X,​Y>

    • Method Detail

      • toDatastoreType

        Y toDatastoreType​(X memberValue)
        Method to convert the passed member value to the datastore type.
        Parameters:
        memberValue - Value from the member
        Returns:
        Value for the datastore
      • toMemberType

        X toMemberType​(Y datastoreValue)
        Method to convert the passed datastore value to the member type.
        Parameters:
        datastoreValue - Value from the datastore
        Returns:
        Value for the member