public SingleTypePropertyInfoImpl(ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { super(classInfo, seed); if(this instanceof RuntimePropertyInfo) { Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor(); if(getAdapter()!=null && !isCollection()) // adapter for a single-value property is handled by accessor. // adapter for a collection property is handled by lister. rawAcc = rawAcc.adapt(((RuntimePropertyInfo)this).getAdapter()); this.acc = rawAcc; } else this.acc = null; }
public SingleTypePropertyInfoImpl(ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { super(classInfo, seed); if(this instanceof RuntimePropertyInfo) { Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor(); if(getAdapter()!=null && !isCollection()) // adapter for a single-value property is handled by accessor. // adapter for a collection property is handled by lister. rawAcc = rawAcc.adapt(((RuntimePropertyInfo)this).getAdapter()); this.acc = rawAcc; } else this.acc = null; }
public SingleTypePropertyInfoImpl(ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { super(classInfo, seed); if(this instanceof RuntimePropertyInfo) { Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor(); if(getAdapter()!=null && !isCollection()) // adapter for a single-value property is handled by accessor. // adapter for a collection property is handled by lister. rawAcc = rawAcc.adapt(((RuntimePropertyInfo)this).getAdapter()); this.acc = rawAcc; } else this.acc = null; }
public SingleTypePropertyInfoImpl(ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { super(classInfo, seed); if(this instanceof RuntimePropertyInfo) { Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor(); if(getAdapter()!=null && !isCollection()) // adapter for a single-value property is handled by accessor. // adapter for a collection property is handled by lister. rawAcc = rawAcc.adapt(((RuntimePropertyInfo)this).getAdapter()); this.acc = rawAcc; } else this.acc = null; }