summaryrefslogblamecommitdiffstats
path: root/src/org/uic/ticket/api/asn/omv2/SequenceOfCarrierNum.java
blob: c6e00a12682bb4f8764e47fb20949a7bef13b9c8 (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=32000)
public class SequenceOfCarrierNum extends Asn1SequenceOf<Long> {
    public SequenceOfCarrierNum() { super(); }
    public SequenceOfCarrierNum(Collection<Long> coll) { super(coll); }
	

	public SequenceOfCarrierNum(List<Long> numbers) {
		super();
		for (Long number: numbers){
			this.add(new Long(number));
		}
	}
	public static SequenceOfCarrierNum getSequence(List<Long> numList) {
		if (numList == null || numList.isEmpty()) return null;
		return new SequenceOfCarrierNum(numList);
	}
	
	
    
}