Class Uint64.Support
java.lang.Object
org.opendaylight.yangtools.yang.common.AbstractCanonicalValueSupport<Uint64>
org.opendaylight.yangtools.yang.common.Uint64.Support
- All Implemented Interfaces:
Immutable,CanonicalValueSupport<Uint64>,CanonicalValueValidator<Uint64,Uint64>
- Enclosing class:
- Uint64
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String str) Create a instance for a string representation.Methods inherited from class org.opendaylight.yangtools.yang.common.AbstractCanonicalValueSupport
getRepresentationClass, getValidatedRepresentationClass, validateRepresentation, validateRepresentationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.yangtools.yang.common.CanonicalValueSupport
fromCanonicalString, unsafe
-
Constructor Details
-
Support
public Support()
-
-
Method Details
-
fromString
Description copied from interface:CanonicalValueSupportCreate 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
CanonicalValueinstance or CanonicalValueViolation ifstrdoes not conform
-