Package com.dietsodasoftware.yail.xmlrpc.client.annotations

Examples of com.dietsodasoftware.yail.xmlrpc.client.annotations.TableName


            }
    }

    public static <T> String getTableNameForModel(Class<T> modelClass){
        if( modelClass.isAnnotationPresent(TableName.class)){
            final TableName tableAnnotation = modelClass.getAnnotation(TableName.class);
            return tableAnnotation.table();
        } else {
            throw new IllegalArgumentException("Must provide the return type Model class annotated by @TableName on class " + modelClass.getName());
        }
    }
View Full Code Here

TOP

Related Classes of com.dietsodasoftware.yail.xmlrpc.client.annotations.TableName

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.