public class PopulateItem extends Object
Constructor and Description |
---|
PopulateItem(Map<String,? extends Object> hash,
XDATUser user,
String element,
boolean throwException)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
PopulateItem(Map<String,? extends Object> hash,
XDATUser user,
String element,
boolean throwException,
XFTItem newItem)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
Modifier and Type | Method and Description |
---|---|
InvalidValueException |
getError() |
XFTItem |
getItem() |
boolean |
hasError() |
static PopulateItem |
Populate(Map<String,? extends Object> hash,
XDATUser user,
String element,
boolean throwException)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
static PopulateItem |
Populate(Map<String,? extends Object> hash,
XDATUser user,
String element,
boolean throwException,
XFTItem newItem)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
static PopulateItem |
Populate(org.apache.turbine.util.RunData data,
String element,
boolean throwException)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
static PopulateItem |
Populate(org.apache.turbine.util.RunData data,
String element,
boolean throwException,
XFTItem newItem)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
void |
setError(InvalidValueException error) |
void |
setItem(XFTItem item) |
public PopulateItem(Map<String,? extends Object> hash, XDATUser user, String element, boolean throwException) throws XFTInitException, ElementNotFoundException, FieldNotFoundException
data
- element
- throwException
- XFTInitException
ElementNotFoundException
FieldNotFoundException
public PopulateItem(Map<String,? extends Object> hash, XDATUser user, String element, boolean throwException, XFTItem newItem) throws XFTInitException, ElementNotFoundException, FieldNotFoundException
data
- element
- throwException
- XFTInitException
ElementNotFoundException
FieldNotFoundException
public static PopulateItem Populate(Map<String,? extends Object> hash, XDATUser user, String element, boolean throwException) throws XFTInitException, ElementNotFoundException, FieldNotFoundException
data
- element
- throwException
- XFTInitException
ElementNotFoundException
FieldNotFoundException
public static PopulateItem Populate(Map<String,? extends Object> hash, XDATUser user, String element, boolean throwException, XFTItem newItem) throws XFTInitException, ElementNotFoundException, FieldNotFoundException
data
- element
- throwException
- XFTInitException
ElementNotFoundException
FieldNotFoundException
public static PopulateItem Populate(org.apache.turbine.util.RunData data, String element, boolean throwException) throws XFTInitException, ElementNotFoundException, FieldNotFoundException
data
- element
- throwException
- XFTInitException
ElementNotFoundException
FieldNotFoundException
public static PopulateItem Populate(org.apache.turbine.util.RunData data, String element, boolean throwException, XFTItem newItem) throws XFTInitException, ElementNotFoundException, FieldNotFoundException
data
- element
- throwException
- XFTInitException
ElementNotFoundException
FieldNotFoundException
public boolean hasError()
public InvalidValueException getError()
public void setError(InvalidValueException error)
error
- The error to set.public XFTItem getItem()
public void setItem(XFTItem item)
item
- The item to set.Copyright © 2015 Neuroinformatics Research Group. All rights reserved.