com.fastchar.extjs.provider.FastExtEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar-extjs Show documentation
Show all versions of fastchar-extjs Show documentation
FastChar-ExtJs is a Java Web framework that uses extjs libraries.Quickly build a background management system
package com.fastchar.extjs.provider;
import com.fastchar.extjs.acceptor.FastExtEnumAcceptor;
public class FastExtEnum extends FastExtBaseEnum {
public static boolean isOverride(Object data) {
if (data == null) {
return false;
}
return FastExtEnumAcceptor.ENUM_MAP.containsKey(data.toString());
}
private Class extends Enum>> enumClass;
public FastExtEnum(String enumName) {
enumClass = FastExtEnumAcceptor.ENUM_MAP.get(enumName);
}
@Override
public Class extends Enum>> getEnumClass() {
return enumClass;
}
public FastExtEnum setEnumClass(Class extends Enum>> enumClass) {
this.enumClass = enumClass;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy