本文整理汇总了Java中br.com.caelum.vraptor.Validator类的典型用法代码示例。如果您正苦于以下问题:Java Validator类的具体用法?Java Validator怎么用?Java Validator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Validator类属于br.com.caelum.vraptor包,在下文中一共展示了Validator类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: HospitalController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public HospitalController(Result result, Validator validator, SessionComponent sessionComponent) {
this.result = result;
this.validator = validator;
this.sessionComponent = sessionComponent;
this.diretorApplication = new DiretorApplicationImpl();
this.hospitalApplication = new HospitalApplicationImpl();
this.enderecoApplication = new EnderecoApplicationImpl();
}
示例2: EnfermeiroController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public EnfermeiroController(Result result, Validator validator) {
this.result = result;
this.validator = validator;
this.enderecoApplication = new EnderecoApplicationImpl();
this.enfermeiroApplication = new EnfermeiroApplicationImpl();
this.especialidadeApplication = new EspecialidadeApplicationImpl();
}
示例3: SecretarioController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public SecretarioController(Result result, Validator validator) {
this.result = result;
this.validator = validator;
this.usuarioApplication = new UsuarioApplicationImpl();
this.enderecoApplication = new EnderecoApplicationImpl();
this.secretarioApplication = new SecretarioApplicationImpl();
}
示例4: UsuarioController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public UsuarioController(Validator validator, SessionComponent component,
Result result) {
this.usuarioApplication = new UsuarioApplicationImpl();
this.result = result;
this.validator = validator;
this.sessionComponent = component;
}
示例5: BebeController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public BebeController(Result result, Validator validator) {
this.result = result;
this.validator = validator;
this.bebeApplication = new BebeApplicationImpl();
this.partoApplication = new PartoApplicationImpl();
this.medicoApplication = new MedicoApplicationImpl();
this.enfermeiroApplication = new EnfermeiroApplicationImpl();
}
示例6: DiretorController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public DiretorController(Result result, Validator validator) {
this.result = result;
this.validator = validator;
this.usuarioApplication = new UsuarioApplicationImpl();
this.diretorApplication = new DiretorApplicationImpl();
this.enderecoApplication = new EnderecoApplicationImpl();
}
示例7: LoginController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public LoginController(Autenticador autenticador, UsuarioWeb usuarioWeb, Validator validator, Result result) {
this.autenticador = autenticador;
this.usuarioWeb = usuarioWeb;
this.validator = validator;
this.result = result;
}
示例8: MedicoController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public MedicoController(Result result, Validator validator) {
this.result = result;
this.validator = validator;
this.medicoApplication = new MedicoApplicationImpl();
this.especialidadeApplication = new EspecialidadeApplicationImpl();
}
示例9: PartoController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public PartoController(Result result, Validator validator) {
this.result = result;
this.validator = validator;
this.partoApplication = new PartoApplicationImpl();
}
示例10: EspecialidadeController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public EspecialidadeController(Result result, Validator validator) {
this.result = result;
this.validator = validator;
this.especialidadeApplication = new EspecialidadeApplicationImpl();
}
示例11: CitizenController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public CitizenController(Result result, CitizenService service,
Validator validator) {
this.result = result;
this.service = service;
this.validator = validator;
}
示例12: SecurityController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public SecurityController(Result result, UserInfo info, SecurityService service, Validator validator) {
this.result = result;
this.info = info;
this.service = service;
this.validator = validator;
}
示例13: ProjectController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public ProjectController(Result result, ProjectService service, Validator validator) {
this.result = result;
this.service = service;
this.validator = validator;
}
示例14: AreaController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public AreaController(Result result, AreaService service, Validator validator) {
this.result = result;
this.service = service;
this.validator = validator;
}
示例15: VoteController
import br.com.caelum.vraptor.Validator; //导入依赖的package包/类
public VoteController(Result result, VoteService service, Validator validator) {
this.result = result;
this.service = service;
this.validator = validator;
}