Class Uint64.Support
- java.lang.Object
-
- org.opendaylight.yangtools.yang.common.AbstractCanonicalValueSupport<Uint64>
-
- org.opendaylight.yangtools.yang.common.Uint64.Support
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,CanonicalValueSupport<Uint64>
,CanonicalValueValidator<Uint64,Uint64>
- Enclosing class:
- Uint64
public static final class Uint64.Support extends AbstractCanonicalValueSupport<Uint64>
-
-
Constructor Summary
Constructors Constructor Description Support()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Either<Uint64,CanonicalValueViolation>
fromString(String str)
Create a instance for a string representation.-
Methods inherited from class org.opendaylight.yangtools.yang.common.AbstractCanonicalValueSupport
getRepresentationClass, getValidatedRepresentationClass, validateRepresentation, validateRepresentation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.common.CanonicalValueSupport
fromCanonicalString, unsafe
-
-
-
-
Method Detail
-
fromString
public Either<Uint64,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 ifstr
does not conform
-
-