setter method的意思
setter method中文翻譯:
塞特法
相似詞語短語
Bessel method───貝塞爾法
Bessel methods───貝塞爾法
barrier method───[礦業]柱式開采法;碰壁法;屏障法
simplex method───[數]單純形法;單一法
detection method───檢測方法
discovery method───發現法
schlieren method───[等離子][光]紋影法;紋影照相法;異密法
Kenny method───肯尼法
better bet───更好的選擇
雙語使用場景
Dependency injection can occur in a variety of ways, for example, via a setter method or a class variable.───依賴性的引入可以以多種方式出現,例如,通過設置屬性值的方法或者類變量。
In the FailTask_Deser class, the name field setter method is used to set the name value of the deserialized FailTask object.───在failtask_deser類中,name字段setter方法用于設置反序列化的FailTask對象的name值。
As Figure 1 reveals, the only place the setter method is called is in the getter to formulate the title of the seminar, a combination of the course number, seminar number, and course name.───如圖1所示,唯一要調用setter方法的地方是在getter中來表示由課程號、研習班號和課程名稱組成的研習班的標題。
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方法來注入屬性值。
The PropertyBuilder class allows the caller to specify the getter method, the setter method, and any other methods.───PropertyBuilder類允許調用方指定getter方法、setter方法和其他任何方法。
The input to this setter method is an array of configuration parameters, which is natively created from the element and its children.───這個setter方法的輸入為一個配置參數數組,由元素及其子元素生成。
The AddressStore class provides a getter and a setter method for retrieving data from the properties file.───AddressStore類提供了getter和setter方法從屬性文件中檢索數據。
The interface of the service injected is defined by either the type of the Java class field or the type of the setter method input argument.───注入的服務的接口由Java類字段定義,或由setter方法輸入參數類型定義。
Each data element has its own individual "getter" and "setter" method.───每個數據元素有自己的“getter”和“setter”方法。
英語使用場景
In the following example, Spring would pass a reference to the Spring-managed object with a bean name of "dataSource" to the annotated setter method.