Class EncodingProfileImpl.Extension

java.lang.Object
org.opencastproject.composer.api.EncodingProfileImpl.Extension
Enclosing class:
EncodingProfileImpl

public static class EncodingProfileImpl.Extension extends Object
An extension property. To read about why this class is necessary, see http://java.net/jira/browse/JAXB-223
  • Constructor Details

    • Extension

      public Extension()
      No-arg constructor needed by JAXB
    • Extension

      public Extension(String key, String value)
      Constructs an extension property with a key and a value.
      Parameters:
      key - the key
      value - the value
    • Extension

      public Extension(Map.Entry<String,String> e)
      Constructs an extension property with a map entry.
      Parameters:
      e - the value
  • Method Details

    • getKey

      public String getKey()
      Returns:
      the key
    • getValue

      public String getValue()
      Returns:
      the value
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object