package io.oasp.gastronomy.restaurant.general.common.api; /** * This is the interface for a {@link BinaryObject} of the restaurant. * */ public interface BinaryObject extends ApplicationEntity { /** * @param mimeType is the MIME-Type of this {@link BinaryObject} */ void setMimeType(String mimeType); /** * Returns MIME-Type of thie {@link BinaryObject} * * @return the MIME-Type, e.g image/jpeg */ String getMimeType(); /** * @return Returns the size in bytes */ long getSize(); /** * Sets the size of bytes * * @param size the size in bytes */ void setSize(long size); }