|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.common.impl.BaseEntity com.hack23.cia.model.common.impl.AbstractResource com.hack23.cia.model.application.impl.common.AbstractApplicationResource com.hack23.cia.model.application.impl.common.ImageContent
@Entity public class ImageContent
The Class ImageContent.
Constructor Summary | |
---|---|
ImageContent()
Instantiates a new image content. |
Method Summary | |
---|---|
String |
getFileName()
Gets the file name. |
byte[] |
getImageContent()
Gets the image content. |
String |
getMimetype()
Gets the mimetype. |
void |
setFileName(String fileName)
Sets the file name. |
void |
setImageContent(byte[] imageContent)
Sets the image content. |
void |
setMimetype(String mimetype)
Sets the mimetype. |
String |
toString()
|
Methods inherited from class com.hack23.cia.model.common.impl.AbstractResource |
---|
getId, getResourceType, getVersion, setId, setResourceType, setVersion |
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
---|
equals, hashCode, isNew |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hack23.cia.model.common.api.Resource |
---|
getResourceType, setResourceType |
Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject |
---|
getId, getVersion, isNew, setId, setVersion |
Constructor Detail |
---|
public ImageContent()
Method Detail |
---|
public String getFileName()
public byte[] getImageContent()
public String getMimetype()
public void setFileName(String fileName)
fileName
- the new file namepublic void setImageContent(byte[] imageContent)
imageContent
- the new image contentpublic void setMimetype(String mimetype)
mimetype
- the new mimetypepublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |