|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hops.common.BackEndResult
public class BackEndResult
Field Summary | |
---|---|
db_status |
status
|
Constructor Summary | |
---|---|
BackEndResult()
Creates a new instance of BackEndResult |
Method Summary | |
---|---|
HopsAttribute |
addAttribute(HopsAttribute attribute)
Adds an attribute to the BackEndResult If the key exists, then replaces the old attribute with the new one. |
void |
addAttribute(HopsAttribute[] attributes)
Adds a list of attributes to the BackEndResult |
void |
clear()
Clear the BackEndResult |
HopsAttribute[] |
getAllAttributes()
Returns all the attributes recognized |
HopsAttribute |
getAttribute(java.lang.String key)
Returns an attribute recognized |
java.util.Collection |
getAttributes()
Returns all the attributes stored |
int |
getFrom()
Gets the from of the current pagination. |
java.util.Set |
getKeys()
Returns all the keys of the attributes stored |
int |
getLength()
Gets the length of the current pagination. |
org.apache.log4j.Logger |
getLogger()
Gets the logger |
int |
getRemaining()
Gets the remaining of the current pagination. |
int |
getTotal()
Gets the total of the current pagination. |
void |
setFrom(int from)
Sets the from of the current pagination (called by the OM). |
void |
setTotal(int total)
Sets the total of the current pagination (called by the OM) |
int |
size()
Gets the size of the attributes stored in the BackEndResult |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public db_status status
Constructor Detail |
---|
public BackEndResult()
Method Detail |
---|
public HopsAttribute addAttribute(HopsAttribute attribute)
attribute
- The attribute to add
public void addAttribute(HopsAttribute[] attributes)
attributes
- List of attributes to addpublic HopsAttribute getAttribute(java.lang.String key)
key
- The key of the attribue
public HopsAttribute[] getAllAttributes()
public java.util.Set getKeys()
public java.util.Collection getAttributes()
public void clear()
public int size()
public org.apache.log4j.Logger getLogger()
public void setTotal(int total)
public int getTotal()
public void setFrom(int from)
public int getFrom()
public int getRemaining()
public int getLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |