Interface X500Principal
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface X500Principal
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module system-notifications
grouping x500-principal { leaf country { type string; } leaf state { type string; } leaf locality { type string; } leaf organization { type string; } leaf organization-unit { type string; } leaf common-name { type string; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn commonName, ornull
if it is not present.Return country, ornull
if it is not present.Return locality, ornull
if it is not present.Return organization, ornull
if it is not present.Return organizationUnit, ornull
if it is not present.getState()
Return state, ornull
if it is not present.default @NonNull String
Return commonName, guaranteed to be non-null.default @NonNull String
Return country, guaranteed to be non-null.default @NonNull String
Return locality, guaranteed to be non-null.default @NonNull String
Return organization, guaranteed to be non-null.default @NonNull String
Return organizationUnit, guaranteed to be non-null.default @NonNull String
Return state, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getCountry
String getCountry()Return country, ornull
if it is not present.- Returns:
String
country, ornull
if it is not present.
-
requireCountry
Return country, guaranteed to be non-null.- Returns:
String
country, guaranteed to be non-null.- Throws:
NoSuchElementException
- if country is not present
-
getState
String getState()Return state, ornull
if it is not present.- Returns:
String
state, ornull
if it is not present.
-
requireState
Return state, guaranteed to be non-null.- Returns:
String
state, guaranteed to be non-null.- Throws:
NoSuchElementException
- if state is not present
-
getLocality
String getLocality()Return locality, ornull
if it is not present.- Returns:
String
locality, ornull
if it is not present.
-
requireLocality
Return locality, guaranteed to be non-null.- Returns:
String
locality, guaranteed to be non-null.- Throws:
NoSuchElementException
- if locality is not present
-
getOrganization
String getOrganization()Return organization, ornull
if it is not present.- Returns:
String
organization, ornull
if it is not present.
-
requireOrganization
Return organization, guaranteed to be non-null.- Returns:
String
organization, guaranteed to be non-null.- Throws:
NoSuchElementException
- if organization is not present
-
getOrganizationUnit
String getOrganizationUnit()Return organizationUnit, ornull
if it is not present.- Returns:
String
organizationUnit, ornull
if it is not present.
-
requireOrganizationUnit
Return organizationUnit, guaranteed to be non-null.- Returns:
String
organizationUnit, guaranteed to be non-null.- Throws:
NoSuchElementException
- if organizationUnit is not present
-
getCommonName
String getCommonName()Return commonName, ornull
if it is not present.- Returns:
String
commonName, ornull
if it is not present.
-
requireCommonName
Return commonName, guaranteed to be non-null.- Returns:
String
commonName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if commonName is not present
-