Class ArgumentDefinition
java.lang.Object
org.opendaylight.yangtools.yang.model.api.meta.ArgumentDefinition
- All Implemented Interfaces:
Immutable
Definition of an argument to a YANG statement.
-
Method Summary
Modifier and TypeMethodDescriptionfinal @NonNull QName
final boolean
final int
hashCode()
abstract boolean
Returns true, if argument of statement is represented as value of YIN element.static @NonNull ArgumentDefinition
static @NonNull Optional<ArgumentDefinition>
ofNullable
(@Nullable QName argumentName, boolean yinElement) final String
toString()
-
Method Details
-
of
-
ofNullable
public static @NonNull Optional<ArgumentDefinition> ofNullable(@Nullable QName argumentName, boolean yinElement) -
argumentName
-
isYinElement
public abstract boolean isYinElement()Returns true, if argument of statement is represented as value of YIN element. If argument of statement is represented as argument of YIN element, returns false.- Returns:
- returns true, if statement argument is represented as value of YIN element, otherwise returns false.
-
hashCode
public final int hashCode() -
equals
-
toString
-