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, ornullif it is not present.Return country, ornullif it is not present.Return locality, ornullif it is not present.Return organization, ornullif it is not present.Return organizationUnit, ornullif it is not present.getState()Return state, ornullif it is not present.default @NonNull StringReturn commonName, guaranteed to be non-null.default @NonNull StringReturn country, guaranteed to be non-null.default @NonNull StringReturn locality, guaranteed to be non-null.default @NonNull StringReturn organization, guaranteed to be non-null.default @NonNull StringReturn organizationUnit, guaranteed to be non-null.default @NonNull StringReturn state, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getCountry
String getCountry()Return country, ornullif it is not present.- Returns:
Stringcountry, ornullif it is not present.
-
requireCountry
Return country, guaranteed to be non-null.- Returns:
Stringcountry, guaranteed to be non-null.- Throws:
NoSuchElementException- if country is not present
-
getState
String getState()Return state, ornullif it is not present.- Returns:
Stringstate, ornullif it is not present.
-
requireState
Return state, guaranteed to be non-null.- Returns:
Stringstate, guaranteed to be non-null.- Throws:
NoSuchElementException- if state is not present
-
getLocality
String getLocality()Return locality, ornullif it is not present.- Returns:
Stringlocality, ornullif it is not present.
-
requireLocality
Return locality, guaranteed to be non-null.- Returns:
Stringlocality, guaranteed to be non-null.- Throws:
NoSuchElementException- if locality is not present
-
getOrganization
String getOrganization()Return organization, ornullif it is not present.- Returns:
Stringorganization, ornullif it is not present.
-
requireOrganization
Return organization, guaranteed to be non-null.- Returns:
Stringorganization, guaranteed to be non-null.- Throws:
NoSuchElementException- if organization is not present
-
getOrganizationUnit
String getOrganizationUnit()Return organizationUnit, ornullif it is not present.- Returns:
StringorganizationUnit, ornullif it is not present.
-
requireOrganizationUnit
Return organizationUnit, guaranteed to be non-null.- Returns:
StringorganizationUnit, guaranteed to be non-null.- Throws:
NoSuchElementException- if organizationUnit is not present
-
getCommonName
String getCommonName()Return commonName, ornullif it is not present.- Returns:
StringcommonName, ornullif it is not present.
-
requireCommonName
Return commonName, guaranteed to be non-null.- Returns:
StringcommonName, guaranteed to be non-null.- Throws:
NoSuchElementException- if commonName is not present
-