In a classic design, value objects or data transfer objects in those methods are used as method parameters and return values when complex objects are required.
在经典的设计中,这些方法中的值对象或数据传输对象用作方法参数并在需要复杂对象时返回值。
Having defined the operations (or methods), you now need to specify the parameters that you will send to them and the parameters that they will return.
定义好操作(或方法)以后,现在需要指定将向它们发送和从它们返回的参数。
Each of these finder methods will accept different parameters, and each may return one errand or multiple errands.
这些查找器方法中的每一个都将接受不同的参数,每一个都可以返回一个或多个差事。
应用推荐