The following example shows how to implement a validation rule.
下面的示例演示如何实现验证规则。
Used to identify the importance of a validation rule that is run in a load test.
用来识别在负载测试中执行之验证规则的重要性。
Select Add next to the validation rules field again to define the second validation rule.
再次选择Validation rules字段旁的Add以定义第二条验证规则。
A validation rule that is used to validate the selected option from an HTML select tag.
一个验证规则,它用于验证HTML选择标记中的选定选项的。
Supports a model validation rule that warns you when semantic elements are placed in package.
支持一个模型验证规则,它警告您语义学元素何时被放置到包中。
In the Add a variable validation rule window, select Specify an invalid value, then Next.
在Addavariablevalidation rule窗口中,选择Specifyan invalidvalue,然后单击Next。
There is no way to override or turn off a test-level validation rule for a given request.
无法对给定的请求重写或关闭测试级验证规则。
In the Add a variable validation rule window, select Specify an invalid value and click Next.
在Addavariablevalidation rule窗口中,选择Specifyan invalidvalue并单击Next。
Provides a container for a regular-expression client validation rule that is sent to the browser.
为发送到浏览器的正则表达式客户端验证规则提供容器。
Each property has some restriction or validation rule attached to it. You'll assign the following rules
每个属性都有一些与之关联的限制或验证规则。
In such cases, just ignore the validation rule warnings about semantic content in the Package stereotype.
在这种情况下,我们忽略在包模板中验证规则关于语义内容的警告。
In other words, adding a test-level validation rule is a shortcut for adding the same rule to every request.
换句话说,添加测试级验证规则是向每个请求添加相同规则的快捷方式。
We'll need some error messages of course, a set for each validated property, one message per validation rule.
很显然,我们需要一些错误消息,每个验证的属性都需要一套,每个验证规则需要一条消息。
Rather than having each object maintain its own validation, you merely encode the correct validation rule for each object.
您只要为每个对象编码正确的验证规则,而不是让每个对象维护自己的验证。
To define the first validation rule, select Specify a valid value in the Add a variable validation rule window, then Next.
要定义第一条验证规则,在Addavariablevalidation rule窗口中选择Specify avalidvalue,然后单击 Next。
This isn't ideal because it forces users to do more work and forces you to write another validation rule to make sure that they did it correctly.
这种做法不是很理想,因为它要求用户做更多的工作,而且还要求必须要编写另一个验证规则来确保用户能正确输入。
For instance, I could write a validation rule asserting that a given parameter was not null and then reuse it across all methods needing the same rule.
例如,我可以写一个验证规则,用于断言指定参数不为null,然后在所有需要同样规则的方法中重用它。
A validation rule to handle invalid messages in sequence diagrams has been introduced. The constraint for this rule can be found in this UML 2.2 specification
序列图中处理无效消息的验证规则会得到引入。
If that happens, you can either ignore the warning or tweak your validation preferences to make Rational Application Developer ignore a particular validation rule.
如果发出警告,您要么忽略这个警告要么调节您的验证参数,从而使RationalApplication Developer忽略一个特殊的验证规则。
Many business-line applications have requirements to validate form fields based on business rules. Each business rule is unique, but the following are a few examples of business validation rules.
很多业务应用程序都有基于业务规则验证表单字段的要求。
You want to enforce this rule in your schema so that there is a validation error if you get more than five digits.
您希望在您的模式中实施这一规则,以便在获得五位数以上时有一个验证错误。
Finally, a sample XML document is created that is valid with respect to validation against the XML schema and that satisfies the Schematron rule defined above.
最后,创建一个样例XML文档,该文档能通过XML模式的验证,并且满足前面定义的Schematron规则。
The cleaning operation of data and utilize rule to do validation on cleaned data all belongs to logic.
对数据的清洗操作,利用规则对清洗后的数据进行的验证等等都属于逻辑。
The validation for complex data type is primary portion of XML document validation and the key to checking whether the structure of a XML document matches its schema rule.
复杂数据类型验证是XML文档验证的主要内容,是检查XML文档结构是否符合模式规则的关键。
The development process based business rule includes such steps: rule analysis, rule definition, rule design, rule editing, rule validation and rule integration.
基于规则的开发方法的流程包括规则分析、规则定义、规则设计、规则编写、规则验证和规则集成等一系列步骤。
The validation and extraction rule walkthrough and the data binding walkthrough can be completed in any order after the first two walkthroughs.
在前两个演练之后,可以按照任意顺序完成验证和提取规则演练以及数据绑定演练。
The validation and extraction rule walkthrough and the data binding walkthrough can be completed in any order after the first two walkthroughs.
在前两个演练之后,可以按照任意顺序完成验证和提取规则演练以及数据绑定演练。
应用推荐