Class AbstractMediaModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DerivedMediaModel, MediaModel

public class AbstractMediaModel extends ItemModel
Generated model class for type AbstractMedia first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • MIME

      public static final String MIME
      Generated constant - Attribute key of AbstractMedia.mime attribute defined at extension core.
      See Also:
    • SIZE

      public static final String SIZE
      Generated constant - Attribute key of AbstractMedia.size attribute defined at extension core.
      See Also:
    • DATAPK

      public static final String DATAPK
      Generated constant - Attribute key of AbstractMedia.dataPK attribute defined at extension core.
      See Also:
    • LOCATION

      public static final String LOCATION
      Generated constant - Attribute key of AbstractMedia.location attribute defined at extension core.
      See Also:
    • LOCATIONHASH

      public static final String LOCATIONHASH
      Generated constant - Attribute key of AbstractMedia.locationHash attribute defined at extension core.
      See Also:
    • REALFILENAME

      public static final String REALFILENAME
      Generated constant - Attribute key of AbstractMedia.realFileName attribute defined at extension core.
      See Also:
  • Constructor Details

    • AbstractMediaModel

      public AbstractMediaModel()
      Generated constructor - Default constructor for generic creation.
    • AbstractMediaModel

      public AbstractMediaModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • AbstractMediaModel

      @Deprecated(since="4.1.1", forRemoval=true) public AbstractMediaModel(ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getDataPK

      @Accessor(qualifier="dataPK", type=GETTER) public Long getDataPK()
      Generated method - Getter of the AbstractMedia.dataPK attribute defined at extension core.
      Returns:
      the dataPK - PK of the referenced data file.
    • getLocation

      @Accessor(qualifier="location", type=GETTER) public String getLocation()
      Generated method - Getter of the AbstractMedia.location attribute defined at extension core.
      Returns:
      the location - Generated location (by one of Storage Strategies) to media within storage.
    • getLocationHash

      @Accessor(qualifier="locationHash", type=GETTER) public String getLocationHash()
      Generated method - Getter of the AbstractMedia.locationHash attribute defined at extension core.
      Returns:
      the locationHash - Computed hash of folder qualifier and location
    • getMime

      @Accessor(qualifier="mime", type=GETTER) public String getMime()
      Generated method - Getter of the AbstractMedia.mime attribute defined at extension core.
      Returns:
      the mime - Mime type of referenced data file.
    • getRealfilename

      @Deprecated(since="ages", forRemoval=true) public String getRealfilename()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages - use { @link #getRealFileName()} instead
      Generated method - Getter of the AbstractMedia.realFileName attribute defined at extension core.
      Returns:
      the realFileName
    • getRealFileName

      @Accessor(qualifier="realFileName", type=GETTER) public String getRealFileName()
      Generated method - Getter of the AbstractMedia.realFileName attribute defined at extension core.
      Returns:
      the realFileName
    • getSize

      @Accessor(qualifier="size", type=GETTER) public Long getSize()
      Generated method - Getter of the AbstractMedia.size attribute defined at extension core.
      Returns:
      the size - Size of referenced data file.
    • setDataPK

      @Accessor(qualifier="dataPK", type=SETTER) public void setDataPK(Long value)
      Generated method - Setter of AbstractMedia.dataPK attribute defined at extension core.
      Parameters:
      value - the dataPK - PK of the referenced data file.
    • setLocation

      @Accessor(qualifier="location", type=SETTER) public void setLocation(String value)
      Generated method - Setter of AbstractMedia.location attribute defined at extension core.
      Parameters:
      value - the location - Generated location (by one of Storage Strategies) to media within storage.
    • setLocationHash

      @Accessor(qualifier="locationHash", type=SETTER) public void setLocationHash(String value)
      Generated method - Setter of AbstractMedia.locationHash attribute defined at extension core.
      Parameters:
      value - the locationHash - Computed hash of folder qualifier and location
    • setMime

      @Accessor(qualifier="mime", type=SETTER) public void setMime(String value)
      Generated method - Setter of AbstractMedia.mime attribute defined at extension core.
      Parameters:
      value - the mime - Mime type of referenced data file.
    • setRealfilename

      @Deprecated(since="ages", forRemoval=true) public void setRealfilename(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages - use { @link #setRealFileName(java.lang.String)} instead
      Generated method - Setter of AbstractMedia.realFileName attribute defined at extension core.
      Parameters:
      value - the realFileName
    • setRealFileName

      @Accessor(qualifier="realFileName", type=SETTER) public void setRealFileName(String value)
      Generated method - Setter of AbstractMedia.realFileName attribute defined at extension core.
      Parameters:
      value - the realFileName
    • setSize

      @Accessor(qualifier="size", type=SETTER) public void setSize(Long value)
      Generated method - Setter of AbstractMedia.size attribute defined at extension core.
      Parameters:
      value - the size - Size of referenced data file.