com.github.restup.mapping.fields.BasicIterableField Maven / Gradle / Ivy
package com.github.restup.mapping.fields;
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;
/**
* {@link MappedField} representing an {@link Iterable} type, capturing detail
* of the generic type of items
*/
class BasicIterableField extends BasicMappedField implements IterableField {
private final Class> genericType;
BasicIterableField(Class type, String beanName, String apiName, String persistedName, Identifier identifier,
boolean collection, boolean apiProperty, boolean transientField, CaseSensitivity caseSensitivity,
Relation relationship, Immutability immutability, String[] parameterNames, ReadableField reader,
WritableField