/** * Convert the field value to a collection. Handles collections and * arrays by default. */ protected Collection toCollection(Object val) { if (field.getTypeCode() == JavaTypes.COLLECTION) return (Collection) val; return JavaTypes.toList(val, field.getElement().getType(), false); }
/** * Convert the field value to a collection. Handles collections and * arrays by default. */ protected Collection toCollection(Object val) { if (field.getTypeCode() == JavaTypes.COLLECTION) return (Collection) val; return JavaTypes.toList(val, field.getElement().getType(), false); }
/** * Convert the field value to a collection. Handles collections and * arrays by default. */ protected Collection toCollection(Object val) { if (field.getTypeCode() == JavaTypes.COLLECTION) return (Collection) val; return JavaTypes.toList(val, field.getElement().getType(), false); }
/** * Convert the field value to a collection. Handles collections and * arrays by default. */ protected Collection toCollection(Object val) { if (field.getTypeCode() == JavaTypes.COLLECTION) return (Collection) val; return JavaTypes.toList(val, field.getElement().getType(), false); }
/** * Convert the field value to a collection. Handles collections and * arrays by default. */ protected Collection toCollection(Object val) { if (field.getTypeCode() == JavaTypes.COLLECTION) return (Collection) val; return JavaTypes.toList(val, field.getElement().getType(), false); }
public LRSProxyCollection(LRSCollectionFieldStrategy strat) { super(strat.getFieldMapping().getElement().getDeclaredType(), strat.getFieldMapping().getOrderColumn() != null); _strat = strat; }
public LRSProxyCollection(LRSCollectionFieldStrategy strat) { super(strat.getFieldMapping().getElement().getDeclaredType(), strat.getFieldMapping().getOrderColumn() != null); _strat = strat; }
public LRSProxyCollection(LRSCollectionFieldStrategy strat) { super(strat.getFieldMapping().getElement().getDeclaredType(), strat.getFieldMapping().getOrderColumn() != null); _strat = strat; }
public LRSProxyCollection(LRSCollectionFieldStrategy strat) { super(strat.getFieldMapping().getElement().getDeclaredType(), strat.getFieldMapping().getOrderColumn() != null); _strat = strat; }
public LRSProxyCollection(LRSCollectionFieldStrategy strat) { super(strat.getFieldMapping().getElement().getDeclaredType(), strat.getFieldMapping().getOrderColumn() != null); _strat = strat; }
public LRSProxyMap(LRSMapFieldStrategy strat) { super(strat.getFieldMapping().getKey().getDeclaredType(), strat.getFieldMapping().getElement().getDeclaredType()); _strat = strat; }
public LRSProxyMap(LRSMapFieldStrategy strat) { super(strat.getFieldMapping().getKey().getDeclaredType(), strat.getFieldMapping().getElement().getDeclaredType()); _strat = strat; }
public LRSProxyMap(LRSMapFieldStrategy strat) { super(strat.getFieldMapping().getKey().getDeclaredType(), strat.getFieldMapping().getElement().getDeclaredType()); _strat = strat; }
public LRSProxyMap(LRSMapFieldStrategy strat) { super(strat.getFieldMapping().getKey().getDeclaredType(), strat.getFieldMapping().getElement().getDeclaredType()); _strat = strat; }
public LRSProxyMap(LRSMapFieldStrategy strat) { super(strat.getFieldMapping().getKey().getDeclaredType(), strat.getFieldMapping().getElement().getDeclaredType()); _strat = strat; }
/** * Constructor. */ public FieldMapping(String name, Class<?> type, ClassMapping owner) { super(name, type, owner); _info = owner.getMappingRepository().newMappingInfo(this); _val = (ValueMapping) getValue(); _key = (ValueMapping) getKey(); _elem = (ValueMapping) getElement(); setUsesIntermediate(false); setUsesImplData(Boolean.FALSE); }
/** * Constructor. */ public FieldMapping(String name, Class<?> type, ClassMapping owner) { super(name, type, owner); _info = owner.getMappingRepository().newMappingInfo(this); _val = (ValueMapping) getValue(); _key = (ValueMapping) getKey(); _elem = (ValueMapping) getElement(); setUsesIntermediate(false); setUsesImplData(Boolean.FALSE); }
/** * Constructor. */ public FieldMapping(String name, Class<?> type, ClassMapping owner) { super(name, type, owner); _info = owner.getMappingRepository().newMappingInfo(this); _val = (ValueMapping) getValue(); _key = (ValueMapping) getKey(); _elem = (ValueMapping) getElement(); setUsesIntermediate(false); setUsesImplData(Boolean.FALSE); }
/** * Constructor. */ public FieldMapping(String name, Class<?> type, ClassMapping owner) { super(name, type, owner); _info = owner.getMappingRepository().newMappingInfo(this); _val = (ValueMapping) getValue(); _key = (ValueMapping) getKey(); _elem = (ValueMapping) getElement(); setUsesIntermediate(false); setUsesImplData(Boolean.FALSE); }
/** * Constructor. */ public FieldMapping(String name, Class type, ClassMapping owner) { super(name, type, owner); _info = owner.getMappingRepository().newMappingInfo(this); _val = (ValueMapping) getValue(); _key = (ValueMapping) getKey(); _elem = (ValueMapping) getElement(); setUsesIntermediate(false); setUsesImplData(Boolean.FALSE); }