- java.lang.Object
-
- org.jooq.meta.jaxb.LambdaConverter
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class LambdaConverter extends Object implements Serializable, XMLAppendable
A converter taking two lambda definitions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LambdaConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetFrom()The implementation ofConverter.from(Object).StringgetTo()The implementation ofConverter.to(Object).inthashCode()BooleanisNullable()voidsetFrom(String value)The implementation ofConverter.from(Object).voidsetNullable(Boolean value)Sets the value of the nullable property.voidsetTo(String value)The implementation ofConverter.to(Object).StringtoString()LambdaConverterwithFrom(String value)The implementation ofConverter.from(Object).LambdaConverterwithNullable(Boolean value)LambdaConverterwithTo(String value)The implementation ofConverter.to(Object).
-
-
-
Method Detail
-
getFrom
public String getFrom()
The implementation ofConverter.from(Object).
-
setFrom
public void setFrom(String value)
The implementation ofConverter.from(Object).
-
getTo
public String getTo()
The implementation ofConverter.to(Object).
-
setTo
public void setTo(String value)
The implementation ofConverter.to(Object).
-
isNullable
public Boolean isNullable()
Whether to useConverter.ofNullable(Class, Class, java.util.function.Function, java.util.function.Function)orConverter.of(Class, Class, java.util.function.Function, java.util.function.Function).- Returns:
- possible object is
Boolean
-
setNullable
public void setNullable(Boolean value)
Sets the value of the nullable property.- Parameters:
value- allowed object isBoolean
-
withFrom
public LambdaConverter withFrom(String value)
The implementation ofConverter.from(Object).
-
withTo
public LambdaConverter withTo(String value)
The implementation ofConverter.to(Object).
-
withNullable
public LambdaConverter withNullable(Boolean value)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-