Interface ClassBasedPropertyBuilder<P,​T extends ClassBasedPropertyBuilder<P,​T>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <V> V get​(Class<V> type)
      Gets a value of property based on its type.
      <V> T set​(Class<V> type, V value)
      Sets a value of property uniquely identified by its class.
      • Methods inherited from interface org.opendaylight.yangtools.concepts.Builder

        build
    • Method Detail

      • set

        <V> T set​(Class<V> type,
                  V value)
        Sets a value of property uniquely identified by its class.
        Type Parameters:
        V - value type
        Parameters:
        type - Type of property to set
        value - Value of property
        Returns:
        Builder instance
      • get

        <V> V get​(Class<V> type)
        Gets a value of property based on its type.
        Type Parameters:
        V - value type
        Parameters:
        type - Type of property to get
        Returns:
        Builder instance