com.github.restup.mapping.fields.BasicMappedField Maven / Gradle / Ivy
package com.github.restup.mapping.fields;
import java.lang.reflect.Type;
import java.util.Objects;
import com.github.restup.mapping.fields.composition.CaseSensitivity;
import com.github.restup.mapping.fields.composition.Identifier;
import com.github.restup.mapping.fields.composition.Immutability;
import com.github.restup.mapping.fields.composition.Relation;
import com.github.restup.util.ReflectionUtils;
class BasicMappedField implements MappedField {
private final Type type;
private final String beanName;
private final String apiName;
private final String persistedName;
private final boolean collection;
private final boolean apiProperty;
private final boolean transientField;
private final String[] parameterNames;
private final Identifier identifier;
private final CaseSensitivity caseSensitivity;
private final Immutability immutability;
private final Relation relation;
private final WritableField