Instead it adds an annotation to the field which informs the visual editor that the underlying type of this collection is String.
相反,它是为字段增加了注释,向可视化编辑器说明这一集合的隐藏类型为字符串。
The Listing 3 annotation just defines a pair of named values, giving the order and lead text to be used for a field.
清单3的注释只定义了一对命名值,给出了顺序和用于一个字段的前导文本。
The List of Employee objects is marked with the OneToMany annotation to let the JPA runtime process know that this field is filled by a relationship.
Employee对象的列表被标上了OneToMany注释,以让JPA运行时过程知道,该区域是由一个关系填充的。
You need only specify the @Property annotation on the basic getter and it will be inherited by the rest of the methods that access that configuration field.
只需在基本getter 上指定 @Property标注,剩下的访问那个配置字段的方法将继承这一点。
Finally, we see the @accessors annotation, which is a macro that creates getter/setter methods for the field that precedes it.
最后是 @accessors注释,这是一个宏,用于为它前面的字段创建getter/setter方法。
The example in Listing 4 creates a searchable span for every "thinkpad" annotation as well as a field that will hold all product Numbers that were located in a particular document.
清单4中的示例为每个“thinkpad”注释创建一个可搜索的span,并创建一个包含位于特定文档中的所有产品号的字段。
Note that when you specify the annotation as part of the constructor parameters you must also specify the field name to which it corresponds.
注意,在指定注解作为构造器参数的一部分时,也必须指定它对应的字段名称。
The Listing 5 code saves the field information at the time a field is visited, because this information will be needed later if the field has an annotation present.
清单5的代码保存了访问字段时的字段信息,因为如果该字段有注释呈现的话,以后将会需要该信息。
You need to add an, that maps the annotation to either a searchable span (annotation style), or a field (field style), or both for each annotation.
需要添加一个,它将注释映射到可搜索的span(注释风格)或字段(字段风格),或者同时映射到这两者。
In this above code, even if the Order or Item class is mapped with an annotation, a separate XML file, or not at all (I would then have to map each field), I can still override it with this XML.
在上面的代码中,即使使用注释、单独的XML文件或不使用任何内容(必须映射每个字段)来映射order或item类,我仍能够使用此XML覆盖它。
As thinkpad annotations are also mapped to returnable and field-searchable fields, you can issue a fielded search for "thinkpad:" to receive all documents with a thinkpad annotation.
因为thinkpad注释也被映射到可返回且可搜索的字段,所以可以发出对“thinkpad:”的字段搜索来检索具有thinkpad注释的所有文档。
For example in this particular case change the name of the Bean field name firstnme to firstnme_new. The annotation that is generated and preceded to the declaration in the Java file will be.
例如,在这个例子中,将Bean字段名称firstnme改为firstnme_new。
The fifth part is the summary of the full text, and annotation of Wolf's works, as well as some ideas in teaching field.
第五部分是对全文的小结,以及对沃尔夫作品诠释与教学应用的若干想法。
Parameters are defined by placing a Parameter annotation onto a private field.
参数定义可以通过在私有属性上放置参数标注。
Palm GPS can rapidly and accurately conduct field location-survey to get engineering mapping and conduct boat measurement annotation, widely used in daily life.
掌上型GPS可以快捷准确地进行野外实地查勘获工程测绘,以及船测调绘作业,在生产与生活中得到了广泛的应用。
Palm GPS can rapidly and accurately conduct field location-survey to get engineering mapping and conduct boat measurement annotation, widely used in daily life.
掌上型GPS可以快捷准确地进行野外实地查勘获工程测绘,以及船测调绘作业,在生产与生活中得到了广泛的应用。
应用推荐