code: function UMLState() {
          UMLVertex.apply(this, arguments);
  
          /** @member {Array.<UMLRegion>} */
          this.regions = [];
  
          /** @member {Array.<UMLBehavior>} */
          this.entryActivities = [];
  
          /** @member {Array.<UMLBehavior>} */
          this.doActivities = [];
  
          /** @member {Array.<UMLBehavior>} */
          this.exitActivities = [];
  
          /** @member {UMLStateMachine} */
          this.submachine = null;
  
          /** @member {UMLConnectionPointReference} */
          this.connections = [];
      }
docs: UMLState
  @constructor
  @extends UMLVertex