Class DefaultErrors
- java.lang.Object
-
- org.onehippo.forge.pageflow.core.rt.impl.DefaultErrors
-
- All Implemented Interfaces:
Serializable
,Errors
public class DefaultErrors extends Object implements Errors
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultErrors()
DefaultErrors(ErrorItem... itemArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addItem(ErrorItem item)
Add anErrorItem
to thisErrors
.void
clear()
Clear out all theErrorItem
s in thisErrors
.boolean
equals(Object o)
Compares the specified object with thisErrors
for equality.List<ErrorItem>
getItems()
Return an unmodifiable list ofErrorItem
s in thisErrors
.int
hashCode()
Returns the hash code value for thisErrors
.boolean
isEmpty()
Return true if there's no errors.boolean
removeItem(ErrorItem item)
String
toString()
-
-
-
Constructor Detail
-
DefaultErrors
public DefaultErrors()
-
DefaultErrors
public DefaultErrors(ErrorItem... itemArray)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from interface:Errors
Return true if there's no errors.
-
addItem
public boolean addItem(ErrorItem item)
Description copied from interface:Errors
Add anErrorItem
to thisErrors
.
-
removeItem
public boolean removeItem(ErrorItem item)
Description copied from interface:Errors
- Specified by:
removeItem
in interfaceErrors
- Parameters:
item
- anErrorItem
- Returns:
- true if removed
-
getItems
public List<ErrorItem> getItems()
Description copied from interface:Errors
Return an unmodifiable list ofErrorItem
s in thisErrors
.
-
clear
public void clear()
Description copied from interface:Errors
Clear out all theErrorItem
s in thisErrors
.
-
equals
public boolean equals(Object o)
Description copied from interface:Errors
Compares the specified object with thisErrors
for equality.
-
hashCode
public int hashCode()
Description copied from interface:Errors
Returns the hash code value for thisErrors
.
-
-