Interface AttributeCompareOperators

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    AsPathLength, CommunityCount

    public interface AttributeCompareOperators
    extends org.opendaylight.yangtools.yang.binding.DataObject
    common definitions for comparison operations in condition statements

    This class represents the following YANG schema fragment defined in module openconfig-policy-types

     grouping attribute-compare-operators {
       leaf operator {
         type identityref {
           base attribute-comparison;
         }
       }
       leaf value {
         type uint32;
       }
     }
     
    The schema path to identify an instance is openconfig-policy-types/attribute-compare-operators
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends AttributeCompareOperators> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getOperator

        @Nullable Class<? extends AttributeComparison> getOperator()
        type of comparison to be performed
        Returns:
        java.lang.Class operator, or null if not present
      • getValue

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getValue()
        value to compare with the community count
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 value, or null if not present