|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.common.BaseEntity com.hack23.cia.model.impl.common.AbstractResource com.hack23.cia.model.impl.application.common.AbstractApplicationResource com.hack23.cia.model.impl.application.common.ImageContent
@Entity public class ImageContent
The Class ImageContent.
Constructor Summary | |
---|---|
ImageContent()
Instantiates a new image content. |
Method Summary | |
---|---|
protected TypeContext |
getApplicationTypeContext()
Gets the application group specification. |
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.impl.common.AbstractResource |
---|
getId, getResourceType, getVersion, setId, setResourceType, setVersion |
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity |
---|
equals, getTypeContext, 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.api.common.Resource |
---|
getResourceType |
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject |
---|
getId, getTypeContext, getVersion, isNew, setId, setVersion |
Constructor Detail |
---|
public ImageContent()
Method Detail |
---|
public String getFileName()
BinaryContent
getFileName
in interface BinaryContent
public byte[] getImageContent()
BinaryContent
getImageContent
in interface BinaryContent
public String getMimetype()
BinaryContent
getMimetype
in interface BinaryContent
public void setFileName(String fileName)
BinaryContent
setFileName
in interface BinaryContent
fileName
- the new file namepublic void setImageContent(byte[] imageContent)
BinaryContent
setImageContent
in interface BinaryContent
imageContent
- the new image contentpublic void setMimetype(String mimetype)
BinaryContent
setMimetype
in interface BinaryContent
mimetype
- the new mimetypepublic String toString()
toString
in class Object
protected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |