If you have this option disabled, you get a skeleton class without the business logic for the "add" operation.
如果您使这个选项失去活性,您将得到一个没有“添加”操作的业务逻辑性的框架类。
Most applications have custom logic that authorizes users to perform an operation not only on a class, but also on an instance of that class.
大多数应用程序都有定制逻辑,它授权用户不仅仅在类上执行操作,而且还在该类的实例上执行操作。
Those options allow for the reuse of existing logic as services while serving a new class of consumers.
这些选项允许将现有逻辑作为服务重用,同时提供了新的客户类别。
The invocation handler class will also delegate method calls to a real implementation class in order to process the core business logic.
调用处理程序类还会把方法调用委托到真正的实现类,以便处理核心业务逻辑。
Because our example application included a business delegate class, we placed the validation logic there.
因为示例应用程序包含了一个业务委派类,所以我们在其中放置了验证逻辑。
The idea is to keep the controller class as simple as possible to allow business logic to be abstracted to a helper class.
这个想法是为了使控制器类尽可能保持简单以允许业务逻辑被抽象为助手类。
Because the trait's methods aren't really a "part" of any class until the trait is implemented by that class, the compiler can leave out checking some aspects of the methods' logic until later.
因为在类实现特征的方法之前,它实际上并不是任何类的一“部分”,因此编译器可将方法的某些逻辑方面留到以后再处理。
The concrete DAO class contains logic for accessing data from a specific data source.
具体的dao类包含访问特定数据源的数据的逻辑。
This is a controller class that has the responsibility of managing the execution of the business logic.
这是一个控制器类,其职责是管理业务逻辑的执行。
Let's encapsulate that logic with a new class as shown in Listing 5.
让我们使用清单5所示的新类封装这种逻辑。
This class does most of the work of contributing to the transformation, providing you with a place to put your customized processing logic.
该类完成了构建转换的大多数工作,提供了放置您自定义的过程逻辑的地方。
For now, a controller class is a placeholder for one or more classes that would be fleshed out during design to implement the business logic of your system.
现在,控制器类是设计实现系统商业逻辑填充的一个或多个类的位置保持器。
A class for each style sheet instruction type that contains the logic for that instruction.
用于每个包含那个指令逻辑的样式表类型的类。
If a data logic method in the UserDefinedPushDownMethodsImpl class throws an exception, you can define and create an instance of the same type of exception inside the method.
如果userdefinedpushdownmethodsimpl类中的数据逻辑方法抛出异常,用户可以在方法内部定义并创建一个与异常具有相同类型的实例。
By factoring some logic out of your advice and into a helper class (or method), you can write tests that check your application's crosscutting behavior independent of its crosscutting specification.
通过将一些逻辑从建议中分离到helper类中(或者方法中),可以编写与横切规范无关的、检查应用程序横切行为的测试。
Class wrapping: wrapping or replacing a target class with another class that contains instrumentation logic.
类包装:用另一个包含工具逻辑的类包装或替换目标类。
You need to bypass this logic to effectively always assure that the validate flag is set to true; higher up in the class, it is initialized with a default value of false.
为了有效地始终确保将验证标志设置为true,您需要绕开此逻辑;在类的上部,此值初始化时使用的缺省值为false。
Given that I'm probably going to be using a Stack instance throughout my behavior class, I might as well push (no pun intended) that logic into a fixture, as I've done in Listing 7.
由于我可能在整个行为类中使用一个Stack实例,我可能也会将那种逻辑推入(这里并非有意使用双关语)到一个fixture中,正如清单7中那样。
By extending the PasswordHandler interface, a developer can create a class to implement the password-checking logic.
通过扩展PasswordHandler接口,开发人员可以创建一个类来实现密码检查逻辑。
The runtime queries the Permission class about its implication reasoning logic by calling a method, aptly named implies.
运行时通过调用一个恰当地取名为implies的方法来查询permission类的隐含推断逻辑。
The second class is a stateless session bean, which provides the business logic.
第二个类是一个StatelessSessionbean,它提供业务逻辑。
Alter the logic in the main method of the OGAdmin class to make it acceptable to provide the a "l argument by itself."
更改ogadmin类的main方法中的逻辑,使其能接受仅仅提供—l参数的情况。
Taking a lightweight controller approach to designing the portlet, this class is primarily a lightweight object containing very little business logic.
这个类采用一种轻量级的控制器方法来设计portlet,所以它主要是一个轻量级的对象,包含有极少的业务逻辑。
A better way is to place the validation logic in the domain validator class of the Mysql domain (MysqlDomainValidator).
更好的方法是将确认逻辑置于My sq l域MysqlDomainValidator的域确认器类。
Custom validators can contain detailed logic to examine the elements of a topology through the API, such as the static methods of the ValidatorUtils class.
定制确认器可以包含具体的逻辑,以通过API检查拓扑的元素,例如validatorutils类的静态方法。
A class level constraint has access to the bean instance rather than one of its properties and applies some constraint logic based on several properties.
类级别的约束能获取Bean实例,而不是它的某一属性,还能应用一些基于若干属性的约束。
Continuing with this design, you can place all of the business logic and transition mapping in a utility class for use by both our controller and JSPs.
继续这个设计,您可以将所有的业务逻辑和转换映射放在一个实用程序类中,以供我们的控制器和JSP使用。
The first step to improving our data-format validation procedure is to move all the validation logic into a single helper class, from which other methods can invoke it as needed.
改进数据格式验证过程的第一步是将所有的验证逻辑都移至一个助手类中,其它方法可以按需从这个类上调用验证逻辑。
The first step to improving our data-format validation procedure is to move all the validation logic into a single helper class, from which other methods can invoke it as needed.
改进数据格式验证过程的第一步是将所有的验证逻辑都移至一个助手类中,其它方法可以按需从这个类上调用验证逻辑。
应用推荐