org.opennms.netmgt.model
Class OnmsAlarmCollection

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<OnmsAlarm>
                  extended by org.opennms.netmgt.model.OnmsAlarmCollection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<OnmsAlarm>, Collection<OnmsAlarm>, Deque<OnmsAlarm>, List<OnmsAlarm>, Queue<OnmsAlarm>

public class OnmsAlarmCollection
extends LinkedList<OnmsAlarm>

OnmsAlarmCollection class.

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

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
OnmsAlarmCollection()
          Constructor for OnmsAlarmCollection.
OnmsAlarmCollection(Collection<? extends OnmsAlarm> c)
          Constructor for OnmsAlarmCollection.
 
Method Summary
 Integer getCount()
          getCount
 List<OnmsAlarm> getNotifications()
          getNotifications
 int getTotalCount()
          getTotalCount
 void setEvents(List<OnmsAlarm> 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

OnmsAlarmCollection

public OnmsAlarmCollection()

Constructor for OnmsAlarmCollection.


OnmsAlarmCollection

public OnmsAlarmCollection(Collection<? extends OnmsAlarm> c)

Constructor for OnmsAlarmCollection.

Parameters:
c - a Collection object.
Method Detail

getNotifications

public List<OnmsAlarm> getNotifications()

getNotifications

Returns:
a List object.

setEvents

public void setEvents(List<OnmsAlarm> 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.