This method has been deprecated for removal, remove it now.
JIRA: YANGTOOLS-1559
Change-Id: Ia8f839c0daa60fc64ce20084833f3516869b02a8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
permits ChoiceNode, ContainerNode, ForeignDataNode, LeafNode, LeafSetNode, MapNode, UnkeyedListNode {
@Override
NodeIdentifier name();
-
- @Override
- @Deprecated(since = "11.0.0", forRemoval = true)
- default NodeIdentifier getIdentifier() {
- return name();
- }
}
*/
@Override
NodeWithValue<T> name();
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * <b>Implementation note</b>
- * Invocation of {@link NodeWithValue#getValue()} on returned instance of {@link NodeWithValue} must return the
- * same value as invocation of {@code #body()}, such as following condition is always met:
- * {@code true == this.getIdentifier().getValue().equals(this.body())}.
- */
- @Override
- @Deprecated(since = "11.0.0", forRemoval = true)
- default NodeWithValue<T> getIdentifier() {
- return name();
- }
}
*/
@Override
NodeIdentifierWithPredicates name();
-
- /**
- * Returns identifier of this node in parent map node
- *
- * <p>
- * Contents of identifier is defined by <code>key</code> (
- * {@link org.opendaylight.yangtools.yang.model.api.ListSchemaNode#getKeyDefinition()}
- * ) statement in YANG schema for associated list item and child {@link LeafNode}s
- * values with {@link NodeIdentifier} as defined in the schema.
- *
- * @return identifier of this node in the context of parent node
- */
- @Override
- @Deprecated(since = "11.0.0", forRemoval = true)
- default NodeIdentifierWithPredicates getIdentifier() {
- return name();
- }
}
*/
package org.opendaylight.yangtools.yang.data.api.schema;
-import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.concepts.PrettyTreeAware;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
@Override
PathArgument name();
-
- /**
- * Return the name of this node.
- *
- * @return Name of this node.
- * @deprecated Use {@link #name()} instead.
- */
- @Deprecated(since = "11.0.0", forRemoval = true)
- default @NonNull PathArgument getIdentifier() {
- return name();
- }
}
@Override
NodeIdentifier name();
-
- @Override
- @Deprecated(since = "11.0.0", forRemoval = true)
- default NodeIdentifier getIdentifier() {
- return name();
- }
}