|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.BaseServiceOperation.FieldData
protected static final class BaseServiceOperation.FieldData
The set of field data complete with methods to retrieve it based upon FieldNames
Constructor Summary | |
---|---|
BaseServiceOperation.FieldData(java.util.Map<java.lang.String,SDataResourceElement> dataMap)
Constructor |
Method Summary | |
---|---|
boolean |
contains(BaseServiceOperation.FieldNames... fields)
Returns true if and only if the data contains information for all the specified fields |
java.lang.String |
getValue(BaseServiceOperation.FieldNames field)
Returns the value of the given field, as a String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseServiceOperation.FieldData(java.util.Map<java.lang.String,SDataResourceElement> dataMap)
dataMap
- MapMethod Detail |
---|
public boolean contains(BaseServiceOperation.FieldNames... fields)
fields
- the list of fields to check
public java.lang.String getValue(BaseServiceOperation.FieldNames field)
field
- the field whose value is wanted
java.lang.NullPointerException
- if the field is not in the data or if the field is a null
reference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |