Consequently, I can grab the parameters submitted by the form via Gaelyk's handy params object (which, by the way, Grails also offers) and create an Entity instance, as shown in Listing 4.
因此,我可以通过Gaelyk的params对象(Grails也以某种形式提供了此对象)获取由表单提交的参数,并创建一个Entity实例,如清单4所示。
Any information exchanged as part of those requests (e.g., parameters) is represented by an instance of an IO Entity class.
任何作为那些请求一部分的交换的信息(例如,参数)都由一个IO实体类的实例表示。
An entity's primary key is the attribute or set of attributes that distinguish one instance of the entity from another.
实体的主键是使该实体的一个实例区别于其他实例的一个或一组属性。
In this context, a "node" refers to an instance of an operating system, whether or not it is part of a cluster or a standalone system, and the node name is a separate entity from the host name.
在这个上下文中,“节点”是指一个操作系统实例,它可能是集群的一部分或单独的系统,节点名与主机名是不同的实体。
To add a new row to your table, you simply create an instance of your entity class, set the attributes, and tell the EntityManager to persist the new entity.
为了向您的表格添加一个新行,您只需创建一个实体类的实例,设置其属性,并更新类entitymanager以支持新实体。
This session bean will be used by an ActionServlet in PBudgetWeb module to interact with PBUser entity bean to manage the user instance and its related entity bean instances.
该会话Bean将由PBudget Web模块中的一个ActionServlet用于同pbuser实体Bean进行交互,以管理用户实例及其相关实体Bean的实例。
Note that the ticket variable is an instance of Entity.
注意,ticket变量是Entity的一个实例。
If there is an existing collection of runners, the new runner instance key is added to it; otherwise, a new collection is created and the runner's key (the id property on the entity) is added to it.
如果有一个现成的runners的collection,则新的runner实例键将添加到它;否则,将创建一个新的collection,且这个runner的键(实体上的id属性)将添加到它。
B. FindByPrimaryKey: in this method, the objective is to get back a single OperatingSystem instance from the CIMOM using the primary keys of an entity bean.
FindByPrimaryKey:在这个方法中,其目标是使用实体bean的主键从CIMOM中返回单个OperatingSystem实例。
The entity called the service description (Figure 5) contains all the information needed to interact with an instance of a version of a service.
称为服务描述(图5)的实体包含了与服务的某个版本的实例进行交互所需要的所有信息。
I'll start by creating a base class that holds an instance of an Entity object.
我将首先创建一个基类,用于容纳entity对象的一个实例。
For instance, if you have a class representing a Customer, you could attach a stereotype of to indicate that it represents a data object (perhaps an Entity Bean).
例如,如果您有一个表示顾客的类,那么您可以附加模板(stereotypes)来表示它代表一个数据对象(或许是Entity Bean)。
For instance, when the user clicks a button to submit a JSF form, Seam automatically parses the form fields and constructs an entity bean.
例如,当用户单击按钮提交一个JSF表单,Seam就会自动解析表单域并构造一个实体bean。
After all, no matter how many times an entity object is updated in memory during an atomic Web flow, the SQL flush happening at the end of the flow only sees the final state of the entity instance.
毕竟,无论在原子we b流期间,在内存中对实体对象更新了多少次,流结尾处发生的SQL刷新只能看到实体实例的最后状态。
This deliberate omission ensures that an instance of the Customer entity can never be accessed remotely.
这种有意遗漏可以确保Customer实体的实例永远不会被远程访问。
For instance, a JMS client could send a message to an MDB (which is constantly online awaiting incoming messages), which in turn could access a session bean or a handful of entity beans.
例如,JMS客户机可以发送一条消息给一个MDB(该MDB一直在线等待传进来的消息),而后者可以访问一个会话bean或者一些实体bean。
For instance, a String attribute of an entity could be implemented as a CHAR, VARCHAR, or TEXT type of column.
例如,可以将实体的String类型的属性实现为CHAR、VARCHAR或text类型的列。
The values of entity key properties must uniquely identify an entity type instance within an entity set at run time.
实体键属性的值必须在运行时唯一标识实体集中的实体类型实例。
The values of entity key properties must uniquely identify an entity type instance within an entity set at run time.
实体键属性的值必须在运行时唯一标识实体集中的实体类型实例。
应用推荐