Class Decimal64.Support

All Implemented Interfaces:
Immutable, CanonicalValueSupport<Decimal64>, CanonicalValueValidator<Decimal64,Decimal64>
Enclosing class:
Decimal64

public static final class Decimal64.Support extends AbstractCanonicalValueSupport<Decimal64>
  • Constructor Details

    • Support

      public Support()
  • Method Details

    • fromString

      public Either<Decimal64,CanonicalValueViolation> fromString(String str)
      Description copied from interface: CanonicalValueSupport
      Create a instance for a string representation. Implementations of this method are required to perform checks equivalent to the YANG data model restrictions attached to the corresponding YANG type. Non-canonical format strings must be accepted and result in objects equal to objects obtained from the corresponding canonical format.
      Parameters:
      str - String representation
      Returns:
      A CanonicalValue instance or CanonicalValueViolation if str does not conform