You have to create a new object of the child entity and delete the previous object.
你必须创建一个新对象的子实体和删除前面的对象。
To create a new object (in this case, the string that will be returned), first alloc the object and then initialize it.
要创建一个新对象(这里是将返回的字符串),首先分配对象,然后初始化对象。
If an application attempts to create a new object when generation 0 is full, the garbage collector discovers that there is no address space remaining in generation 0 to allocate for the object.
如果应用程序在第0级托管堆已满时尝试新建对象,垃圾回收器将会发现第0级托管堆中没有可分配给该对象的剩余地址空间。
Storing the application object on the session or request enables the rules engine to later find that object without having to create a new instance.
将应用程序对象存储到会话或请求中,这样做可以允许规则引擎稍后查找对象,而无需创建一个新的实例。
You can instantiate the form elements manually and attach them to the form or let the form object create and instantiate a new form element of the requested type for you.
您可以手动对表单元素进行实例化并把它们连接到表单,或者让表单对象创建并实例化一个新表单元素,使它符合您要求的类型。
If you want to change an immutable object, you don't - you create a new object with the changed value and point your reference to it.
如果您想要改变一个不可变对象的话,您不会改变它,而是使用修改后的值来创建一个新的对象,并把您的引用指向它。
Because you want to represent a new material with additional data attributes, you first need to create a new business object subtype in SAP ERP and create the additional attributes.
因为要在新的材料中表示其他数据属性,所以首先要在SAPERP中创建一个新的业务对象子类型,并创建其他属性。
There are also situations when you would need to create a new instance of an SDO object (or a graph of SDO objects), and serialize that into XML.
也有一些情况,你需要创建一个SDO对象(或一系列sdo对象)新的实例,并且将其序列化到一个XML中。
Next, you create a new object called $rss, which is the result of passing the URL to the feed to your XML_RSS constructor.
接下来,您创建一个名为 $rss的新对象,此对象是将提要的URL传递到您的 XML_RSS构造器的结果。
In the second line, we create a new session object to use for JMX interactions with the server.
在第二行,我们创建用于让JMX与服务器交互的新会话对象。
Instead, create a wrapper function that either returns a handle to the existing object for a particular community or creates a new object and adds it to the map, using the code in listing 1.
相反,创建一个包装器函数,它返回现有对象的句柄,或者创建一个新对象并添加到映射中,如清单1中的代码所示。
To create a new configuration object, you need to provide the parent ID of this object as well as its attributes.
要创建新的配置对象,需要提供该对象的父ID及其属性。
The final step is to add/create content in the Content Library by creating a new Content object for each defined Site Area.
最后一个步骤是通过为每个定义的Site Area创建新的Content对象在 ContentLibrary中添加/创建内容。
To access the appropriate metadata, you first create a new DatabaseMetaData object from the current JDBC Connection, as shown in the previous example.
如前面的示例所示,为了访问适当的元数据,首先要从当前的JDBCConnection创建一个新的DatabaseMetaData对象。
In the builder, you would first create a new XMLMarkup object with the value for "indent" equal to zero and use this object for building the XML.
在生成器中,你首先要创建一个XMLMarkup对象,将其“indent”属性赋值为0,然后可以开始使用这个对象来构建X ML了。
Create a new Business Object mapper primitive to the canvas, the intention of this mapper is to convert the binary input to a string and manipulate it.
在画布上创建一个新的BusinessObjectMapper原语,这个映射器的目的是将二进制输入转换成字符串并操作它。
To create child nodes, I create a closure and declare a new object dubbed name, which takes parameters in the form of a map.
要创建子节点,我创建一个闭包并声明一个名叫name的新对象它接收map形式的参数。
This feature goes hand-in-hand with a new syntax for object creation, which makes it easy to create non-custom classes in Groovy with an array-like syntax.
这个特性与新的对象创建语法关系密切,新的语法可以用类似数组的语法很容易地在Groovy 中创建 非定制类。
AddNewFileComplex. Allows clients to create new book documents by uploading a BookInfoAndFile object.
允许客户机通过上传bookinfoandfile对象创建一个新的图书档案。
To programmatically start a Selenium server, you must create a new Selenium object and tell it which compatible browser to use -- I use Firefox for the following examples.
要通过编程的方式启动Selenium服务器,必须创建一个新的 Selenium对象,并告诉它要使用哪一种兼容的浏览器 ——我在下面的示例中使用的是Firefox。
If you process messages asynchronously, you need to create a new instance of the AccImSession object using the screen name of the user to whom the application needs to respond, as shown in Listing 10.
如果异步地处理消息,那么需要使用接受响应的用户的屏幕名创建AccImSession对象的一个新的实例,如清单10所示。
At this point, you know how to create a new QueryPath object pointing to a document, and you've also seen a simple CSS selector.
至此,您知道了如何创建新的指向文档的QueryPath对象,并且看到了一个简单的css选择器。
You just create a new instance of the XPath factory, using the default object model — which, as you now know, is the DOM (at least as of version 1.3, and that's unlikely to change anytime soon).
仅仅使用默认的对象(即dom,至少在1.3版中如此,而且近期不大可能改变)创建了一个新的XPath工厂实例。
You then use the document object to create a new element, just as you would do in any other language, with the name of div.
然后可以使用document对象创建一个名为div的新元素,就像在其他语言中一样。
It may have been better to design sections so that they create new AppConfig objects nested inside the parent object, but this is a minor issue.
最好先把节设计好,以便它们创建嵌套在父对象中的新AppConfig对象,但这是个次要问题。
The next step is to create a new BusinessEntity object and populate it with the various properties I want it to have.
下一步是创建一个新的BusinessEntity对象,并让它具有我想让它有的各种特性。
In this case it will be Json data coming from your server, so create a new JsonRestStore object and point it to the URL on your server that will produce this data.
本例中,是来自服务器的Json数据,因此创建一个新的JsonRestStore对象,并将它指向将会产生数据的服务器url。
First, you need to create a new variable and assign it to an instance of the XMLHttpRequest object.
首先需要创建一个新变量并赋给它一个XMLHttpRequest对象实例。
You've seen all the steps necessary to create and configure a new DAO for any domain object. The three simple steps are.
您已经看到了为任何域对象创建和配置新DAO所必需的全部步骤。
Looking at the signature of that interface, you'll need to create a new Album object to send to the server.
看看接口的签名,还需要创建发送到服务器的新album对象。
应用推荐