Package com.impetus.kundera.metadata.model.attributes

Examples of com.impetus.kundera.metadata.model.attributes.DefaultMapAttribute


                            java.lang.reflect.Type[] arguments = ((ParameterizedType) attribute.getGenericType())
                                    .getActualTypeArguments();

                            Type keyType = new TypeBuilder<X>(null, getPersistentAttributeType(attribute))
                                    .buildType(getTypedClass(arguments[0]));
                            pluralAttribute = new DefaultMapAttribute(attributeType, attribute.getName(),
                                    getAttributeType(), managedType, attribute, (Class<Map<T, ?>>) attribute.getType(),
                                    keyType);
                        }
                        ((AbstractManagedType<X>) managedType).addPluralAttribute(attribute.getName(), pluralAttribute);
                    }
View Full Code Here

TOP

Related Classes of com.impetus.kundera.metadata.model.attributes.DefaultMapAttribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.