import org.opendaylight.yangtools.yang.binding.Identifiable;
import org.opendaylight.yangtools.yang.binding.Identifier;
import org.opendaylight.yangtools.yang.binding.TypeObject;
+import org.opendaylight.yangtools.yang.common.Decimal64;
import org.opendaylight.yangtools.yang.common.Empty;
import org.opendaylight.yangtools.yang.common.Uint16;
import org.opendaylight.yangtools.yang.common.Uint32;
*/
@NonNull ValueMatchBuilder<O, Boolean> leaf(BooleanLeafReference<T> methodRef);
+ /**
+ * Match an {@code decimal64} leaf's value.
+ *
+ * @param methodRef method reference to the getter method
+ * @return A {@link ValueMatchBuilder}
+ * @throws NullPointerException if methodRef is null
+ */
+ @NonNull ComparableMatchBuilder<O, Decimal64> leaf(Decimal64LeafReference<T> methodRef);
+
/**
* Match an {@code empty} leaf's value.
*
* @param <C> Child type
*/
@FunctionalInterface
- public interface LeafReference<P, C> extends Serializable {
+ interface LeafReference<P, C> extends Serializable {
/**
* Dummy method to express the method signature of a typical getter. Due to this match we can match any Java
* method reference which takes in {@code parent} and results in {@code child} -- expose the feature of using
}
@FunctionalInterface
- public interface BooleanLeafReference<P> extends LeafReference<P, Boolean> {
+ interface BooleanLeafReference<P> extends LeafReference<P, Boolean> {
+
+ }
+
+ @FunctionalInterface
+ interface Decimal64LeafReference<P> extends LeafReference<P, Decimal64> {
}
@FunctionalInterface
- public interface EmptyLeafReference<P> extends LeafReference<P, Empty> {
+ interface EmptyLeafReference<P> extends LeafReference<P, Empty> {
}
@FunctionalInterface
- public interface StringLeafReference<P> extends LeafReference<P, String> {
+ interface StringLeafReference<P> extends LeafReference<P, String> {
}
@FunctionalInterface
- public interface Int8LeafReference<P> extends LeafReference<P, Byte> {
+ interface Int8LeafReference<P> extends LeafReference<P, Byte> {
}
@FunctionalInterface
- public interface Int16LeafReference<P> extends LeafReference<P, Short> {
+ interface Int16LeafReference<P> extends LeafReference<P, Short> {
}
@FunctionalInterface
- public interface Int32LeafReference<P> extends LeafReference<P, Integer> {
+ interface Int32LeafReference<P> extends LeafReference<P, Integer> {
}
@FunctionalInterface
- public interface Int64LeafReference<P> extends LeafReference<P, Long> {
+ interface Int64LeafReference<P> extends LeafReference<P, Long> {
}
@FunctionalInterface
- public interface Uint8LeafReference<P> extends LeafReference<P, Uint8> {
+ interface Uint8LeafReference<P> extends LeafReference<P, Uint8> {
}
@FunctionalInterface
- public interface Uint16LeafReference<P> extends LeafReference<P, Uint16> {
+ interface Uint16LeafReference<P> extends LeafReference<P, Uint16> {
}
@FunctionalInterface
- public interface Uint32LeafReference<P> extends LeafReference<P, Uint32> {
+ interface Uint32LeafReference<P> extends LeafReference<P, Uint32> {
}
@FunctionalInterface
- public interface Uint64LeafReference<P> extends LeafReference<P, Uint64> {
+ interface Uint64LeafReference<P> extends LeafReference<P, Uint64> {
}
@FunctionalInterface
- public interface IdentityLeafReference<P, T extends BaseIdentity> extends LeafReference<P, T> {
+ interface IdentityLeafReference<P, T extends BaseIdentity> extends LeafReference<P, T> {
}
@FunctionalInterface
- public interface TypeObjectLeafReference<P, T extends TypeObject> extends LeafReference<P, T> {
+ interface TypeObjectLeafReference<P, T extends TypeObject> extends LeafReference<P, T> {
}
}