@MappedSuperclass public class Attachment extends Object
public Attachment()
public Attachment(File file) throws IOException
IOExceptionpublic Long getId()
public void setId(Long id)
id - the id to setpublic String getName()
public void setName(String name)
name - the name to setpublic byte[] getData()
public void setData(byte[] data)
data - the data to setCopyright © 2014 JDAL. All Rights Reserved.