因?yàn)?/c>外部名稱(chēng)空間中的任何元素可以放在定義中的任何地方。
Here we address the question of what such annotations signify and of how they are created by working biologists.
在這里,我們處理的問(wèn)題是什么等標(biāo)志和說(shuō)明他們是如何創(chuàng)造的工作生物學(xué)家。
If you look at Listing 7 and for the moment forget about the annotations, it's just a simple Java class called ShippingAddress.
如果您看看清單7并暫時(shí)忘記注釋的事情,會(huì)發(fā)現(xiàn)它就是一個(gè)簡(jiǎn)單的Java類(lèi),叫做ShippingAddress。
Hopefully, I've convinced you by this point that annotations are not always better than configuration files.
在這一點(diǎn)上,我希望已經(jīng)說(shuō)服了您:注釋并不總是比配置文件好。
Morphia accomplishes this by providing a set of annotations and a wrapper around the Mongo Java driver.
通過(guò)提供一系列圍繞MongoJava驅(qū)動(dòng)程序的注釋和包裝程序,Morphia完成了這些操作。
Simple lives up to its by name using annotations to enable the serialization or deserialization process.
Simple名副其實(shí),它使用注解來(lái)支持序列化和反序列化過(guò)程。
There will be some sort of "Explorer" product that will give stats about most used, most adopted, and trending annotations.
Twitter還將對(duì)外發(fā)布注釋統(tǒng)計(jì)數(shù)據(jù),并且還會(huì)推出一個(gè)類(lèi)似于“瀏覽器”的產(chǎn)品,可以顯示使用最多、采納最多以及熱門(mén)注釋等統(tǒng)計(jì)信息。
In such cases, it might be very difficult to achieve semantic transparency through natural language schema annotations.
這種情況下,通過(guò)自然語(yǔ)言的模式注釋來(lái)獲得語(yǔ)義透明性可能非常困難。
A transition is reflected by an arc with annotations for the event, an optional condition, and the action to be performed.
中,轉(zhuǎn)移是通過(guò)帶有事件注釋的弧線(xiàn)、可選的條件以及將要執(zhí)行的動(dòng)作來(lái)反映的。
With Hibernate, you take an existing model and an existing schema and express a map between them using annotations or XML.
通過(guò)Hibernate,您可獲取現(xiàn)有的模型和模式并使用注釋或XML表達(dá)二者之間的映射。
Annotations to the individual screens, in the form of notes and preset collection of colorful icons can be added, seems pretty useful to me.
可以為單獨(dú)的窗體添加注解,比如使用留言本的方式或者添加彩色圖標(biāo),看起來(lái)非常有吸引力。
I've barely scratched the surface of JSF 2 features so far, with managed bean annotations, simplified navigation, and support for resources.
到目前為止,我僅僅觸及了JSF2特性中最淺顯的內(nèi)容,包括托管bean、注釋、簡(jiǎn)化導(dǎo)航和資源支持。
This includes markup conversions, annotations, stylesheet applications, and any other conversion that affects an individual portlet.
它包括標(biāo)記轉(zhuǎn)換、注釋、樣式表應(yīng)用程序以及影響個(gè)別portlet的任何其它轉(zhuǎn)換。
Not surprisingly, the annotations are also interpreted during the deserialization process when an XML document is translated into a POJO.
無(wú)足為奇,在XML文檔被轉(zhuǎn)換成POJO的反序列化過(guò)程中,注解也會(huì)被解釋。
Extensions are provided for you to include classification annotations in a query.
還為您提供了擴(kuò)展以便在查詢(xún)中包括分類(lèi)標(biāo)注。
One method retains element history and any custom annotations that might have been applied.
一種方法保留元素歷史記錄和所有可能已應(yīng)用的自定義注釋。
Extending the notion of the multidimensional signature, annotations enable you to express multidimensional interfaces.
延伸多維簽名的概念,注釋可以用來(lái)表示多維接口。
I'll return to this point in a later column when I look at the trade-offs between annotations and external configuration files.
當(dāng)我在后面的文章中研究注釋和外部配置文件的權(quán)衡時(shí),我會(huì)再回到這個(gè)問(wèn)題上。
Custom Search Engine consists of an XML specification of the engine and a set of annotations.
自定義搜索引擎由一個(gè)引擎XML規(guī)范和一組批注組成。
A lot of you wrote in to say the same thing but let's take a look at his version, with annotations.
許多人也有同樣的想法。那我們就著注釋看看他的這張圖片吧。
The bounded set of annotations that do depend on an EJB3 container are geared specifically for that environment.
的確依賴(lài)于EJB3容器的一組有限的注釋則是專(zhuān)用于那個(gè)環(huán)境的。
The @In and @Out annotations are at the heart of the Seam programming model.
注解@In和@Out在Seam編程模型中處于核心。
However, supplying annotations in a crosscutting manner can be very helpful.
不過(guò),以橫切的方式提供注釋是很有用的。
In this case, using a query string argument might provide a more flexible means of finding annotations without removing the readability.
在這里,通過(guò)使用查詢(xún)字符串參數(shù),能夠更靈活地尋找注解,同時(shí)不影響可讀性。
The most obvious meta-annotation is one that allows you to indicate which program elements can have annotations of the defined type.
最明顯的元注釋就是允許何種程序元素具有定義的注釋類(lèi)型。
So far, all I've talked about in Listing 1 are the JAX-RS annotations that set up the routing and data serialization for the service.
到這里,我只闡述了清單1中創(chuàng)建服務(wù)尋址和數(shù)據(jù)序列化的代碼所用到的JAX-RS注釋。
Before closing the book on annotations (at least in this series), I'll deal briefly with annotating annotations.
結(jié)束關(guān)于注釋的討論之前(至少在本系列文章中),我想簡(jiǎn)要地討論一下注釋的注釋。