public class InstantiateResourceEvent
extends java.util.EventObject
instantiateResource
event.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassId()
Gets the class identifier of the resource.
|
Resource |
getResource()
Gets the newly created resource.
|
void |
setResource(Resource value)
Sets the newly created resource.
|
public java.lang.String getClassId()
public Resource getResource()
Resource
-derived class.public void setResource(Resource value)
Upon handling the ScheduleListener.instantiateResource(com.mindfusion.scheduling.model.InstantiateResourceEvent)
event, you have
to create a resource of the appropriate type, as specified by getClassId()
,
and assign it to this property.
value
- An instance of a Resource
-derived class.