Class Decimal64.Support
java.lang.Object
org.opendaylight.yangtools.yang.common.AbstractCanonicalValueSupport<Decimal64>
org.opendaylight.yangtools.yang.common.Decimal64.Support
- All Implemented Interfaces:
Immutable
,CanonicalValueSupport<Decimal64>
,CanonicalValueValidator<Decimal64,
Decimal64>
- Enclosing class:
- Decimal64
-
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, 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
-
Constructor Details
-
Support
public Support()
-
-
Method Details
-
fromString
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
-