public class MessageList extends java.util.ArrayList<Message>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
serialVersionUID
|
Constructor and Description |
---|
MessageList() |
Modifier and Type | Method and Description |
---|---|
int |
countByType(Message.Type _type)
Devuelve el número de mensajes en esta lista cuyo tipo coincide con el tipo pasado por parámetro
|
java.util.Collection<java.lang.String> |
getErrors()
devuelve los mensajes de tipo ERROR de esta lista
|
java.util.Collection<java.lang.String> |
getInfos()
Devuelve los mensajes de tipo INFO de esta lista
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
private static final long serialVersionUID
public int countByType(Message.Type _type)
_type
- tipo de mensajepublic java.util.Collection<java.lang.String> getErrors()
public java.util.Collection<java.lang.String> getInfos()