Interface BaseAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,IdAttributes
- All Known Subinterfaces:
Bgpvpn
,BgpvpnNetworkAssociation
,BgpvpnRouterAssociation
,Firewall
,FirewallPolicy
,FirewallRule
,Ikepolicy
,Ipsecpolicy
,Ipsecsiteconnection
,L2gateway
,L2gatewayConnection
,Listener
,Loadbalancer
,MeteringLabel
,Network
,Pool
,Port
,PortChain
,PortPair
,PortPairGroup
,QosPolicy
,Router
,SecurityGroup
,SfcFlowClassifier
,Subnet
,TapFlow
,TapService
,Trunk
,TrunkAttributes
,Vpnservice
@Generated("mdsal-binding-generator") public interface BaseAttributes extends org.opendaylight.yangtools.yang.binding.DataObject, IdAttributes
This class represents the following YANG schema fragment defined in module neutron-attrs
grouping base-attributes { uses id-attributes; leaf name { type string; } }
The schema path to identify an instance is neutron-attrs/base-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getName()
Return name, ornull
if it is not present.Class<? extends BaseAttributes>
implementedInterface()
default @NonNull String
requireName()
Return name, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.attrs.rev150712.IdAttributes
getProjectId, getRevisionNumber, getTenantId, getUuid, requireProjectId, requireRevisionNumber, requireTenantId, requireUuid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends BaseAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceIdAttributes
-
getName
String getName()
Return name, ornull
if it is not present.Human-readable name for the item. Might not be unique.
- Returns:
String
name, ornull
if it is not present.
-
requireName
default @NonNull String requireName()
Return name, guaranteed to be non-null.Human-readable name for the item. Might not be unique.
- Returns:
String
name, guaranteed to be non-null.- Throws:
NoSuchElementException
- if name is not present
-
-