annotation
美 [ˌænə'teɪʃ(ə)n]
英 [ˌænə'teɪʃ(ə)n] 
词形变化
复数:annotations 同义词
英汉解释
英英解释
例句
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.
请浏览清单3所示的PhoneBookEntryBean.java,查看XDoclet使用的标注样式。