Class CreatePersistentEntityCommand
java.lang.Object
com.ptc.core.command.common.bean.AbstractCommand
com.ptc.core.command.common.bean.AbstractServerCommand
com.ptc.core.command.common.bean.entity.AbstractEntityCommand
com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand
com.ptc.core.command.common.bean.entity.CreatePersistentEntityCommand
- All Implemented Interfaces:
Command,com.ptc.core.command.common.ServerCommand,Externalizable,Serializable
public class CreatePersistentEntityCommand
extends com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand
implements Externalizable
This command can be used to create in the database an existing in-memory
instance of a persistable entity (i.e., object). It takes as input a
Supported API: true
Extendable: true
TypeInstance playing the role of the requestor of the command. It returns as output a TypeInstance
overriding the inherited result.
In order for the requestor to be correctly created in the database it must represent an appropriate persistable type of object. Otherwise, an exception will be thrown indicating that the entity is not a persistent kind of object.
Supported API: true
Extendable: true
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CreatePersistentEntityCommand
public CreatePersistentEntityCommand()Creates a new instance.
Supported API: true
-