blob: d6d35f36857375b70760343aed99fa089b12c063 (
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=0,maxValue=370)
public class SequenceOfActivatedDays extends Asn1SequenceOf<Long> {
public SequenceOfActivatedDays() { super(); }
public SequenceOfActivatedDays(Collection<Long> coll) { super(coll); }
public SequenceOfActivatedDays(List<Long> numbers) {
super();
for (Long number: numbers){
this.add(new Long(number));
}
}
public static SequenceOfActivatedDays getSequence(List<Long> numList) {
if (numList == null || numList.isEmpty()) return null;
return new SequenceOfActivatedDays(numList);
}
}
|