blob: 69a953f5b052a064fc5ffb85b664e4c387b32d52 (
plain) (
tree)
|
|
package org.uic.ticket.api.asn.omv2;
import java.util.Collection;
import java.util.List;
import net.gcdc.asn1.datatypes.Asn1SequenceOf;
import net.gcdc.asn1.datatypes.IntRange;
@IntRange(minValue=1,maxValue=250)
public class SequenceOfCountries extends Asn1SequenceOf<Long> {
public SequenceOfCountries() { super(); }
public SequenceOfCountries(Collection<Long> coll) { super(coll); }
public SequenceOfCountries(List<Long> numbers) {
super();
for (Long number: numbers){
this.add(new Long(number));
}
}
public static SequenceOfCountries getSequence(List<Long> numList) {
if (numList == null || numList.isEmpty()) return null;
return new SequenceOfCountries(numList);
}
}
|