annotation

annotation

美 [ˌænə'teɪʃ(ə)n]  英 [ˌænə'teɪʃ(ə)n]

  • n.注释;注解;附注;评注
  • 网络标注;注记;批注

词形变化

复数:annotations  

同义词

英汉解释

n.
1.
注释
2.
注解
3.
附注
4.
评注

英英解释

n.

例句

Any method that returns "void" and has no declared exceptions can be marked with an @OneWay annotation.

任何返回void声明异常方法可以使用@OneWay注释进行标记

I really only need one indicator, be it a JNDI name or an annotation, to let me know if it is local or remote.

确实需要一个指示器可以JNDI名称或者注释可以知道接口本地接口远程接口

So you might as well be a little more verbose and create better self-documentation for your annotation type.

简写形式获益所以需要创建虽然稍微有点冗长但是容易理解注释类型

Later this fall the company plans to release the raw sequence data of the Cannabis indica genome as well as a full genome annotation.

公司计划今年秋天晚些时候公布这次大麻基因原始数据以及完整基因注释

The Listing 3 annotation just defines a pair of named values, giving the order and lead text to be used for a field.

清单3注释定义一对命名给出顺序用于一个字段前导文本

After you get the XML configuration examples working, you're ready to see one of the key new features in iBATIS 3: Java annotation support.

XML配置示例正常工作可以开始了解iBATIS3另一个关键特性Java注释支持

Comment: a written note intended as an explanation, an illustration, or a criticism of a passage in a book or other writing; an annotation.

注释评论作为其他书面形式一段解释说明批评文字记录注解

To facilitate modification and annotation of the image, the triangle coordinates are printed out to be applied to the image later.

为了便于图像进行修改注释输出三角形坐标以便稍后应用图像

Stateless annotation, above, means that this class is now a stateless session bean, and the business interface is used to invoke it.

以上@状态注解意味现在一个状态会话bean使用业务接口调用

Specify a constraint on the fileSet class member, which ensures the size is always at least 1 or more using the @Size annotation.

fileSet成员指定一个约束条件确保使用@Size标注大小总是至少1

Next time you take a POJO and slap on an annotation to turn it into an EJB, you can give a little thanks to the OpenEJB team.

下次POJO加上一些注释转换EJB应对OpenEJB团队所作贡献表示感谢

The snowboard element is attached to the abstract concept of the same name through expression within the schema annotation.

通过模式注释表达snowboard元素附加同名抽象概念

The class is annotated with an @Entity annotation to indicate to JPA that this class is a mapped entity.

注释@Entity,以向JPA指示一个映射实体

One of the more useful areas in which to implement this project is in a teleconference annotation application.

项目应用领域之一电话会议注释应用程序

Thanks to the power of the @Delegate annotation, you were able to create a FixedList class in about 50 lines of code.

感谢@Delegate注释强大威力我们使用大约50代码创建FixedList

As you'll learn in the next three sections, Tiger's basic annotation types are extremely simple to use.

正如下面三个部分了解Tiger基本注释类型使用极其简单

Of course, annotation-based metainformation can only go so far as an aspect design approach.

当然基于标注元信息依赖方面设计技术

Access to a service using module Context is specified by defining a field with a type of ModuleContext and with the @Context annotation.

通过字段定义ModuleContext类型使用@ContextAnnotation,指定使用模块上下文进行服务访问

Google already has a social search feature, which allows users to see comments and annotation made by their friends in their search results.

GOOGLE已经一个社会搜索特征允许使用查看朋友搜索结果留下评论注释

Annotation-based injection often used by JAX-RS resource classes may not be supported in the case of a singleton instance.

JAX-RS资源使用基于注释注入可能一个实例情况并不支持

As you can see, the principle for supplying annotation is the same across the various AOP systems, although the syntax differs.

可以看出提供注释原理不同AOP系统相同尽管语法一样

Typically, when you see the @Entity annotation, you can expect to see a corresponding database table.

通常看到@Entity注释等于看到对应数据库

If the value of the courses property is null, Seam looks for a @Factory annotation, again using the name of the property as a key.

如果courses属性null,Seam再次使用属性名称作为查找@Factory注释

Next, you see that "deptno" has been annotated with an @Id annotation, signifying that it is the primary key attribute.

接下来可以看到deptno已经@Id注释意味就是关键属性

As you can see in Listing 1, the only persistence-specific code associated with the User class is the @Id annotation.

正如清单1看到User相关惟一特定持久性代码@Id注释

The most obvious meta-annotation is one that allows you to indicate which program elements can have annotations of the defined type.

明显注释就是允许何种程序元素具有定义注释类型

An annotation is just a generalization of a comment.

注解只是评论泛化

Probably the next addition you ll think of is to set some default values for the annotation.

可能已经想到下一步就要注释设置某个默认

An annotation type looks a lot like an ordinary class, but it has some unique properties.

注释类型看起来普通但是一些特有性质

Each persistence context manages a set of entities, which are Java objects that have been annotated with the @Entity annotation.

每个持久化上下文管理实体这些实体@Entity注释Java对象

I ll explain some of the design opportunities presented by using an AOP construct to supply annotation toward the end of this article.

本文最后说明使用AOP构造提供注释带来一些设计可能性

A public setter method might be used to inject a property value even when the @Property annotation on the field is not there.

甚至字段没有@Property注释可以使用公共Setter方法注入属性

Once we have defined the annotations model correctly, XML should be close to a transposition, just another language.

一旦我们正确定义Annotation模型我们无需使用XML仅仅一种语言

You want this to be the primary key for your table, so use the @Id annotation to declare this.

想要成为使用@Id注释声明

You can use annotation properties that accept the size of a parameter in terms of another parameter , but you must use correct data type .

可以使用接受某个参数大小作为另一个参数批注属性但是必须使用正确数据类型

Injecting the desired transactional behavior with an annotation like @Required seems like a good solution.

使用@Required一样注释需要事务处理行为看上去一个解决方法

In this column, I've set out what I see as the weaknesses of an annotation-based approach to configuration information.

专栏介绍认为基于注释方法表示配置信息弱点地方

As the annotation type for modularizing the wait cursor management around all methods that carry an annotation instance of that type .

作为注释类型模块化等待游标管理管理围绕具有这种类型注释实例所有方法进行

Note that this annotation type doesn't have a single-member variable, so you gain nothing by naming one of the variables value.

因为注释类型成员变量不是一个所以一个变量命名value没有任何意义

Browse through PhoneBookEntryBean. java, shown in Listing 3, to see the annotation style that XDoclet uses.

浏览清单3PhoneBookEntryBean.java,查看XDoclet使用标注样式