Class AbstractRefStatement<A,D extends DeclaredStatement<A>>
java.lang.Object
com.google.common.collect.ForwardingObject
org.opendaylight.yangtools.yang.model.spi.meta.ForwardingDeclaredStatement<A,D>
org.opendaylight.yangtools.yang.model.spi.meta.AbstractRefStatement<A,D>
- Type Parameters:
A- Argument type (Emptyif statement does not have argument.)D- Class representing declared version of this statement.
- All Implemented Interfaces:
Delegator<D>,DeclaredStatement<A>,ModelStatement<A>
public abstract class AbstractRefStatement<A,D extends DeclaredStatement<A>>
extends ForwardingDeclaredStatement<A,D>
implements Delegator<D>
Abstract base class for
DeclaredStatement implementations which decorate a statement with a
DeclarationReference.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractRefStatement(D delegate, DeclarationReference ref) -
Method Summary
Modifier and TypeMethodDescriptionfinal Optional<DeclarationReference>protected final Ddelegate()final DMethods inherited from class org.opendaylight.yangtools.yang.model.spi.meta.ForwardingDeclaredStatement
argument, declaredSubstatements, rawArgument, statementDefinitionMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement
declaredSubstatements, findFirstDeclaredSubstatement, findFirstDeclaredSubstatementArgument, streamDeclaredSubstatements
-
Constructor Details
-
AbstractRefStatement
-
-
Method Details
-
declarationReference
- Specified by:
declarationReferencein interfaceDeclaredStatement<A>- Overrides:
declarationReferencein classForwardingDeclaredStatement<A,D extends DeclaredStatement<A>>
-
getDelegate
- Specified by:
getDelegatein interfaceDelegator<A>
-
delegate
- Specified by:
delegatein classForwardingDeclaredStatement<A,D extends DeclaredStatement<A>>
-