Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can use the following APIs to create a runtime object.
 

Code Block
languagetext
	public static Objectobject_ createObject(Class classifier) {
		...
	} 
	
	public static Object
object_ createObject(String name) {
	...
	}

 

The following example shows how to create a runtime object (Object_), typed by a specified Classifier in ALH API.
If a passing parameter is typed by a String, the API will find a Class in the model that has a matching name, and then create the runtime object typed by that Class.

...