本文整理汇总了Java中org.springframework.samples.petclinic.Clinic类的典型用法代码示例。如果您正苦于以下问题:Java Clinic类的具体用法?Java Clinic怎么用?Java Clinic使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Clinic类属于org.springframework.samples.petclinic包,在下文中一共展示了Clinic类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: PetTypeEditor
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
public PetTypeEditor(Clinic clinic) {
this.clinic = clinic;
}
示例2: AddPetForm
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
@Autowired
public AddPetForm(Clinic clinic) {
this.clinic = clinic;
}
示例3: AddOwnerForm
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
@Autowired
public AddOwnerForm(Clinic clinic) {
this.clinic = clinic;
}
示例4: EditPetForm
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
@Autowired
public EditPetForm(Clinic clinic) {
this.clinic = clinic;
}
示例5: EditOwnerForm
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
@Autowired
public EditOwnerForm(Clinic clinic) {
this.clinic = clinic;
}
示例6: AddVisitForm
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
@Autowired
public AddVisitForm(Clinic clinic) {
this.clinic = clinic;
}
示例7: FindOwnersForm
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
@Autowired
public FindOwnersForm(Clinic clinic) {
this.clinic = clinic;
}
示例8: ClinicController
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
@Autowired
public ClinicController(Clinic clinic) {
this.clinic = clinic;
}
示例9: setClinic
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
public void setClinic(Clinic clinic) {
Assert.notNull(clinic, "The clinic property is required");
this.clinic = clinic;
}
示例10: setClinic
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
public void setClinic(Clinic clinic) {
this.clinic = clinic;
}
示例11: setClinic
import org.springframework.samples.petclinic.Clinic; //导入依赖的package包/类
/**
* This method is provided to set the Clinic instance being tested by the
* Dependency Injection injection behaviour of the superclass from the
* <code>org.springframework.test</code> package.
*
* @param clinic clinic to test
*/
public void setClinic(Clinic clinic) {
this.clinic = clinic;
}