public class AbstractMediaModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
DATAPK
Generated constant - Attribute key of
AbstractMedia.dataPK attribute defined at extension core. |
static String |
LOCATION
Generated constant - Attribute key of
AbstractMedia.location attribute defined at extension core. |
static String |
LOCATIONHASH
Generated constant - Attribute key of
AbstractMedia.locationHash attribute defined at extension core. |
static String |
MIME
Generated constant - Attribute key of
AbstractMedia.mime attribute defined at extension core. |
static String |
REALFILENAME
Generated constant - Attribute key of
AbstractMedia.realFileName attribute defined at extension core. |
static String |
SIZE
Generated constant - Attribute key of
AbstractMedia.size attribute defined at extension core. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractMediaModel()
Generated constructor - Default constructor for generic creation.
|
AbstractMediaModel(ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractMediaModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getDataPK()
Generated method - Getter of the
AbstractMedia.dataPK attribute defined at extension core. |
String |
getLocation()
Generated method - Getter of the
AbstractMedia.location attribute defined at extension core. |
String |
getLocationHash()
Generated method - Getter of the
AbstractMedia.locationHash attribute defined at extension core. |
String |
getMime()
Generated method - Getter of the
AbstractMedia.mime attribute defined at extension core. |
String |
getRealfilename()
Deprecated.
use
getRealFileName() instead |
String |
getRealFileName()
Generated method - Getter of the
AbstractMedia.realFileName attribute defined at extension core. |
Long |
getSize()
Generated method - Getter of the
AbstractMedia.size attribute defined at extension core. |
void |
setDataPK(Long value)
Generated method - Setter of
AbstractMedia.dataPK attribute defined at extension core. |
void |
setLocation(String value)
Generated method - Setter of
AbstractMedia.location attribute defined at extension core. |
void |
setLocationHash(String value)
Generated method - Setter of
AbstractMedia.locationHash attribute defined at extension core. |
void |
setMime(String value)
Generated method - Setter of
AbstractMedia.mime attribute defined at extension core. |
void |
setRealfilename(String value)
Deprecated.
use
setRealFileName(java.lang.String) instead |
void |
setRealFileName(String value)
Generated method - Setter of
AbstractMedia.realFileName attribute defined at extension core. |
void |
setSize(Long value)
Generated method - Setter of
AbstractMedia.size attribute defined at extension core. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final String _TYPECODE
public static final String MIME
AbstractMedia.mime attribute defined at extension core.public static final String SIZE
AbstractMedia.size attribute defined at extension core.public static final String DATAPK
AbstractMedia.dataPK attribute defined at extension core.public static final String LOCATION
AbstractMedia.location attribute defined at extension core.public static final String LOCATIONHASH
AbstractMedia.locationHash attribute defined at extension core.public static final String REALFILENAME
AbstractMedia.realFileName attribute defined at extension core.public AbstractMediaModel()
public AbstractMediaModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractMediaModel(ItemModel _owner)
_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="dataPK", type=GETTER) public Long getDataPK()
AbstractMedia.dataPK attribute defined at extension core.@Accessor(qualifier="location", type=GETTER) public String getLocation()
AbstractMedia.location attribute defined at extension core.@Accessor(qualifier="locationHash", type=GETTER) public String getLocationHash()
AbstractMedia.locationHash attribute defined at extension core.@Accessor(qualifier="mime", type=GETTER) public String getMime()
AbstractMedia.mime attribute defined at extension core.@Deprecated public String getRealfilename()
getRealFileName() insteadAbstractMedia.realFileName attribute defined at extension core.@Accessor(qualifier="realFileName", type=GETTER) public String getRealFileName()
AbstractMedia.realFileName attribute defined at extension core.@Accessor(qualifier="size", type=GETTER) public Long getSize()
AbstractMedia.size attribute defined at extension core.@Accessor(qualifier="dataPK", type=SETTER) public void setDataPK(Long value)
AbstractMedia.dataPK attribute defined at extension core.value - the dataPK - PK of the referenced data file.@Accessor(qualifier="location", type=SETTER) public void setLocation(String value)
AbstractMedia.location attribute defined at extension core.value - the location - Generated location (by one of Storage Strategies) to media within storage.@Accessor(qualifier="locationHash", type=SETTER) public void setLocationHash(String value)
AbstractMedia.locationHash attribute defined at extension core.value - the locationHash - Computed hash of folder qualifier and location@Accessor(qualifier="mime", type=SETTER) public void setMime(String value)
AbstractMedia.mime attribute defined at extension core.value - the mime - Mime type of referenced data file.@Deprecated public void setRealfilename(String value)
setRealFileName(java.lang.String) insteadAbstractMedia.realFileName attribute defined at extension core.value - the realFileName@Accessor(qualifier="realFileName", type=SETTER) public void setRealFileName(String value)
AbstractMedia.realFileName attribute defined at extension core.value - the realFileNameCopyright © 2017 SAP SE. All Rights Reserved.