diff options
author | 2020-08-12 08:06:23 +0200 | |
---|---|---|
committer | 2020-08-12 08:06:38 +0200 | |
commit | f501247876cada643f808ef18f1e9611a3331adc (patch) | |
tree | b817ad4ab6665f1e0fb18ff210d997d2c2c69455 /sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java | |
parent | cd29d2dd98b7c40bd4efb6a8705787ca35e99fe9 (diff) |
removed devmgr-gran
removed devicemanager from onap. will be back in o-ran-sc
Issue-ID: CCSDK-2574
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: I8e05d2e047192f1e82006ba40943b1af4e7d2c13
Diffstat (limited to 'sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java')
-rw-r--r-- | sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java deleted file mode 100644 index e7786506f..000000000 --- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java +++ /dev/null @@ -1,93 +0,0 @@ -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.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 TNCI - implements TypeObject, Serializable { - private static final long serialVersionUID = 6536694555014033331L; - public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$", "^(?:[a-fA-F0-9]*)$"); - private static final Pattern[] patterns = CodeHelpers.compilePatterns(PATTERN_CONSTANTS); - private static final String[] regexes = { "[01]*", "[a-fA-F0-9]*" }; - private final String _string; - - - private static void check_stringLength(final String value) { - final int length = value.length(); - if (length == 36) { - return; - } - CodeHelpers.throwInvalidLength("[[36..36]]", value); - } - public TNCI(String _string) { - super(); - check_stringLength(_string); - - this._string = _string; - } - /** - * Creates a copy from Source Object. - * - * @param source Source object - */ - public TNCI(TNCI source) { - this._string = source._string; - } - - /** - * Return a String representing the value of this union. - * - * @return String representation of this union's value. - */ - public String stringValue() { - if (_string != null) { - return _string; - } - - throw new IllegalStateException("No value assinged"); - } - - - public String getString() { - return _string; - } - - - @Override - public int hashCode() { - return CodeHelpers.wrapperHashCode(_string); - } - - @Override - public boolean equals(java.lang.Object obj) { - if (this == obj) { - return true; - } - if (obj == null) { - return false; - } - if (getClass() != obj.getClass()) { - return false; - } - TNCI other = (TNCI) obj; - if (!Objects.equals(_string, other._string)) { - return false; - } - return true; - } - - @Override - public String toString() { - final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TNCI.class); - CodeHelpers.appendValue(helper, "_string", _string); - return helper.toString(); - } -} - |