当前位置: 首页>>代码示例>>Java>>正文


Java Validator类代码示例

本文整理汇总了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();
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:9,代码来源:HospitalController.java

示例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();
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:8,代码来源:EnfermeiroController.java

示例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();
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:8,代码来源:SecretarioController.java

示例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;
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:8,代码来源:UsuarioController.java

示例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();
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:9,代码来源:BebeController.java

示例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();
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:8,代码来源:DiretorController.java

示例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;
}
 
开发者ID:rponte,项目名称:spring-camel,代码行数:7,代码来源:LoginController.java

示例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();
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:7,代码来源:MedicoController.java

示例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();
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:6,代码来源:PartoController.java

示例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();
}
 
开发者ID:aldaypinheiro,项目名称:maternidade,代码行数:6,代码来源:EspecialidadeController.java

示例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;
}
 
开发者ID:uniritter,项目名称:liquid-democracy,代码行数:7,代码来源:CitizenController.java

示例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;
}
 
开发者ID:uniritter,项目名称:liquid-democracy,代码行数:7,代码来源:SecurityController.java

示例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;
}
 
开发者ID:uniritter,项目名称:liquid-democracy,代码行数:6,代码来源:ProjectController.java

示例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;
}
 
开发者ID:uniritter,项目名称:liquid-democracy,代码行数:6,代码来源:AreaController.java

示例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;
}
 
开发者ID:uniritter,项目名称:liquid-democracy,代码行数:6,代码来源:VoteController.java


注:本文中的br.com.caelum.vraptor.Validator类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。