diff options
author | 2020-08-12 14:26:15 +0000 | |
---|---|---|
committer | 2020-08-12 14:26:15 +0000 | |
commit | 55d8703366e8e02d97e71b2e1350cb746cee8ff6 (patch) | |
tree | 70edd5e9f537f92a0e835e4765872f86c1a9edb1 /sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java | |
parent | 1e9b47aa36b47e60dd2a0d028a8080cf25054ad2 (diff) | |
parent | f501247876cada643f808ef18f1e9611a3331adc (diff) |
Merge "removed devmgr-gran"
Diffstat (limited to 'sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java')
-rw-r--r-- | sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.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/TTAC.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java deleted file mode 100644 index f85c972b7..000000000 --- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.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 TTAC - implements TypeObject, Serializable { - private static final long serialVersionUID = -7663797870532797015L; - 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 _string; - - - private static void check_stringLength(final String value) { - final int length = value.length(); - if (length == 4) { - return; - } - CodeHelpers.throwInvalidLength("[[4..4]]", value); - } - public TTAC(String _string) { - super(); - check_stringLength(_string); - - this._string = _string; - } - /** - * Creates a copy from Source Object. - * - * @param source Source object - */ - public TTAC(TTAC 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; - } - TTAC other = (TTAC) obj; - if (!Objects.equals(_string, other._string)) { - return false; - } - return true; - } - - @Override - public String toString() { - final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TTAC.class); - CodeHelpers.appendValue(helper, "_string", _string); - return helper.toString(); - } -} - |