ch.panter.li.bi.asn.value
Class AsnSequenceOfType<T>

java.lang.Object
  extended by ch.panter.li.bi.asn.AsnValueBase
      extended by ch.panter.li.bi.asn.value.AsnContainerValueBase
          extended by ch.panter.li.bi.asn.value.AsnComplexValueBase
              extended by ch.panter.li.bi.asn.value.AsnSequenceOf
                  extended by ch.panter.li.bi.asn.value.AsnSequenceOfType<T>
All Implemented Interfaces:
ListValue<T>, ListValueInfo<T>, Validatable, AsnValue

public abstract class AsnSequenceOfType<T>
extends AsnSequenceOf
implements ListValue<T>


Constructor Summary
protected AsnSequenceOfType()
           
protected AsnSequenceOfType(AsnSequenceOfType copy)
           
protected AsnSequenceOfType(AsnType type)
           
 
Method Summary
 void add(int insertPos, T item)
           
 void add(T item)
           
 T addNewItem()
           
 T addNewItem(int insertPos)
           
 void assign(ListValue<T> other)
           
protected abstract  T castFromImplementation(AsnValue value)
           
protected abstract  AsnValue createImplementation(T item)
           
 T get(int pos)
           
 Iterator<T> iterator()
           
 T newItem()
           
 void remove(T item)
           
 
Methods inherited from class ch.panter.li.bi.asn.value.AsnSequenceOf
copyAsnValue
 
Methods inherited from class ch.panter.li.bi.asn.value.AsnContainerValueBase
clear, computeHashCode, ensureItemExists, getItemByTag, getItemByTagAndClass, getItems, getWritableItems, isEmpty, isEqualTo, remove, remove, selectChoice, setOptionalItemState, size, toString, validateStructure
 
Methods inherited from class ch.panter.li.bi.asn.AsnValueBase
checkTypeDerivedFrom, collectValidationInfo, equals, getTag, getType, hashCode, isValid, setTag, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ch.panter.li.bi.asn.api.ListValue
clear, remove
 
Methods inherited from interface ch.panter.li.bi.asn.api.ListValueInfo
isEmpty, size
 

Constructor Detail

AsnSequenceOfType

protected AsnSequenceOfType()

AsnSequenceOfType

protected AsnSequenceOfType(AsnType type)

AsnSequenceOfType

protected AsnSequenceOfType(AsnSequenceOfType copy)
Method Detail

iterator

public final Iterator<T> iterator()
Specified by:
iterator in interface ListValueInfo<T>

get

public final T get(int pos)
Specified by:
get in interface ListValueInfo<T>

newItem

public final T newItem()
Specified by:
newItem in interface ListValueInfo<T>

add

public final void add(T item)
Specified by:
add in interface ListValue<T>

add

public final void add(int insertPos,
                      T item)
Specified by:
add in interface ListValue<T>

addNewItem

public final T addNewItem()
Specified by:
addNewItem in interface ListValue<T>

addNewItem

public final T addNewItem(int insertPos)
Specified by:
addNewItem in interface ListValue<T>

remove

public final void remove(T item)
Specified by:
remove in interface ListValue<T>

assign

public void assign(ListValue<T> other)
Specified by:
assign in interface ListValue<T>

castFromImplementation

protected abstract T castFromImplementation(AsnValue value)

createImplementation

protected abstract AsnValue createImplementation(T item)


Copyright 2007-2007 SourceForge. All Rights Reserved.