blob: c3dff444570cd953c8cd3fc7d2e636ec0941720d [file] [log] [blame]
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.location.cts.asn1.supl2.rrlp_components;
/*
*/
//
//
import android.location.cts.asn1.base.Asn1Integer;
import android.location.cts.asn1.base.Asn1Null;
import android.location.cts.asn1.base.Asn1Object;
import android.location.cts.asn1.base.Asn1Sequence;
import android.location.cts.asn1.base.Asn1Tag;
import android.location.cts.asn1.base.BitStream;
import android.location.cts.asn1.base.BitStreamReader;
import android.location.cts.asn1.base.SequenceComponent;
import com.google.common.collect.ImmutableList;
import java.util.Collection;
import javax.annotation.Nullable;
/**
*/
public class GANSSEarthOrientParam extends Asn1Sequence {
//
private static final Asn1Tag TAG_GANSSEarthOrientParam
= Asn1Tag.fromClassAndNumber(-1, -1);
public GANSSEarthOrientParam() {
super();
}
@Override
@Nullable
protected Asn1Tag getTag() {
return TAG_GANSSEarthOrientParam;
}
@Override
protected boolean isTagImplicit() {
return true;
}
public static Collection<Asn1Tag> getPossibleFirstTags() {
if (TAG_GANSSEarthOrientParam != null) {
return ImmutableList.of(TAG_GANSSEarthOrientParam);
} else {
return Asn1Sequence.getPossibleFirstTags();
}
}
/**
* Creates a new GANSSEarthOrientParam from encoded stream.
*/
public static GANSSEarthOrientParam fromPerUnaligned(byte[] encodedBytes) {
GANSSEarthOrientParam result = new GANSSEarthOrientParam();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
}
/**
* Creates a new GANSSEarthOrientParam from encoded stream.
*/
public static GANSSEarthOrientParam fromPerAligned(byte[] encodedBytes) {
GANSSEarthOrientParam result = new GANSSEarthOrientParam();
result.decodePerAligned(new BitStreamReader(encodedBytes));
return result;
}
@Override protected boolean isExtensible() {
return false;
}
@Override public boolean containsExtensionValues() {
for (SequenceComponent extensionComponent : getExtensionComponents()) {
if (extensionComponent.isExplicitlySet()) return true;
}
return false;
}
private GANSSEarthOrientParam.teopType teop_;
public GANSSEarthOrientParam.teopType getTeop() {
return teop_;
}
/**
* @throws ClassCastException if value is not a GANSSEarthOrientParam.teopType
*/
public void setTeop(Asn1Object value) {
this.teop_ = (GANSSEarthOrientParam.teopType) value;
}
public GANSSEarthOrientParam.teopType setTeopToNewInstance() {
teop_ = new GANSSEarthOrientParam.teopType();
return teop_;
}
private GANSSEarthOrientParam.pmXType pmX_;
public GANSSEarthOrientParam.pmXType getPmX() {
return pmX_;
}
/**
* @throws ClassCastException if value is not a GANSSEarthOrientParam.pmXType
*/
public void setPmX(Asn1Object value) {
this.pmX_ = (GANSSEarthOrientParam.pmXType) value;
}
public GANSSEarthOrientParam.pmXType setPmXToNewInstance() {
pmX_ = new GANSSEarthOrientParam.pmXType();
return pmX_;
}
private GANSSEarthOrientParam.pmXdotType pmXdot_;
public GANSSEarthOrientParam.pmXdotType getPmXdot() {
return pmXdot_;
}
/**
* @throws ClassCastException if value is not a GANSSEarthOrientParam.pmXdotType
*/
public void setPmXdot(Asn1Object value) {
this.pmXdot_ = (GANSSEarthOrientParam.pmXdotType) value;
}
public GANSSEarthOrientParam.pmXdotType setPmXdotToNewInstance() {
pmXdot_ = new GANSSEarthOrientParam.pmXdotType();
return pmXdot_;
}
private GANSSEarthOrientParam.pmYType pmY_;
public GANSSEarthOrientParam.pmYType getPmY() {
return pmY_;
}
/**
* @throws ClassCastException if value is not a GANSSEarthOrientParam.pmYType
*/
public void setPmY(Asn1Object value) {
this.pmY_ = (GANSSEarthOrientParam.pmYType) value;
}
public GANSSEarthOrientParam.pmYType setPmYToNewInstance() {
pmY_ = new GANSSEarthOrientParam.pmYType();
return pmY_;
}
private GANSSEarthOrientParam.pmYdotType pmYdot_;
public GANSSEarthOrientParam.pmYdotType getPmYdot() {
return pmYdot_;
}
/**
* @throws ClassCastException if value is not a GANSSEarthOrientParam.pmYdotType
*/
public void setPmYdot(Asn1Object value) {
this.pmYdot_ = (GANSSEarthOrientParam.pmYdotType) value;
}
public GANSSEarthOrientParam.pmYdotType setPmYdotToNewInstance() {
pmYdot_ = new GANSSEarthOrientParam.pmYdotType();
return pmYdot_;
}
private GANSSEarthOrientParam.deltaUT1Type deltaUT1_;
public GANSSEarthOrientParam.deltaUT1Type getDeltaUT1() {
return deltaUT1_;
}
/**
* @throws ClassCastException if value is not a GANSSEarthOrientParam.deltaUT1Type
*/
public void setDeltaUT1(Asn1Object value) {
this.deltaUT1_ = (GANSSEarthOrientParam.deltaUT1Type) value;
}
public GANSSEarthOrientParam.deltaUT1Type setDeltaUT1ToNewInstance() {
deltaUT1_ = new GANSSEarthOrientParam.deltaUT1Type();
return deltaUT1_;
}
private GANSSEarthOrientParam.deltaUT1dotType deltaUT1dot_;
public GANSSEarthOrientParam.deltaUT1dotType getDeltaUT1dot() {
return deltaUT1dot_;
}
/**
* @throws ClassCastException if value is not a GANSSEarthOrientParam.deltaUT1dotType
*/
public void setDeltaUT1dot(Asn1Object value) {
this.deltaUT1dot_ = (GANSSEarthOrientParam.deltaUT1dotType) value;
}
public GANSSEarthOrientParam.deltaUT1dotType setDeltaUT1dotToNewInstance() {
deltaUT1dot_ = new GANSSEarthOrientParam.deltaUT1dotType();
return deltaUT1dot_;
}
@Override public Iterable<? extends SequenceComponent> getComponents() {
ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder();
builder.add(new SequenceComponent() {
Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 0);
@Override public boolean isExplicitlySet() {
return getTeop() != null;
}
@Override public boolean hasDefaultValue() {
return false;
}
@Override public boolean isOptional() {
return false;
}
@Override public Asn1Object getComponentValue() {
return getTeop();
}
@Override public void setToNewInstance() {
setTeopToNewInstance();
}
@Override public Collection<Asn1Tag> getPossibleFirstTags() {
return tag == null ? GANSSEarthOrientParam.teopType.getPossibleFirstTags() : ImmutableList.of(tag);
}
@Override
public Asn1Tag getTag() {
return tag;
}
@Override
public boolean isImplicitTagging() {
return true;
}
@Override public String toIndentedString(String indent) {
return "teop : "
+ getTeop().toIndentedString(indent);
}
});
builder.add(new SequenceComponent() {
Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 1);
@Override public boolean isExplicitlySet() {
return getPmX() != null;
}
@Override public boolean hasDefaultValue() {
return false;
}
@Override public boolean isOptional() {
return false;
}
@Override public Asn1Object getComponentValue() {
return getPmX();
}
@Override public void setToNewInstance() {
setPmXToNewInstance();
}
@Override public Collection<Asn1Tag> getPossibleFirstTags() {
return tag == null ? GANSSEarthOrientParam.pmXType.getPossibleFirstTags() : ImmutableList.of(tag);
}
@Override
public Asn1Tag getTag() {
return tag;
}
@Override
public boolean isImplicitTagging() {
return true;
}
@Override public String toIndentedString(String indent) {
return "pmX : "
+ getPmX().toIndentedString(indent);
}
});
builder.add(new SequenceComponent() {
Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 2);
@Override public boolean isExplicitlySet() {
return getPmXdot() != null;
}
@Override public boolean hasDefaultValue() {
return false;
}
@Override public boolean isOptional() {
return false;
}
@Override public Asn1Object getComponentValue() {
return getPmXdot();
}
@Override public void setToNewInstance() {
setPmXdotToNewInstance();
}
@Override public Collection<Asn1Tag> getPossibleFirstTags() {
return tag == null ? GANSSEarthOrientParam.pmXdotType.getPossibleFirstTags() : ImmutableList.of(tag);
}
@Override
public Asn1Tag getTag() {
return tag;
}
@Override
public boolean isImplicitTagging() {
return true;
}
@Override public String toIndentedString(String indent) {
return "pmXdot : "
+ getPmXdot().toIndentedString(indent);
}
});
builder.add(new SequenceComponent() {
Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 3);
@Override public boolean isExplicitlySet() {
return getPmY() != null;
}
@Override public boolean hasDefaultValue() {
return false;
}
@Override public boolean isOptional() {
return false;
}
@Override public Asn1Object getComponentValue() {
return getPmY();
}
@Override public void setToNewInstance() {
setPmYToNewInstance();
}
@Override public Collection<Asn1Tag> getPossibleFirstTags() {
return tag == null ? GANSSEarthOrientParam.pmYType.getPossibleFirstTags() : ImmutableList.of(tag);
}
@Override
public Asn1Tag getTag() {
return tag;
}
@Override
public boolean isImplicitTagging() {
return true;
}
@Override public String toIndentedString(String indent) {
return "pmY : "
+ getPmY().toIndentedString(indent);
}
});
builder.add(new SequenceComponent() {
Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 4);
@Override public boolean isExplicitlySet() {
return getPmYdot() != null;
}
@Override public boolean hasDefaultValue() {
return false;
}
@Override public boolean isOptional() {
return false;
}
@Override public Asn1Object getComponentValue() {
return getPmYdot();
}
@Override public void setToNewInstance() {
setPmYdotToNewInstance();
}
@Override public Collection<Asn1Tag> getPossibleFirstTags() {
return tag == null ? GANSSEarthOrientParam.pmYdotType.getPossibleFirstTags() : ImmutableList.of(tag);
}
@Override
public Asn1Tag getTag() {
return tag;
}
@Override
public boolean isImplicitTagging() {
return true;
}
@Override public String toIndentedString(String indent) {
return "pmYdot : "
+ getPmYdot().toIndentedString(indent);
}
});
builder.add(new SequenceComponent() {
Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 5);
@Override public boolean isExplicitlySet() {
return getDeltaUT1() != null;
}
@Override public boolean hasDefaultValue() {
return false;
}
@Override public boolean isOptional() {
return false;
}
@Override public Asn1Object getComponentValue() {
return getDeltaUT1();
}
@Override public void setToNewInstance() {
setDeltaUT1ToNewInstance();
}
@Override public Collection<Asn1Tag> getPossibleFirstTags() {
return tag == null ? GANSSEarthOrientParam.deltaUT1Type.getPossibleFirstTags() : ImmutableList.of(tag);
}
@Override
public Asn1Tag getTag() {
return tag;
}
@Override
public boolean isImplicitTagging() {
return true;
}
@Override public String toIndentedString(String indent) {
return "deltaUT1 : "
+ getDeltaUT1().toIndentedString(indent);
}
});
builder.add(new SequenceComponent() {
Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 6);
@Override public boolean isExplicitlySet() {
return getDeltaUT1dot() != null;
}
@Override public boolean hasDefaultValue() {
return false;
}
@Override public boolean isOptional() {
return false;
}
@Override public Asn1Object getComponentValue() {
return getDeltaUT1dot();
}
@Override public void setToNewInstance() {
setDeltaUT1dotToNewInstance();
}
@Override public Collection<Asn1Tag> getPossibleFirstTags() {
return tag == null ? GANSSEarthOrientParam.deltaUT1dotType.getPossibleFirstTags() : ImmutableList.of(tag);
}
@Override
public Asn1Tag getTag() {
return tag;
}
@Override
public boolean isImplicitTagging() {
return true;
}
@Override public String toIndentedString(String indent) {
return "deltaUT1dot : "
+ getDeltaUT1dot().toIndentedString(indent);
}
});
return builder.build();
}
@Override public Iterable<? extends SequenceComponent>
getExtensionComponents() {
ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder();
return builder.build();
}
/*
*/
//
/**
*/
public static class teopType extends Asn1Integer {
//
private static final Asn1Tag TAG_teopType
= Asn1Tag.fromClassAndNumber(-1, -1);
public teopType() {
super();
setValueRange("0", "65535");
}
@Override
@Nullable
protected Asn1Tag getTag() {
return TAG_teopType;
}
@Override
protected boolean isTagImplicit() {
return true;
}
public static Collection<Asn1Tag> getPossibleFirstTags() {
if (TAG_teopType != null) {
return ImmutableList.of(TAG_teopType);
} else {
return Asn1Integer.getPossibleFirstTags();
}
}
/**
* Creates a new teopType from encoded stream.
*/
public static teopType fromPerUnaligned(byte[] encodedBytes) {
teopType result = new teopType();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
}
/**
* Creates a new teopType from encoded stream.
*/
public static teopType fromPerAligned(byte[] encodedBytes) {
teopType result = new teopType();
result.decodePerAligned(new BitStreamReader(encodedBytes));
return result;
}
@Override public Iterable<BitStream> encodePerUnaligned() {
return super.encodePerUnaligned();
}
@Override public Iterable<BitStream> encodePerAligned() {
return super.encodePerAligned();
}
@Override public void decodePerUnaligned(BitStreamReader reader) {
super.decodePerUnaligned(reader);
}
@Override public void decodePerAligned(BitStreamReader reader) {
super.decodePerAligned(reader);
}
@Override public String toString() {
return toIndentedString("");
}
public String toIndentedString(String indent) {
return "teopType = " + getInteger() + ";\n";
}
}
/*
*/
//
/**
*/
public static class pmXType extends Asn1Integer {
//
private static final Asn1Tag TAG_pmXType
= Asn1Tag.fromClassAndNumber(-1, -1);
public pmXType() {
super();
setValueRange("-1048576", "1048575");
}
@Override
@Nullable
protected Asn1Tag getTag() {
return TAG_pmXType;
}
@Override
protected boolean isTagImplicit() {
return true;
}
public static Collection<Asn1Tag> getPossibleFirstTags() {
if (TAG_pmXType != null) {
return ImmutableList.of(TAG_pmXType);
} else {
return Asn1Integer.getPossibleFirstTags();
}
}
/**
* Creates a new pmXType from encoded stream.
*/
public static pmXType fromPerUnaligned(byte[] encodedBytes) {
pmXType result = new pmXType();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
}
/**
* Creates a new pmXType from encoded stream.
*/
public static pmXType fromPerAligned(byte[] encodedBytes) {
pmXType result = new pmXType();
result.decodePerAligned(new BitStreamReader(encodedBytes));
return result;
}
@Override public Iterable<BitStream> encodePerUnaligned() {
return super.encodePerUnaligned();
}
@Override public Iterable<BitStream> encodePerAligned() {
return super.encodePerAligned();
}
@Override public void decodePerUnaligned(BitStreamReader reader) {
super.decodePerUnaligned(reader);
}
@Override public void decodePerAligned(BitStreamReader reader) {
super.decodePerAligned(reader);
}
@Override public String toString() {
return toIndentedString("");
}
public String toIndentedString(String indent) {
return "pmXType = " + getInteger() + ";\n";
}
}
/*
*/
//
/**
*/
public static class pmXdotType extends Asn1Integer {
//
private static final Asn1Tag TAG_pmXdotType
= Asn1Tag.fromClassAndNumber(-1, -1);
public pmXdotType() {
super();
setValueRange("-16384", "16383");
}
@Override
@Nullable
protected Asn1Tag getTag() {
return TAG_pmXdotType;
}
@Override
protected boolean isTagImplicit() {
return true;
}
public static Collection<Asn1Tag> getPossibleFirstTags() {
if (TAG_pmXdotType != null) {
return ImmutableList.of(TAG_pmXdotType);
} else {
return Asn1Integer.getPossibleFirstTags();
}
}
/**
* Creates a new pmXdotType from encoded stream.
*/
public static pmXdotType fromPerUnaligned(byte[] encodedBytes) {
pmXdotType result = new pmXdotType();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
}
/**
* Creates a new pmXdotType from encoded stream.
*/
public static pmXdotType fromPerAligned(byte[] encodedBytes) {
pmXdotType result = new pmXdotType();
result.decodePerAligned(new BitStreamReader(encodedBytes));
return result;
}
@Override public Iterable<BitStream> encodePerUnaligned() {
return super.encodePerUnaligned();
}
@Override public Iterable<BitStream> encodePerAligned() {
return super.encodePerAligned();
}
@Override public void decodePerUnaligned(BitStreamReader reader) {
super.decodePerUnaligned(reader);
}
@Override public void decodePerAligned(BitStreamReader reader) {
super.decodePerAligned(reader);
}
@Override public String toString() {
return toIndentedString("");
}
public String toIndentedString(String indent) {
return "pmXdotType = " + getInteger() + ";\n";
}
}
/*
*/
//
/**
*/
public static class pmYType extends Asn1Integer {
//
private static final Asn1Tag TAG_pmYType
= Asn1Tag.fromClassAndNumber(-1, -1);
public pmYType() {
super();
setValueRange("-1048576", "1048575");
}
@Override
@Nullable
protected Asn1Tag getTag() {
return TAG_pmYType;
}
@Override
protected boolean isTagImplicit() {
return true;
}
public static Collection<Asn1Tag> getPossibleFirstTags() {
if (TAG_pmYType != null) {
return ImmutableList.of(TAG_pmYType);
} else {
return Asn1Integer.getPossibleFirstTags();
}
}
/**
* Creates a new pmYType from encoded stream.
*/
public static pmYType fromPerUnaligned(byte[] encodedBytes) {
pmYType result = new pmYType();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
}
/**
* Creates a new pmYType from encoded stream.
*/
public static pmYType fromPerAligned(byte[] encodedBytes) {
pmYType result = new pmYType();
result.decodePerAligned(new BitStreamReader(encodedBytes));
return result;
}
@Override public Iterable<BitStream> encodePerUnaligned() {
return super.encodePerUnaligned();
}
@Override public Iterable<BitStream> encodePerAligned() {
return super.encodePerAligned();
}
@Override public void decodePerUnaligned(BitStreamReader reader) {
super.decodePerUnaligned(reader);
}
@Override public void decodePerAligned(BitStreamReader reader) {
super.decodePerAligned(reader);
}
@Override public String toString() {
return toIndentedString("");
}
public String toIndentedString(String indent) {
return "pmYType = " + getInteger() + ";\n";
}
}
/*
*/
//
/**
*/
public static class pmYdotType extends Asn1Integer {
//
private static final Asn1Tag TAG_pmYdotType
= Asn1Tag.fromClassAndNumber(-1, -1);
public pmYdotType() {
super();
setValueRange("-16384", "16383");
}
@Override
@Nullable
protected Asn1Tag getTag() {
return TAG_pmYdotType;
}
@Override
protected boolean isTagImplicit() {
return true;
}
public static Collection<Asn1Tag> getPossibleFirstTags() {
if (TAG_pmYdotType != null) {
return ImmutableList.of(TAG_pmYdotType);
} else {
return Asn1Integer.getPossibleFirstTags();
}
}
/**
* Creates a new pmYdotType from encoded stream.
*/
public static pmYdotType fromPerUnaligned(byte[] encodedBytes) {
pmYdotType result = new pmYdotType();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
}
/**
* Creates a new pmYdotType from encoded stream.
*/
public static pmYdotType fromPerAligned(byte[] encodedBytes) {
pmYdotType result = new pmYdotType();
result.decodePerAligned(new BitStreamReader(encodedBytes));
return result;
}
@Override public Iterable<BitStream> encodePerUnaligned() {
return super.encodePerUnaligned();
}
@Override public Iterable<BitStream> encodePerAligned() {
return super.encodePerAligned();
}
@Override public void decodePerUnaligned(BitStreamReader reader) {
super.decodePerUnaligned(reader);
}
@Override public void decodePerAligned(BitStreamReader reader) {
super.decodePerAligned(reader);
}
@Override public String toString() {
return toIndentedString("");
}
public String toIndentedString(String indent) {
return "pmYdotType = " + getInteger() + ";\n";
}
}
/*
*/
//
/**
*/
public static class deltaUT1Type extends Asn1Integer {
//
private static final Asn1Tag TAG_deltaUT1Type
= Asn1Tag.fromClassAndNumber(-1, -1);
public deltaUT1Type() {
super();
setValueRange("-1073741824", "1073741823");
}
@Override
@Nullable
protected Asn1Tag getTag() {
return TAG_deltaUT1Type;
}
@Override
protected boolean isTagImplicit() {
return true;
}
public static Collection<Asn1Tag> getPossibleFirstTags() {
if (TAG_deltaUT1Type != null) {
return ImmutableList.of(TAG_deltaUT1Type);
} else {
return Asn1Integer.getPossibleFirstTags();
}
}
/**
* Creates a new deltaUT1Type from encoded stream.
*/
public static deltaUT1Type fromPerUnaligned(byte[] encodedBytes) {
deltaUT1Type result = new deltaUT1Type();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
}
/**
* Creates a new deltaUT1Type from encoded stream.
*/
public static deltaUT1Type fromPerAligned(byte[] encodedBytes) {
deltaUT1Type result = new deltaUT1Type();
result.decodePerAligned(new BitStreamReader(encodedBytes));
return result;
}
@Override public Iterable<BitStream> encodePerUnaligned() {
return super.encodePerUnaligned();
}
@Override public Iterable<BitStream> encodePerAligned() {
return super.encodePerAligned();
}
@Override public void decodePerUnaligned(BitStreamReader reader) {
super.decodePerUnaligned(reader);
}
@Override public void decodePerAligned(BitStreamReader reader) {
super.decodePerAligned(reader);
}
@Override public String toString() {
return toIndentedString("");
}
public String toIndentedString(String indent) {
return "deltaUT1Type = " + getInteger() + ";\n";
}
}
/*
*/
//
/**
*/
public static class deltaUT1dotType extends Asn1Integer {
//
private static final Asn1Tag TAG_deltaUT1dotType
= Asn1Tag.fromClassAndNumber(-1, -1);
public deltaUT1dotType() {
super();
setValueRange("-262144", "262143");
}
@Override
@Nullable
protected Asn1Tag getTag() {
return TAG_deltaUT1dotType;
}
@Override
protected boolean isTagImplicit() {
return true;
}
public static Collection<Asn1Tag> getPossibleFirstTags() {
if (TAG_deltaUT1dotType != null) {
return ImmutableList.of(TAG_deltaUT1dotType);
} else {
return Asn1Integer.getPossibleFirstTags();
}
}
/**
* Creates a new deltaUT1dotType from encoded stream.
*/
public static deltaUT1dotType fromPerUnaligned(byte[] encodedBytes) {
deltaUT1dotType result = new deltaUT1dotType();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
}
/**
* Creates a new deltaUT1dotType from encoded stream.
*/
public static deltaUT1dotType fromPerAligned(byte[] encodedBytes) {
deltaUT1dotType result = new deltaUT1dotType();
result.decodePerAligned(new BitStreamReader(encodedBytes));
return result;
}
@Override public Iterable<BitStream> encodePerUnaligned() {
return super.encodePerUnaligned();
}
@Override public Iterable<BitStream> encodePerAligned() {
return super.encodePerAligned();
}
@Override public void decodePerUnaligned(BitStreamReader reader) {
super.decodePerUnaligned(reader);
}
@Override public void decodePerAligned(BitStreamReader reader) {
super.decodePerAligned(reader);
}
@Override public String toString() {
return toIndentedString("");
}
public String toIndentedString(String indent) {
return "deltaUT1dotType = " + getInteger() + ";\n";
}
}
@Override public Iterable<BitStream> encodePerUnaligned() {
return super.encodePerUnaligned();
}
@Override public Iterable<BitStream> encodePerAligned() {
return super.encodePerAligned();
}
@Override public void decodePerUnaligned(BitStreamReader reader) {
super.decodePerUnaligned(reader);
}
@Override public void decodePerAligned(BitStreamReader reader) {
super.decodePerAligned(reader);
}
@Override public String toString() {
return toIndentedString("");
}
public String toIndentedString(String indent) {
StringBuilder builder = new StringBuilder();
builder.append("GANSSEarthOrientParam = {\n");
final String internalIndent = indent + " ";
for (SequenceComponent component : getComponents()) {
if (component.isExplicitlySet()) {
builder.append(internalIndent)
.append(component.toIndentedString(internalIndent));
}
}
if (isExtensible()) {
builder.append(internalIndent).append("...\n");
for (SequenceComponent component : getExtensionComponents()) {
if (component.isExplicitlySet()) {
builder.append(internalIndent)
.append(component.toIndentedString(internalIndent));
}
}
}
builder.append(indent).append("};\n");
return builder.toString();
}
}