new PMIElement():
Element
Creates an empty PMI element.
Element
new PMIElement(
representation):Element
Creates a PMI element from a graphical representation.
Graphical representation.
Element
BaseObject.constructor
new PMIElement(
type):Element
Creates a PMI element of the specified type.
Element type.
Element
BaseObject.constructor
new PMIElement(
type,name):Element
Creates a named PMI element of the specified type.
Element type.
string
Element name.
Element
BaseObject.constructor
graphicalRepresentation:
GraphicalRepresentation|null=null
semanticRepresentation:
SemanticRepresentation|null=null
type:
PMIElementType=ElementType.UNDEFINED
get id():
bigint
Returns the unique identifier of the object.
bigint
get name():
string|null
Returns the name of the element.
string | null
set name(
name):void
Sets the name of the element.
string | null
Name to assign to the element.
void
isEmpty():
boolean
Returns whether this PMI element has no assigned data.
boolean