public class PropertyWhenPresentMapping extends PropertyMapping
column
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ColumnMappingVisitor<R> visitor) |
static PropertyWhenPresentMapping |
of(SqlColumn<?> column,
String property,
Supplier<?> valueSupplier) |
boolean |
shouldRender() |
of, property
columnName, mapColumn
public boolean shouldRender()
public <R> R accept(ColumnMappingVisitor<R> visitor)
accept
in class PropertyMapping
public static PropertyWhenPresentMapping of(SqlColumn<?> column, String property, Supplier<?> valueSupplier)
Copyright © 2016–2021 MyBatis.org. All rights reserved.