public abstract class Mapping<M extends Mapping<M>> extends Object implements Copyable<M>
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
M |
condition(Conditional<?>... conditions) |
M |
conditions(List<Conditional<?>> conditions) |
boolean |
equals(Object o) |
String |
getId()
An optional unique identifier for this mapping.
|
List<Conditional<?>> |
getWhen()
The set of conditions that control whether or not this mapping will be applied.
|
int |
hashCode() |
M |
id(String id) |
protected M |
self() |
public Mapping()
public Mapping(Mapping<?> mapping)
public M conditions(List<Conditional<?>> conditions)
public M condition(Conditional<?>... conditions)
protected M self()
public String getId()
public List<Conditional<?>> getWhen()
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.