Class MediaType


  • public final class MediaType
    extends com.orchestranetworks.addon.common.schema.media.CommonMediaType
    Defines a java bean for the 'Media Type' field.

    The example in com.orchestranetworks.addon.dama shows how to use this Java bean.

    Since:
    1.2.1
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttachment()
      Gets the attached asset's UUID.
      void setAttachment​(java.lang.String attachment)
      Sets the attached asset's UUID.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MediaType

        public MediaType()
    • Method Detail

      • getAttachment

        public java.lang.String getAttachment()
        Gets the attached asset's UUID.
        Overrides:
        getAttachment in class com.orchestranetworks.addon.common.schema.media.CommonMediaType
      • setAttachment

        public void setAttachment​(java.lang.String attachment)
        Sets the attached asset's UUID.
        Overrides:
        setAttachment in class com.orchestranetworks.addon.common.schema.media.CommonMediaType
        Parameters:
        attachment - the attached asset's new UUID