/** * Get the AnyType with the specified parameters. * * @param metaType meta type * @param identifierType identifier type * @return AnyType * @deprecated use {@link TypeFactory#any(Type, Type, boolean)} instead */ @Deprecated public Type any(Type metaType, Type identifierType) { return any( metaType, identifierType, true ); }
@Override public Type any(Type metaType, Type identifierType) { return typeResolver.getTypeFactory().any( metaType, identifierType ); } }
public Type getType() throws MappingException { final Type metaType = getMetadata().getTypeResolver().heuristicType( metaTypeName ); return getMetadata().getTypeResolver().getTypeFactory().any( metaValues == null ? metaType : new MetaType( metaValues, metaType ), getMetadata().getTypeResolver().heuristicType( identifierTypeName ), isLazy() ); }
/** * {@inheritDoc} */ public Type any(Type metaType, Type identifierType) { return typeResolver.getTypeFactory().any( metaType, identifierType ); } }
/** * {@inheritDoc} */ public Type any(Type metaType, Type identifierType) { return typeResolver.getTypeFactory().any( metaType, identifierType ); } }
public Type getType() throws MappingException { final Type metaType = getMappings().getTypeResolver().heuristicType( metaTypeName ); return getMappings().getTypeResolver().getTypeFactory().any( metaValues == null ? metaType : new MetaType( metaValues, metaType ), getMappings().getTypeResolver().heuristicType( identifierTypeName ) ); }
public Type getType() throws MappingException { final Type metaType = getMappings().getTypeResolver().heuristicType( metaTypeName ); return getMappings().getTypeResolver().getTypeFactory().any( metaValues == null ? metaType : new MetaType( metaValues, metaType ), getMappings().getTypeResolver().heuristicType( identifierTypeName ) ); }