• Or do you move all the validation code into the services tier, removing it from the domain class that should be the owner of that knowledge?

    或者可以将所有验证代码移入服务,然后应当是该知识所有者删除吗?

    youdao

  • The invocation handler class is where all of the data validation logic is handled.

    调用处理程序处理所有数据验证逻辑地方

    youdao

  • 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.

    改进数据格式验证过程一步所有的验证逻辑都移至助手中,其它方法可以按需这个类上调用验证逻辑。

    youdao

  • This problem is actually a special case of a much larger class of problems related to user input validation.

    这个问题实际上用户输入验证相关一类问题一个特例

    youdao

  • Because our example application included a business delegate class, we placed the validation logic there.

    因为示例应用程序包含了一个业务委派所以我们在其中放置验证逻辑

    youdao

  • And the validation class itself could be accessed as a web service.

    验证本身也可以作为Web服务而访问。

    youdao

  • Listing 8 shows the Airline class with validation rules added to the constraints block.

    清单8显示airline约束块内添加了验证规则

    youdao

  • This method instructs Grails to metaprogram the validation methods onto the specified domain class as it would normally during run time.

    方法指示Grails验证方法元编程指定类上像通常运行所做的一样。

    youdao

  • Instead, you can use the Hibernate Validator annotations to assign validation criteria to the properties of your entity class, as shown in Listing 13.

    取而代之可以使用HibernateValidator注释实体属性指派验证标准如清单13

    youdao

  • Finally, "Validation" is used as the domain for the class.

    最后,“Validation用作

    youdao

  • As you add validation methods to the Person class, the call to valid? will automatically become smarter.

    随着Person中加入验证方法valid自动的根据这些方法进行验证。

    youdao

  • You could further tighten the system by modifying the validation method voter_is_okay within the DraftBallot class to consult a list of acceptable E-mail addresses.

    可以通过修改draftballot中的验证方法voter_is_okay来加强这种限制,使其在进行验证时参考可接受电子邮件地址

    youdao

  • Along with each implementation class, Castor also generates a descriptor class that contains the binding and validation code.

    除了每个实现Castor生成描述符(descriptor)类,该类包含绑定验证代码。

    youdao

  • It shouldn't come as any surprise, then, that you begin schema validation with an instance of the SchemaFactory class, as shown in Listing 3.

    因此毫不奇怪,进行模式验证首先要创建schemafactory实例如清单3

    youdao

  • The class TradeRequest collects the information entered by the user when filling in a create trade from and also contains a validation method.

    TradeRequest记录用户填写创建交易的表单时的输入信息并且提供一个验证方法

    youdao

  • Any errors arising through the input validation process are raised as instances of the Example_Exception class.

    输入验证过程中发生的任何错误都会产生一个example_exception类实例

    youdao

  • The *.properties files, kept in the class path of the project, contain key-value pairs and are used as a resource bundle to get the locale-specific runtime-resolved validation messages.

    这些 *.properties文件保存该项目的路径中,文件内包含键-值对,可用资源获得特定于本地语言环境的运行时解析的验证消息。

    youdao

  • When included by the main schema for XForms, the code in Listing 5 extends the schema for XForms in a way that allows everyday constructs, like class and id attributes, to pass validation.

    如果包含XForms模式中,清单5所示代码可以扩展 XForms 模式,使得日常所用结构classid属性能够通过验证

    youdao

  • A better way is to place the validation logic in the domain validator class of the Mysql domain (MysqlDomainValidator).

    更好方法确认逻辑置于My sq lMysqlDomainValidator的域确认器

    youdao

  • The wrapper class also handles XSL transformations, namespaces and schema validation if needed.

    包装器必要处理xsl转换名称空间模式检验

    youdao

  • Conceptually, I'll create a custom invocation handler class that performs the validation rules.

    总体来说建立一个执行验证规则的客户调用处理程序。

    youdao

  • This means that if you do your validation while processing the parameters, you can - by throwing an exception - prevent your class from being finalized.

    意味着如果处理参数执行验证可以通过抛出异常预防终结

    youdao

  • There are actually two types of validation error messages - those generated before the HTML form fields are bound to a class and those generated after the form fields are bound to the class.

    实际上两种错误消息类型:在捆绑html表单时候根据类型生成的,提交表单元素绑定生成的。

    youdao

  • The model object is a first-class Rails object that is suitable for production USES, though you might want to add some validation.

    虽然可能添加一些验证,但模型对象适合生产应用的第一级Rails对象。

    youdao

  • If you have process validation information indicating that you can reduce the amount of class 3 solvent to 0.5% or lower in the final product, you can discuss with FDA the possibility of using LOD.

    如果工艺验证信息说明可以3溶剂成品中的数量降低至0.5%以下,你可以FDA讨论使用LOD可能性

    youdao

  • The validation information class requested WAS invalid.

    请求验证信息类别无效

    youdao

  • Supported by the extended class, workflow description language can define the functions of metrics collection, notification and validation for bug track process.

    扩展支持下,工作流描述语言可以描述缺陷跟踪过程中需要的度量采集通知验证等功能

    youdao

  • It was the first across the same industry awarded the national Second-Class Enterprise, with successful validation of the International Quality Certification of ISO9001:2000.

    全国同行业第一个获得国家二级企业,ISO 9001质量体系验证成功国际质量认证:2000年。

    youdao

  • SQL injection vulnerabilities are yet another class of input validation flaws.

    SQL注入攻击一种输入验证上的漏洞。

    youdao

  • Acts as a base class for deriving a validation class so that a value of an object can be verified.

    作为用于派生验证类,以便验证对象

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定