API Examples and Methods

The GenRocket runtime application interface allows programmers to access the GenRocket runtime directly create scenarios from their own programs.

API Method DomainSiblingAdd
Description This method adds a Domain as a Sibling to a given Domain. Exceptions The following GenRocket exceptions may be thrown by this method:  ...
Fri, 30 Nov, 2018 at 2:44 AM
API Method DomainSiblingRemove
Description This method removes a Domain as a Sibling from a given Domain. Exceptions The following GenRocket exceptions may be thrown by this method:...
Fri, 30 Nov, 2018 at 2:51 AM
API Method DomainSiblings
Description This method returns the name of the all Sibling Domains for the given Domain or null if the given Domain has no sibling Domain. Exceptio...
Fri, 30 Nov, 2018 at 2:57 AM
API Method Attributes
Description This method is used to list the Attribute names of a given Domain. Attribute Naming Convention An attributeName has the format of domainNa...
Fri, 9 Apr, 2021 at 10:19 AM
API Method AttributeAdd
Description This method adds an Attribute to a given Domain. Original Name vs GenRocket Name GenRocket defines two names for an given Attribute, the o...
Tue, 23 Oct, 2018 at 9:40 PM
API Method AttributesAdd
Description This method adds one or more attributes to a Domain. This method does not add Generators to each Attribute; Generators should be added with the...
Tue, 23 Oct, 2018 at 9:46 PM
API Method AttributeGenRocketName
Description This method converts the name of the attributeName to its GenRocket equivalent name (e.g my_First_NAME -> myFirstName). Runtime Method S...
Sun, 31 Mar, 2019 at 6:44 PM
API Method AttributePrimary
Description This method returns the name of the primary Attribute for the given domainName. Exceptions The following GenRocket exceptions may be throw...
Sun, 31 Mar, 2019 at 6:44 PM
API Method AttributeRemove
Description This method removes an Attribute from a given Domain. Attribute Naming Convention An attributeName has the format of domainName.attributeN...
Mon, 20 Feb, 2017 at 4:02 AM
API Method AttributesRemove
Description This method removes all sibling Domains from a given Domain. Exceptions The following GenRocket exceptions may be thrown by this method:  ...
Mon, 20 Feb, 2017 at 4:03 AM