Class ContentHolderForInput
java.lang.Object
com.orchestranetworks.rest.serialization.ContentHolder
com.orchestranetworks.rest.serialization.ContentHolderForInput
Provides a facade to automatically parse a part of the request body
that may represent a table record.
The parsed data can later be copied into a ValueContextForUpdate
to create a new table record or update an existing one.
- Since:
- 6.0.0
-
Method Summary
Modifier and TypeMethodDescriptionfinal ContentHolderForInput
Unwraps thisContentHolder
to get aContentHolderForInput
if it has been instantiated as so.abstract void
copyTo
(ValueContextForUpdate aValueContextForUpdate) Fills the providedValueContextForUpdate
with the data holds in thisContentHolderForInput
.final boolean
Returnstrue
if this content holder is for input,false
otherwise.Methods inherited from class com.orchestranetworks.rest.serialization.ContentHolder
get, get, getBoolean, getDate, getInt, getList, getString
-
Method Details
-
isForInput
public final boolean isForInput()Description copied from class:ContentHolder
Returnstrue
if this content holder is for input,false
otherwise.- Specified by:
isForInput
in classContentHolder
- See Also:
-
asContentHolderForInput
Description copied from class:ContentHolder
Unwraps thisContentHolder
to get aContentHolderForInput
if it has been instantiated as so.- Specified by:
asContentHolderForInput
in classContentHolder
- Returns:
- the unwrapped
ContentHolderForInput
. - See Also:
-
copyTo
Fills the providedValueContextForUpdate
with the data holds in thisContentHolderForInput
.- Parameters:
aValueContextForUpdate
- theValueContextForUpdate
to fill.
-