public class NameMapping
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
MappedFields |
asMappedFields() |
static NameMapping |
empty() |
MappedField |
find(int id) |
MappedField |
find(java.lang.Iterable<java.lang.String> names) |
MappedField |
find(java.lang.Iterable<java.lang.String> names,
java.lang.String name) |
MappedField |
find(java.util.List<java.lang.String> names) |
MappedField |
find(java.lang.String... names) |
static NameMapping |
of(java.util.List<MappedField> fields) |
static NameMapping |
of(MappedField... fields) |
static NameMapping |
of(MappedFields fields) |
java.lang.String |
toString() |
public static NameMapping empty()
public static NameMapping of(MappedField... fields)
public static NameMapping of(java.util.List<MappedField> fields)
public static NameMapping of(MappedFields fields)
public MappedField find(int id)
public MappedField find(java.lang.String... names)
public MappedField find(java.util.List<java.lang.String> names)
public MappedField find(java.lang.Iterable<java.lang.String> names)
public MappedField find(java.lang.Iterable<java.lang.String> names, java.lang.String name)
public MappedFields asMappedFields()
public java.lang.String toString()
toString
in class java.lang.Object