Class AbstractMediaModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DerivedMediaModel, MediaModel

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

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • MIME

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

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

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

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

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

        public static final java.lang.String REALFILENAME
        Generated constant - Attribute key of AbstractMedia.realFileName attribute defined at extension core.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 Detail

      • getDataPK

        @Accessor(qualifier="dataPK",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getRealFileName()
        Generated method - Getter of the AbstractMedia.realFileName attribute defined at extension core.
        Returns:
        the realFileName
      • getSize

        @Accessor(qualifier="size",
                  type=GETTER)
        public java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.Long value)
        Generated method - Setter of AbstractMedia.size attribute defined at extension core.
        Parameters:
        value - the size - Size of referenced data file.