Class Percentage

  • All Implemented Interfaces:
    Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject

    public class Percentage
    extends Object
    implements org.opendaylight.yangtools.yang.binding.TypeObject, Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Percentage

        @Deprecated(forRemoval=true)
        public Percentage​(Short _value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use {#link Percentage(Uint8)} instead.
        Utility migration constructor.
        Parameters:
        _value - value in legacy Java type
      • Percentage

        public Percentage​(Percentage source)
        Creates a copy from Source Object.
        Parameters:
        source - Source object
    • Method Detail

      • getDefaultInstance

        public static Percentage getDefaultInstance​(String defaultValue)
      • getValue

        public org.opendaylight.yangtools.yang.common.Uint8 getValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object