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
ConstructorsConstructorDescriptionImmutableNormalizedMountPoint
(@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 aImmutableNormalizedMountPoint
record class. -
Method Summary
Modifier and TypeMethodDescription@NonNull org.opendaylight.yangtools.yang.data.api.schema.MountPointContext
context()
Returns the value of thecontext
record component.@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode
data()
Returns the value of thedata
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@NonNull MountPointLabel
label()
Returns the value of thelabel
record component.@Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMetadata
metadata()
Returns the value of themetadata
record component.@Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountpoints
Returns the value of themountPoints
record component.final String
toString()
Returns a string representation of this record class.
-
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 aImmutableNormalizedMountPoint
record class.- Parameters:
label
- the value for thelabel
record componentcontext
- the value for thecontext
record componentdata
- the value for thedata
record componentmetadata
- the value for themetadata
record componentmountPoints
- the value for themountPoints
record component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
. -
label
Returns the value of thelabel
record component.- Specified by:
label
in interfaceorg.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 thecontext
record component.- Specified by:
context
in interfaceorg.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 thedata
record component.- Specified by:
data
in interfaceorg.opendaylight.yangtools.yang.data.api.schema.NormalizedMountPoint
- Specified by:
data
in interfaceorg.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 themetadata
record component.- Specified by:
metadata
in interfaceorg.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 themountPoints
record component.- Specified by:
mountPoints
in interfaceorg.opendaylight.yangtools.yang.data.api.schema.NormalizedTuple
- Returns:
- the value of the
mountPoints
record component
-