public class IfParamEqual extends ObjectCollectionProvider
If the parameter value doesn't exist or is null, an exception is thrown.
Constructor and Description |
---|
IfParamEqual() |
Modifier and Type | Method and Description |
---|---|
ObjectCollection |
get()
Gets or creates an object of type
T . |
DictionaryProvider |
getDictionary() |
String |
getKey() |
String |
getValue() |
ObjectCollectionProvider |
getWhenEqual() |
ObjectCollectionProvider |
getWhenNotEqual() |
void |
setDictionary(DictionaryProvider dictionary) |
void |
setKey(String key) |
void |
setValue(String value) |
void |
setWhenEqual(ObjectCollectionProvider whenEqual) |
void |
setWhenNotEqual(ObjectCollectionProvider whenNotEqual) |
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public ObjectCollectionProvider getWhenEqual()
public void setWhenEqual(ObjectCollectionProvider whenEqual)
public ObjectCollectionProvider getWhenNotEqual()
public void setWhenNotEqual(ObjectCollectionProvider whenNotEqual)
public DictionaryProvider getDictionary()
public void setDictionary(DictionaryProvider dictionary)
public String getKey()
public void setKey(String key)
public String getValue()
public void setValue(String value)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.