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/TLoad.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/TLoad.java')
-rw-r--r-- | sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java deleted file mode 100644 index 65038cb7d..000000000 --- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java +++ /dev/null @@ -1,83 +0,0 @@ -package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731; -import com.google.common.base.MoreObjects; -import java.beans.ConstructorProperties; -import java.io.Serializable; -import java.lang.Override; -import java.lang.Short; -import java.lang.String; -import java.util.Objects; -import org.opendaylight.yangtools.yang.binding.CodeHelpers; -import org.opendaylight.yangtools.yang.binding.TypeObject; - -public class TLoad - implements TypeObject, Serializable { - private static final long serialVersionUID = -1391841480548249841L; - private final Short _value; - - private static void check_valueRange(final short value) { - if (value >= (short)0 && value <= (short)100) { - return; - } - CodeHelpers.throwInvalidRange("[[0..100]]", value); - } - - @ConstructorProperties("value") - public TLoad(Short _value) { - if (_value != null) { - check_valueRange(_value); - } - - Objects.requireNonNull(_value, "Supplied value may not be null"); - - this._value = _value; - } - - /** - * Creates a copy from Source Object. - * - * @param source Source object - */ - public TLoad(TLoad source) { - this._value = source._value; - } - - public static TLoad getDefaultInstance(String defaultValue) { - return new TLoad(Short.valueOf(defaultValue)); - } - - public Short 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; - } - TLoad other = (TLoad) obj; - if (!Objects.equals(_value, other._value)) { - return false; - } - return true; - } - - @Override - public String toString() { - final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TLoad.class); - CodeHelpers.appendValue(helper, "_value", _value); - return helper.toString(); - } -} - |