Interface Domain
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Domains
@Generated("mdsal-binding-generator")
public interface Domain
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module aaa
grouping domain {
leaf domainid {
type string;
}
leaf name {
type string;
}
leaf description {
type string;
default "";
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn description, ornullif it is not present.Return domainid, ornullif it is not present.getName()Return name, ornullif it is not present.default @NonNull StringReturn description, guaranteed to be non-null.default @NonNull StringReturn domainid, guaranteed to be non-null.default @NonNull StringReturn name, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getDomainid
String getDomainid()Return domainid, ornullif it is not present.An internal wiring detail in the form 'name'.- Returns:
Stringdomainid, ornullif it is not present.
-
requireDomainid
Return domainid, guaranteed to be non-null.An internal wiring detail in the form 'name'.- Returns:
Stringdomainid, guaranteed to be non-null.- Throws:
NoSuchElementException- if domainid is not present
-
getName
String getName()Return name, ornullif it is not present.The name of the domain.- Returns:
Stringname, ornullif it is not present.
-
requireName
Return name, guaranteed to be non-null.The name of the domain.- Returns:
Stringname, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-
getDescription
String getDescription()Return description, ornullif it is not present.A description for the domain; defaults to the empty string.- Returns:
Stringdescription, ornullif it is not present.
-
requireDescription
Return description, guaranteed to be non-null.A description for the domain; defaults to the empty string.- Returns:
Stringdescription, guaranteed to be non-null.- Throws:
NoSuchElementException- if description is not present
-