设置数据约束。
如果用户输入的数据违反了任何数据约束,支持X Forms的浏览器会立即给用户以反馈。
If the user enters data that violates any of the data constraints, the XForms-enabled browser can immediately provide feedback to the user.
在XForms模型中,xfg生成xforms绑定属性形式的数据约束,它与数据库元数据相对应,比如列类型、长度、是否是必需的,等等。
In the XForms model, XFG generated data constraints as XForms bind attributes which correspond to database metadata, such as column type, length, required, and so on.
这种数据结构约束的弱化要求根据需要强化应用程序逻辑中的约束。
This weakening of the data structure constraint requires the strengthening of constraints within the application logic as necessary.
Schematron文档基本上是一组应用于XML数据的约束。
A Schematron document is essentially a set of constraints that apply to XML data. You can express a concrete Schematron constraint in one of two ways.
这些约束规定了数据的范围。
当描述混合内容时,根本无法约束字符数据。
When describing mixed content, the character data cannot be constrained in any way.
此组件用于显示受某个因素约束的数据元素子集。
Constrained list. This component displays a subset of data elements constrained by some factor.
可以对数据设置一些约束。
XForms处理器根据实例数据的约束逐个字段地对其进行检查。
On a field-by-field basis, the XForms processor checks the instance data against its constraints.
这可以采用添加列、更改列的数据类型、添加约束或者甚至删除列的方式来实现。
This can take the form of adding a column, changing the data type for a column, adding a constraint, or even deleting a column.
这个表使用引用完整性约束确保数据的有效性。
This table USES referential integrity constraints to ensure data validity.
应用数据联合模式时的约束。
对象没有固有的约束,因此要实现数据验证,必须进行显式编码。
Objects have no inherent constraints, so explicit coding is required to implement the data validation.
在这个示例中,XFormsinstance函数指出命名的实例中的所有数据都受到约束。
In the example, the XForms instance function indicates that all data in the named instance is constrained.
这些参数构成了这个问题的数据矩阵,并用来计算约束,正如我们稍后会看到的一样。
These parameters make up the problem's data matrix and are used to calculate the constraints, as you'll see later.
能够使用以下面向对象的查询语言对数据进行查询:对象约束语言(Object Constraint Language,OCL)。
Ability to query the data using an object-oriented query language: object Constraint language (OCL).
MTK 将ENUM数据类型映射到带检查约束的VARCHAR(255)。
MTK maps the ENUM data type to VARCHAR(255) with check constraint.
按照 Separation of Concerns设计模式,将约束和导入的数据元素定义文件分隔开。
The creation of separate constraint and imported data element definition files leverages the Separation of Concerns design pattern.
验证XML(NicholasChase,developerWorks,2003 年8 月):验证文件和文档以确保数据满足完整性约束。
Validating XML (Nicholas Chase, developerWorks, August 2003): Validate files and documents to make sure that data fits integrity constraints.
一些数据元素必须使用一组约束的值(程序员称之为枚举类型)。
Some data elements are meant to have a set of constrained values (enumeration types as programmers would call them).
在处理json格式的数据时,没有需要遵守的预定义的约束。
To put it another way, there is no predefined set of constraints that you need to follow when working with JSON-formatted data.
获得当前时间的网络调用是高速缓存的一个完美项,因为您的10秒约束意味着数据在至多10秒钟之内不会更改。
The network call to get the current time is a perfect item to cache because your 10-second constraint means the data will not be changing for, at most, 10 seconds.
在第2部分中,我们把表单修改成使用文本输入,并且添加了模式约束使用户不能输入无效数据。
In Part 2, you changed the form to use text inputs, adding schema constraints to make sure users couldn't enter invalid data.
XMLSchema 1.1通过数据类型内的断言将约束的概念带入了XML Schema,不过,不能进行消息定制。
XML Schema 1.1 is bringing in the notion of constraints into XML Schema through assertions within data types but without message customization.
例如,XML模式可以控制文档中的数据的排列顺序以及对特定值的约束。
For example, an XML schema can enforce control over how data is ordered in a document, or constraints on particular values.
由于项目受到资源和时间的约束,该分析常常集中于主要的数据元素和域。
Project constraints in resources and time invariably force a focus down to primary data elements and domains.
我们最后将总结何时应用数据联合模式及何时不应用此模式,并将列出重要的约束。
We will conclude by summarizing when to apply and when not to apply the data federation pattern and to list important constraints.
一致性:事务保持数据上定义的所有不变的属性(如完整性约束)。
Consistency: a transaction preserves all the invariant properties (such as integrity constraints) defined on the data.
Oslo和Ometa只能定义语言的解析器,与之相比,MPS的功能更多,能定义语言的编辑器、约束、类型系统、数据流分析,还有生成器。
Comparing with Oslo and Ometa that only allow defining parsers for languages, MPS provides additional features such as editor, constraints, type-system, data flow analysis and generator.
应用推荐