Class SeqCodeGenerator
- java.lang.Object
-
- org.beangle.ems.dictionary.service.impl.ScriptCodeGenerator
-
- org.beangle.ems.dictionary.service.impl.SeqCodeGenerator
-
- All Implemented Interfaces:
CodeGenerator
public class SeqCodeGenerator extends ScriptCodeGenerator
- Version:
- $Id: SeqCodeGenerator.java May 5, 2011 3:57:11 PM chaostone $
- Author:
- chaostone
-
-
Field Summary
Fields Modifier and Type Field Description static StringSEQ-
Fields inherited from class org.beangle.ems.dictionary.service.impl.ScriptCodeGenerator
interpreter
-
Fields inherited from interface org.beangle.ems.dictionary.service.CodeGenerator
MARK, MAX_LENGTH
-
-
Constructor Summary
Constructors Constructor Description SeqCodeGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringgen(CodeFixture fixture)根据请求的实体,生成代码protected CodeScriptgetCodeScript(String entityName)voidsetEntityDao(org.beangle.commons.dao.EntityDao entityDao)voidsetUp()Stringtest(CodeFixture fixture, CodeScript codeScript)-
Methods inherited from class org.beangle.ems.dictionary.service.impl.ScriptCodeGenerator
isValidCode, test
-
-
-
-
Field Detail
-
SEQ
public static final String SEQ
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws Exception- Overrides:
setUpin classScriptCodeGenerator- Throws:
Exception
-
getCodeScript
protected CodeScript getCodeScript(String entityName)
-
gen
public String gen(CodeFixture fixture)
根据请求的实体,生成代码- Specified by:
genin interfaceCodeGenerator- Overrides:
genin classScriptCodeGenerator
-
test
public String test(CodeFixture fixture, CodeScript codeScript)
-
setEntityDao
public void setEntityDao(org.beangle.commons.dao.EntityDao entityDao)
-
-