diff options
author | 2020-01-28 16:45:58 +0100 | |
---|---|---|
committer | 2020-01-30 14:15:24 -0500 | |
commit | d1981f7e68272cdc5618139a363b80806c2aa77c (patch) | |
tree | 4aed1c81db6fab00d8266ff651e222b1b9fd4fed /sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java | |
parent | 032ce4ec7c3d7ac138555dfe980ca53ebbf39f01 (diff) |
SDN-R update common
update common and remove all dependent bundles
Issue-ID: SDNC-1025
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
Change-Id: I0cebe27eff0489f9b221ee7451be9250e362a827
Diffstat (limited to 'sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java')
-rw-r--r-- | sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java deleted file mode 100644 index 05ec3a321..000000000 --- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java +++ /dev/null @@ -1,90 +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.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 TAMFPointer - implements TypeObject, Serializable { - private static final long serialVersionUID = -7925647994457565082L; - public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$"); - private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0)); - private static final String regexes = "[01]*"; - private final String _value; - - private static void check_valueLength(final String value) { - final int length = value.length(); - if (length == 6) { - return; - } - CodeHelpers.throwInvalidLength("[[6..6]]", value); - } - - @ConstructorProperties("value") - public TAMFPointer(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 TAMFPointer(TAMFPointer source) { - this._value = source._value; - } - - public static TAMFPointer getDefaultInstance(String defaultValue) { - return new TAMFPointer(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; - } - TAMFPointer other = (TAMFPointer) obj; - if (!Objects.equals(_value, other._value)) { - return false; - } - return true; - } - - @Override - public String toString() { - final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TAMFPointer.class); - CodeHelpers.appendValue(helper, "_value", _value); - return helper.toString(); - } -} - |