Record Class ImmutableNormalizedMountPoint

java.lang.Object
java.lang.Record
org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNormalizedMountPoint
All Implemented Interfaces:
Immutable, org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountPoint, org.opendaylight.yangtools.yang.data.api.schema.NormalizedTuple

public record ImmutableNormalizedMountPoint(@NonNull MountPointLabel label, @NonNull org.opendaylight.yangtools.yang.data.api.schema.MountPointContext context, @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data, @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMetadata metadata, @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountpoints mountPoints) extends Record implements org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountPoint
An immutable NormalizedMountPoint.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImmutableNormalizedMountPoint(@NonNull MountPointLabel label, @NonNull org.opendaylight.yangtools.yang.data.api.schema.MountPointContext context, @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data, @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMetadata metadata, @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountpoints mountPoints)
    Creates an instance of a ImmutableNormalizedMountPoint record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull org.opendaylight.yangtools.yang.data.api.schema.MountPointContext
    Returns the value of the context record component.
    @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode
    Returns the value of the data record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the label record component.
    @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMetadata
    Returns the value of the metadata record component.
    @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountpoints
    Returns the value of the mountPoints record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ImmutableNormalizedMountPoint

      public ImmutableNormalizedMountPoint(@NonNull MountPointLabel label, @NonNull org.opendaylight.yangtools.yang.data.api.schema.MountPointContext context, @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data, @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMetadata metadata, @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountpoints mountPoints)
      Creates an instance of a ImmutableNormalizedMountPoint record class.
      Parameters:
      label - the value for the label record component
      context - the value for the context record component
      data - the value for the data record component
      metadata - the value for the metadata record component
      mountPoints - the value for the mountPoints record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • label

      public @NonNull MountPointLabel label()
      Returns the value of the label record component.
      Specified by:
      label in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountPoint
      Returns:
      the value of the label record component
    • context

      public @NonNull org.opendaylight.yangtools.yang.data.api.schema.MountPointContext context()
      Returns the value of the context record component.
      Specified by:
      context in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountPoint
      Returns:
      the value of the context record component
    • data

      public @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data()
      Returns the value of the data record component.
      Specified by:
      data in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountPoint
      Specified by:
      data in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedTuple
      Returns:
      the value of the data record component
    • metadata

      public @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMetadata metadata()
      Returns the value of the metadata record component.
      Specified by:
      metadata in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedTuple
      Returns:
      the value of the metadata record component
    • mountPoints

      public @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountpoints mountPoints()
      Returns the value of the mountPoints record component.
      Specified by:
      mountPoints in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedTuple
      Returns:
      the value of the mountPoints record component