org.opennms.netmgt.model
Class OnmsEventCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<OnmsEvent>
                  extended by org.opennms.netmgt.model.OnmsEventCollection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<OnmsEvent>, Collection<OnmsEvent>, Deque<OnmsEvent>, List<OnmsEvent>, Queue<OnmsEvent>

public class OnmsEventCollection
extends LinkedList<OnmsEvent>

OnmsEventCollection class.

Version:
$Id: $
Author:
ranger
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
OnmsEventCollection()
          Constructor for OnmsEventCollection.
OnmsEventCollection(Collection<? extends OnmsEvent> c)
          Constructor for OnmsEventCollection.
 
Method Summary
 Integer getCount()
          getCount
 List<OnmsEvent> getEvents()
          getEvents
 int getTotalCount()
          getTotalCount
 void setEvents(List<OnmsEvent> events)
          setEvents
 void setTotalCount(int count)
          setTotalCount
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

OnmsEventCollection

public OnmsEventCollection()

Constructor for OnmsEventCollection.


OnmsEventCollection

public OnmsEventCollection(Collection<? extends OnmsEvent> c)

Constructor for OnmsEventCollection.

Parameters:
c - a Collection object.
Method Detail

getEvents

public List<OnmsEvent> getEvents()

getEvents

Returns:
a List object.

setEvents

public void setEvents(List<OnmsEvent> events)

setEvents

Parameters:
events - a List object.

getCount

public Integer getCount()

getCount

Returns:
a Integer object.

getTotalCount

public int getTotalCount()

getTotalCount

Returns:
a int.

setTotalCount

public void setTotalCount(int count)

setTotalCount

Parameters:
count - a int.


Copyright © 2011. All Rights Reserved.