Record Class LegacyAugmentationIdentifier
java.lang.Object
java.lang.Record
org.opendaylight.yangtools.yang.data.codec.binfmt.LegacyAugmentationIdentifier
- All Implemented Interfaces:
LegacyPathArgument
@Deprecated(since="11.0.0")
public record LegacyAugmentationIdentifier(@NonNull ImmutableSet<QName> childNames)
extends Record
implements LegacyPathArgument
Deprecated.
Representation of legacy
yang.data.api.YangInstanceIdentifier.AugmentationIdentifier
.-
Constructor Summary
ConstructorDescriptionLegacyAugmentationIdentifier
(@NonNull ImmutableSet<QName> childNames) Deprecated.Creates an instance of aLegacyAugmentationIdentifier
record class. -
Method Summary
Modifier and TypeMethodDescription@NonNull ImmutableSet<QName>
Deprecated.Returns the value of thechildNames
record component.final boolean
Deprecated.Indicates whether some other object is "equal to" this one.final int
hashCode()
Deprecated.Returns a hash code value for this object.final String
toString()
Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
LegacyAugmentationIdentifier
Deprecated.Creates an instance of aLegacyAugmentationIdentifier
record class.- Parameters:
childNames
- the value for thechildNames
record component
-
-
Method Details
-
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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)
. -
childNames
Deprecated.Returns the value of thechildNames
record component.- Returns:
- the value of the
childNames
record component
-