com.ptc.core.command.common.bean.entity
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:
- com.ptc.core.command.common.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
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:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreatePersistentEntityCommand
public CreatePersistentEntityCommand()
- Creates a new instance.
Supported API: true