Class Enclosure


  • public class Enclosure
    extends java.lang.Object
    Class representing the Enclosure.
    • Constructor Summary

      Constructors 
      Constructor Description
      Enclosure()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.Optional<java.lang.Long> getLength()
      Get the length of enclosure.
      java.lang.String getType()
      Get the type of enclosure.
      java.lang.String getUrl()
      Get the url of enclosure.
      int hashCode()  
      void setLength​(java.lang.Long length)  
      void setType​(java.lang.String type)  
      void setUrl​(java.lang.String url)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Enclosure

        public Enclosure()
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Get the url of enclosure.
        Returns:
        url
      • setUrl

        public void setUrl​(java.lang.String url)
      • getType

        public java.lang.String getType()
        Get the type of enclosure.
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
      • getLength

        public java.util.Optional<java.lang.Long> getLength()
        Get the length of enclosure.
        Returns:
        length
      • setLength

        public void setLength​(java.lang.Long length)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object