diff options
author | 2020-01-30 12:08:35 +0100 | |
---|---|---|
committer | 2020-02-01 12:42:06 +0000 | |
commit | 149a57edf72762c7e0eb4062851c06356e6a75ab (patch) | |
tree | 0f6bf0087a2a82c637bb249ab09561f58202b969 /sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java | |
parent | 8fb01420d6e5b5c3284da57292e28ce40874aaf4 (diff) |
SDN-R add updated devicemanager
add updated devicemanager and specific devicemanagers
Issue-ID: SDNC-1039
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
Change-Id: I16f4c8d78da95ab12dbb50e50dfb561a85e8d6a2
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java')
-rw-r--r-- | sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java new file mode 100644 index 000000000..dec0ed6c6 --- /dev/null +++ b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java @@ -0,0 +1,85 @@ +package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731; +import com.google.common.base.MoreObjects; +import com.google.common.collect.ImmutableList; +import java.beans.ConstructorProperties; +import java.io.Serializable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.regex.Pattern; +import org.opendaylight.yangtools.yang.binding.CodeHelpers; +import org.opendaylight.yangtools.yang.binding.TypeObject; + +public class SupportedFeatures + implements TypeObject, Serializable { + private static final long serialVersionUID = 237085469237900179L; + public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[A-Fa-f0-9]*)$"); + private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0)); + private static final String regexes = "[A-Fa-f0-9]*"; + private final String _value; + + private static void check_valueLength(final String value) { + } + + @ConstructorProperties("value") + public SupportedFeatures(String _value) { + if (_value != null) { + check_valueLength(_value); + } + + Objects.requireNonNull(_value, "Supplied value may not be null"); + CodeHelpers.checkPattern(_value, patterns, regexes); + + this._value = _value; + } + + /** + * Creates a copy from Source Object. + * + * @param source Source object + */ + public SupportedFeatures(SupportedFeatures source) { + this._value = source._value; + } + + public static SupportedFeatures getDefaultInstance(String defaultValue) { + return new SupportedFeatures(defaultValue); + } + + public String getValue() { + return _value; + } + + + @Override + public int hashCode() { + return CodeHelpers.wrapperHashCode(_value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) { + return true; + } + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + SupportedFeatures other = (SupportedFeatures) obj; + if (!Objects.equals(_value, other._value)) { + return false; + } + return true; + } + + @Override + public String toString() { + final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(SupportedFeatures.class); + CodeHelpers.appendValue(helper, "_value", _value); + return helper.toString(); + } +} + |