• 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 模式,使得日常所用结构(如class和id属性)能够通过验证。

    youdao

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

    更好的方法是将确认逻辑置于My sq l域MysqlDomainValidator的域确认器类。

    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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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