All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.beetl.sql.clazz.MockClassDesc Maven / Gradle / Ivy

There is a newer version: 3.30.14-RELEASE
Show newest version
package org.beetl.sql.clazz;

import java.util.Map;

/**
 * 一个通过表TableDesc获得一个ClassDesc,可以用于代码生成一个类
 */
public class MockClassDesc extends  ClassDesc {
    protected MockClassDesc(TableDesc table, NameConversion nc) {
        super(table, nc);
    }

    @Override
    public Map getIdMethods() {
        throw new IllegalStateException("虚拟类,无此属性");
    }


    @Override
    public ClassAnnotation getClassAnnotation(){
         throw new IllegalStateException("虚拟类,无此属性");
    }


    @Override
    public Class getTargetClass() {
        throw new IllegalStateException("虚拟类,无此属性");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy