public interface Service extends ChildOf<Services>, Augmentable<Service>, Identifiable<ServiceKey>
This class represents the following YANG schema fragment defined in module config
list service {
key "type"
leaf type {
type service-type-ref;
}
list instance {
key "name"
leaf name {
type string;
}
leaf provider {
type leafref;
}
}
}
The schema path to identify an instance is
config/services/service
To create instances of this class use ServiceBuilder.
ServiceBuilder,
ServiceKey| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
List<Instance> |
getInstance() |
ServiceKey |
getKey()
Returns Primary Key of Yang List Type
|
Class<? extends ServiceType> |
getType() |
getImplementedInterfacegetAugmentationClass<? extends ServiceType> getType()
java.lang.Class type, or null if not presentServiceKey getKey()
getKey in interface Identifiable<ServiceKey>org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.config.rev130405.services.ServiceKey key, or null if not presentCopyright © 2017 OpenDaylight. All rights reserved.