First, program elements must carry metadata annotations.
首先,程序元素必须包含元数据注释。
Creating value from metadata annotations requires consuming them.
在元数据注释中创建一些值是为了消费元数据。
It also provides a system for metadata annotations of topics so that users can easily search, filter, and process them.
它还提供了一种系统实现主题的元数据注释,因此用户可以便捷地搜索、过滤和处理内容。
Community Edition V2.0 supports EJB 3.0, which USES metadata annotations as an alternative to the deployment descriptor.
CommunityEdition V 2.0支持EJB 3.0,而EJB 3.0使用元数据注释作为部署描述符的替代方法。
Annotations provide a way for this metadata to be represented as part of the implementation.
注释提供了将此元数据表示为实现的一部分的方法。
Semantic annotations and other metadata can be associated with these artifacts to offer insight to potential users of the service on how and when it can be used, and what purposes it serves.
可以将语义注释和其他元数据与这些构件相关联,以提供对潜在服务用户的相关认识,了解如何和何时可以使用它以及它服务于什么目的。
The descriptor can also provide the same metadata information about the entities as annotations, such as primary key field, and any mappings between objects.
描述符也可以提供与注释相同的有关实体的元数据信息,如主键字段,以及对象之间的任何映射。
Annotations are one of the major new features of J2SE 5.0, designed to allow metadata about code to be defined as part of the code.
注释是J2SE 5.0的一个主要的新特性,其设计目标是允许将关于代码的元数据定义为代码的一部分。
Annotations can now be used to define metadata directly in the application code, in addition to having an XML-based mechanism.
除了使用基于XML的机制外,现在还可以使用注释来直接在应用程序中定义元数据。
"While annotations are brilliant, they only scratch the surface of the metadata that needs to be supported," he said.
“虽然注释极为出色,但它们仅是需要支持的元数据最表面的一层”,他说。
A metadata facility may also specify a general way to consume annotations.
元数据功能也可以指定一种消费注释的一般方式。
A metadata facility defines a mechanism to supply annotations to program elements.
元数据功能定义了向程序元素提供注释的机制。
As I mentioned earlier, you have two ways to define the mapping: metadata (annotations) and a mapping file.
正如前面所述,有两种定义映射的方法:元数据(注释)和映射文件。
You can also provide XML metadata as an overriding or alternative mechanism to the mapped annotations.
您还可以提供XMl元数据作为映射注释的覆盖或备选机制。
Metadata is expressed using program elements called annotations.
元数据是用称为注释的程序元素表示的。
The second drawback is that while annotations are ideal for metadata that relates to a particular component, they're not well suited to metadata with cross-component application.
第二个不足是:虽然注释对于与某个组件相关的元数据来说很理想,但是对于跨组件应用程序的元数据,它并不是非常合适。
The document's content and the metadata derived from annotations of the document are available to the plug-in.
从文档注释中获得的文档内容和元数据都可以用于该插件。
This is useful, especially when you begin to use annotations as more-sophisticated metadata, not just raw documentation.
这一点非常有用,尤其是准备将注释作为更加复杂的元数据,而不仅仅将它作为原始文档使用的时候。
The default metadata source for validations is annotations, but the developers can extend the meta-data through the use of XML descriptors.
其默认的元数据源是注解,但开发者可以通过XML描述符对其进行扩展。
Preview 2 builds on the features of Preview 1, adding client-side validation, streamlined support of Areas, and abstractions of data Annotations validation and metadata providers.
Preview2在之前的基础上增加了客户端验证,精简的Are a支持,以及抽象的数据标记(DataAnnotations)验证和元数据提供者等功能。
The default providers use data Annotations, a validation and metadata approach introduced in Preview 1.
默认的提供者使用了数据标记,这是在Preview1中引入的验证和元数据表现方式。
As I mentioned before, Lombok's annotations could do a better job of communicating that they are more than just metadata.
正如前面所提到的,Lombok的注释不仅是元数据,它还能很好地完成通信任务。
In the first article in this series, I explained what metadata is, why it's valuable, and how to use the basic built-in annotations introduced in J2SE 5.0 (aka Tiger).
本系列的第一篇文章介绍了什么是元数据,元数据的重要性,以及如何使用J2SE 5.0(也叫做Tiger)的基本内置注释。
The supplier of metadata may include a facility to attach certain annotations in a crosscutting manner rather than individually supplying them to multiple elements.
元数据的供应者可以使用一种以横切(crosscutting)方式附加某种注释、而不是向多个元素单独提供注释的功能。
We specify the deployment metadata of the EJB3 session bean using annotations in the bean class.
我们通过在Bean 类中使用注释来指定EJB3会话 Bean的部署描述符。
Support for JSR 250 (" EJB 3 ") security annotations, delivering a standards-based model for authorization metadata.
支持JSR 250 (“EJB3”)security注解,提供了针对授权元数据的基于标准的模型。
Queries can be performed using semantic annotations, properties, and all or parts of physical service metadata artifacts.
查询可以使用语义标准、属性和物理服务元数据构件的全部或部分来执行。
Now that you have a grasp of the things metadata is good for, I'll introduce you to annotations in Tiger.
现在已经了解了元数据的好处,我将介绍Tiger中的注释。
They can be completely replaced by Annotations, which allow for a very flexible metadata capability.
他们可以通过注解,这允许非常灵活的可完全取代元数据功能。
They can be completely replaced by Annotations, which allow for a very flexible metadata capability.
他们可以通过注解,这允许非常灵活的可完全取代元数据功能。
应用推荐