util-ref/src/main/java/com/hpe/caf/util/ref/ReferencedData.java
public static ReferencedData getWrappedData(final String ref, final byte[] data)
    {
        return new ReferencedData(Objects.requireNonNull(ref), data);
    }
public static ReferencedData getWrappedData(final String ref, final byte[] data)
    {
        return new ReferencedData(Objects.requireNonNull(ref), data);
    }
public static ReferencedData getWrappedData ( final String ref , final byte [ ] data ) { return new ReferencedData ( Objects . requireNonNull ( ref ) , data ) ; }
Create a ReferencedData instance that wraps data but also has a reference.

@param ref the reference to be interpreted by the DataStore
@param data the raw data to wrapper, also accessible via the supplied reference
@return a new ReferencedData instance that wraps and references the data supplied
Create a ReferencedData instance that wraps data but also has a reference .