|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcom.hack23.cia.model.impl.common.BaseEntity
com.hack23.cia.model.impl.common.AbstractResource
com.hack23.cia.model.impl.application.content.AbstractApplicationResource
com.hack23.cia.model.impl.application.content.ImageContent
@Entity public class ImageContent extends AbstractApplicationResource implements BinaryContent
The Class ImageContent.
| Constructor and Description |
|---|
ImageContent()
Instantiates a new image content. |
| Modifier and Type | Method and Description |
|---|---|
protected TypeContext |
getApplicationTypeContext()
Gets the application type context. |
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()
To string. |
| 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 |
|---|
protected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext in class BaseEntitypublic String getFileName()
BinaryContent
getFileName in interface BinaryContentpublic byte[] getImageContent()
BinaryContent
getImageContent in interface BinaryContentpublic String getMimetype()
BinaryContent
getMimetype in interface BinaryContentpublic void setFileName(String fileName)
BinaryContent
setFileName in interface BinaryContentfileName - the new file namepublic void setImageContent(byte[] imageContent)
BinaryContent
setImageContent in interface BinaryContentimageContent - the new image contentpublic void setMimetype(String mimetype)
BinaryContent
setMimetype in interface BinaryContentmimetype - 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 | |||||||||