Package com.fasterxml.jackson.annotation
Class JacksonInject.Value
java.lang.Object
com.fasterxml.jackson.annotation.JacksonInject.Value
- All Implemented Interfaces:
JacksonAnnotationValue<JacksonInject>,Serializable
- Enclosing class:
JacksonInject
public static class JacksonInject.Value
extends Object
implements JacksonAnnotationValue<JacksonInject>, Serializable
Helper class used to contain information from a single
JacksonInject
annotation, as well as to provide possible overrides from non-annotation sources.- Since:
- 2.9
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic JacksonInject.Valuestatic JacksonInject.Valueempty()booleanstatic JacksonInject.Valuestatic JacksonInject.Valuefrom(JacksonInject src) getId()inthashCode()booleanhasId()toString()valueFor()Introspection method that may be used to find actual annotation that may be used as the source for value instance.booleanwillUseInput(boolean defaultSetting) withUseInput(Boolean useInput)
-
Method Details
-
valueFor
Description copied from interface:JacksonAnnotationValueIntrospection method that may be used to find actual annotation that may be used as the source for value instance.- Specified by:
valueForin interfaceJacksonAnnotationValue<JacksonInject>- Returns:
- Annotation class for which instances of this value class are created
-
empty
-
construct
-
from
-
forId
-
withId
-
withUseInput
-
getId
-
getUseInput
-
hasId
public boolean hasId() -
willUseInput
public boolean willUseInput(boolean defaultSetting) -
toString
-
hashCode
public int hashCode() -
equals
-