EntityClass
Last updated
Last updated
The EntityClass class represents an entity class.
Field
Type
Description
name
string
The class name.
builtIn
boolean
Read only. True if the domain is built-in and therefore cannot be modified.
color
The background color behind the class title.
weight
number
The default weight for new edges created along with entities of this class, as a value between -1.0 and 1.0.
symbol
The symbol inherited by new entities of this class.
milestone
boolean
True if entities derived from this class should be a milestone (zero effort) task, otherwise False.
resourceAssignment
The default resource assignment for entities derived from this class should be a milestone (zero effort) task, otherwise False.
showName
boolean
True if the class name should be shown, defaults to True.
domain
Read only. The parent domain of this class.
nameColor
Read only. The color that the name of the entity class would be rendered in an entity.
duplicate( )
Creates and returns a unique duplicate of this class with the name modified to include “copy,” as an EntityClass.