Class PlatformComponentPropertiesConfig.Value

java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.platform.rev210118.PlatformComponentPropertiesConfig.Value
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject, org.opendaylight.yangtools.yang.binding.UnionTypeObject
Enclosing interface:
PlatformComponentPropertiesConfig

public static final class PlatformComponentPropertiesConfig.Value extends Object implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable

This class represents the following YANG schema fragment defined in module openconfig-platform

 leaf value {
   type union {
     type string;
     type boolean;
     type int64;
     type uint64;
     type decimal64 {
       fraction-digits 2;
     }
   }
 }
 
See Also:
  • Constructor Details

    • Value

      public Value(String _string)
    • Value

      public Value(Boolean _boolean)
    • Value

      public Value(Long _int64)
    • Value

      public Value(org.opendaylight.yangtools.yang.common.Uint64 _uint64)
    • Value

      public Value(org.opendaylight.yangtools.yang.common.Decimal64 _decimal64)
    • Value

      Creates a copy from Source Object.
      Parameters:
      source - Source object
  • Method Details

    • stringValue

      public String stringValue()
      Return a String representing the value of this union.
      Returns:
      String representation of this union's value.
    • getString

      public String getString()
    • getBoolean

      public Boolean getBoolean()
    • getInt64

      public Long getInt64()
    • getUint64

      public org.opendaylight.yangtools.yang.common.Uint64 getUint64()
    • getDecimal64

      public org.opendaylight.yangtools.yang.common.Decimal64 getDecimal64()
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object