Class SelectorKey
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.system.logging.rev181121.logging.selectors.top.selectors.SelectorKey
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.concepts.Identifier,org.opendaylight.yangtools.concepts.Immutable,org.opendaylight.yangtools.yang.binding.Identifier<Selector>
@Generated("mdsal-binding-generator")
public class SelectorKey
extends Object
implements org.opendaylight.yangtools.yang.binding.Identifier<Selector>
This class represents the key of
Selector class.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSelectorKey(@NonNull SYSLOGFACILITY _facility, @NonNull SyslogSeverity _severity) Constructs an instance.SelectorKey(SelectorKey source) Creates a copy from Source Object. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean@NonNull SYSLOGFACILITYReturn facility, guaranteed to be non-null.@NonNull SyslogSeverityReturn severity, guaranteed to be non-null.inthashCode()toString()
-
Constructor Details
-
SelectorKey
Constructs an instance.- Parameters:
_facility- the entity facility_severity- the entity severity- Throws:
NullPointerException- if any of the arguments are null
-
SelectorKey
Creates a copy from Source Object.- Parameters:
source- Source object
-
-
Method Details
-
getFacility
Return facility, guaranteed to be non-null.- Returns:
SYSLOGFACILITYfacility, guaranteed to be non-null.
-
getSeverity
Return severity, guaranteed to be non-null.- Returns:
SyslogSeverityseverity, guaranteed to be non-null.
-
hashCode
public int hashCode() -
equals
-
toString
-