/** * Return true if the (possibly unresolved) value might be a first class * object. */ public static boolean maybePC(ValueMetaData val) { return maybePC(val.getDeclaredTypeCode(), val.getDeclaredType()); }
@SuppressWarnings("unchecked") public Class<K> getBindableJavaType() { return (Class<K>)fmd.getKey().getDeclaredType(); } }
@SuppressWarnings("unchecked") public Class<K> getBindableJavaType() { return (Class<K>)fmd.getKey().getDeclaredType(); } }
/** * Return true if the (possibly unresolved) value might be a first class * object. */ public static boolean maybePC(ValueMetaData val) { return maybePC(val.getDeclaredTypeCode(), val.getDeclaredType()); }
@SuppressWarnings("unchecked") public Class<K> getBindableJavaType() { return (Class<K>)fmd.getKey().getDeclaredType(); } }
/** * Return true if the (possibly unresolved) value might be a first class * object. */ public static boolean maybePC(ValueMetaData val) { return maybePC(val.getDeclaredTypeCode(), val.getDeclaredType()); }
/** * Returns the bindable Java type of this attribute. * * For PLURAL_ATTRIBUTE, the Java element type is returned. */ @SuppressWarnings("unchecked") public Class<E> getBindableJavaType() { return fmd.getElement().getDeclaredType(); }
/** * Returns the bindable Java type of this attribute. * * If the bindable category of this attribute is PLURAL_ATTRIBUTE, the Java element type * is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type * of the represented entity or attribute is returned. */ @SuppressWarnings("unchecked") public final Class<T> getBindableJavaType() { return fmd.getElement().getDeclaredType(); }
/** * Returns the bindable Java type of this attribute. * * For PLURAL_ATTRIBUTE, the Java element type is returned. */ @SuppressWarnings("unchecked") public Class<E> getBindableJavaType() { return fmd.getElement().getDeclaredType(); }
/** * Returns the bindable Java type of this attribute. * * If the bindable category of this attribute is PLURAL_ATTRIBUTE, the Java element type * is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type * of the represented entity or attribute is returned. */ @SuppressWarnings("unchecked") public final Class<T> getBindableJavaType() { return fmd.getElement().getDeclaredType(); }
/** * Returns the bindable Java type of this attribute. * * If the bindable category of this attribute is PLURAL_ATTRIBUTE, the Java element type * is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type * of the represented entity or attribute is returned. */ @SuppressWarnings("unchecked") public final Class<T> getBindableJavaType() { return fmd.getElement().getDeclaredType(); }
@SuppressWarnings("unchecked") public Class<K> getBindableJavaType() { return (Class<K>)fmd.getKey().getDeclaredType(); } }
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 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; }
/** * Return the relation type of the given field. */ private static Class getRelationType(FieldMetaData fm) { if (fm.isDeclaredTypePC()) return fm.getDeclaredType(); if (fm.getElement().isDeclaredTypePC()) return fm.getElement().getDeclaredType(); if (fm.getKey().isDeclaredTypePC()) return fm.getKey().getDeclaredType(); return null; }
/** * Returns the type that represents the type of this attribute. */ @SuppressWarnings("unchecked") public final Type<Y> getType() { return owner.model.getType(isCollection() ? fmd.getElement().getDeclaredType() : fmd.getDeclaredType()); }