Domain
The Domain class represents a domain, a named collection of entity classes, in a document.
Fields
Field | Type | Description |
| string | The domainβs name. |
| boolean | Read only. |
| boolean |
|
| list of EntityClass | Entity classes in the domain. |
Methods
getEntityClassByName( name )
Returns the entity class in the domain with name, as an EntityClass. Returns
None
if there is no such class.
newEntityClass( )
Creates and returns a new entity class in the domain, as an EntityClass.
deleteEntityClass( entityclass )
Deletes the given EntityClass from the domain.
export( path )
Exports the domain to a the file at path, asking the user to select a file if path in
None
.
duplicate( )
Returns a duplicate of the domain with the name modified to include βcopy,β as a Domain.
Last updated