public static class JacksonInject.Value extends Object implements JacksonAnnotationValue<JacksonInject>, Serializable
JacksonInject
annotation, as well as to provide possible overrides from non-annotation sources.Modifier and Type | Field and Description |
---|---|
protected Object |
_id
Id to use to access injected value; if `null`, "default" name, derived
from accessor will be used.
|
protected Boolean |
_useInput |
protected static JacksonInject.Value |
EMPTY |
Modifier | Constructor and Description |
---|---|
protected |
Value(Object id,
Boolean useInput) |
Modifier and Type | Method and Description |
---|---|
static JacksonInject.Value |
construct(Object id,
Boolean useInput) |
static JacksonInject.Value |
empty() |
boolean |
equals(Object o) |
static JacksonInject.Value |
forId(Object id) |
static JacksonInject.Value |
from(JacksonInject src) |
Object |
getId() |
Boolean |
getUseInput() |
int |
hashCode() |
boolean |
hasId() |
String |
toString() |
Class<JacksonInject> |
valueFor()
Introspection method that may be used to find actual annotation that may be used
as the source for value instance.
|
boolean |
willUseInput(boolean defaultSetting) |
JacksonInject.Value |
withId(Object id) |
JacksonInject.Value |
withUseInput(Boolean useInput) |
protected static final JacksonInject.Value EMPTY
protected final Object _id
protected final Boolean _useInput
public Class<JacksonInject> valueFor()
JacksonAnnotationValue
valueFor
in interface JacksonAnnotationValue<JacksonInject>
public static JacksonInject.Value empty()
public static JacksonInject.Value construct(Object id, Boolean useInput)
public static JacksonInject.Value from(JacksonInject src)
public static JacksonInject.Value forId(Object id)
public JacksonInject.Value withId(Object id)
public JacksonInject.Value withUseInput(Boolean useInput)
public Object getId()
public Boolean getUseInput()
public boolean hasId()
public boolean willUseInput(boolean defaultSetting)
Copyright © 2008–2018 FasterXML. All rights reserved.