public class ChangeClass extends PendingAction
changeClass
method, the API automatically creates an instance of the ChangeClass
class and adds it to the underlying object's collection of PendingAction
objects.Constructor and Description |
---|
ChangeClass(java.lang.String newClass)
Creates a new instance of a
ChangeClass pending action object. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNewClass()
Returns the symbolic name (if a symbolic name was entered in the
ChangeClass constructor)
or ID (if an ID was entered in the ChangeClass constructor) of the new class with which
the underlying object of this pending action has been associated. |
getBinaryListValue, getBinaryValue, getBooleanListValue, getBooleanValue, getDateTimeListValue, getDateTimeValue, getEngineObjectValue, getFloat64ListValue, getFloat64Value, getIdListValue, getIdValue, getInteger32ListValue, getInteger32Value, getObjectValue, getStringListValue, getStringValue, putObjectValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, toString
public ChangeClass(java.lang.String newClass)
ChangeClass
pending action object.newClass
- A String
specifying the symbolic name (or ClassNames
constant)
or ID (or GUIDConstants
constant) of the new class.E_REQUIRED_VALUE_ABSENT
- if the newClass parameter is null or an empty string. Thrown when you
you call the save
method.E_BAD_CLASSID
- if the new class is not the same object type as the old class or the table ID of the
new class is not the same as the old class. Thrown when you call the save
method.E_NOT_SUPPORTED
- if the old class is not subclassable by the user or the object is a new or
unpersisted object. Thrown when you call the save
method.E_NOT_CREATABLE
- if the new class does not allow the user to create instances. Thrown when you
call the save
method.public java.lang.String getNewClass()
ChangeClass
constructor)
or ID (if an ID was entered in the ChangeClass
constructor) of the new class with which
the underlying object of this pending action has been associated.String
specifying the symbolic name or ID of the new class.© Copyright IBM Corporation 2006, 2015. All rights reserved.