Examples of KeyColumnOfMap


Examples of net.paoding.rose.jade.annotation.KeyColumnOfMap

        Class<?>[] genericTypes = modifier.getGenericReturnTypes();
        if (genericTypes.length < 2) {
            throw new IllegalArgumentException("please set map generic parameters in method: "
                    + modifier.getMethod());
        }
        KeyColumnOfMap mapKey = modifier.getAnnotation(KeyColumnOfMap.class);
        this.keyColumn = (mapKey != null) ? mapKey.value() : null;
        this.keyType = genericTypes[0];
        this.mapper = mapper;
    }
View Full Code Here

Examples of net.paoding.rose.jade.annotation.KeyColumnOfMap

            throw new IllegalArgumentException("please set map generic parameters in method: "
                    + modifier.getMethod());
        }

        // 获取 Key 类型与列
        KeyColumnOfMap mapKey = modifier.getAnnotation(KeyColumnOfMap.class);
        // 设置 Key 类型与列
        this.keyColumn = (mapKey != null) ? mapKey.value() : null;
        this.keyType = genericTypes[0];
        this.valueType = genericTypes[1];
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.