Module tvbrowser
Package devplugin

Class UniqueIdNameGenericValue<T>

  • Type Parameters:
    T - The type of the stored data value.
    Direct Known Subclasses:
    ProgramInfo

    public class UniqueIdNameGenericValue<T>
    extends java.lang.Object
    A class with unique ID, a name and a generic value to store.

    Since:
    3.4.4
    Author:
    René Mach
    • Constructor Summary

      Constructors 
      Constructor Description
      UniqueIdNameGenericValue​(java.lang.String uniqueId, java.lang.String name, T value)  
    • Constructor Detail

      • UniqueIdNameGenericValue

        public UniqueIdNameGenericValue​(java.lang.String uniqueId,
                                        java.lang.String name,
                                        T value)
                                 throws java.lang.NullPointerException
        Throws:
        java.lang.NullPointerException
    • Method Detail

      • getUniqueId

        public java.lang.String getUniqueId()
      • getName

        public java.lang.String getName()
      • getValue

        public T getValue()
      • setValue

        protected void setValue​(T value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object