ModelMembers
Operations of trait Model *
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Model
- Self type
Members list
Value members
Concrete methods
A new Model with each elem of other Model added to elems of this Model. Same as m.addAll(other) *
A new Model with each elem of other Model added to elems of this Model. Same as m.addAll(other) *
Attributes
A new Model with elem e prepended to the elems of this Model. Same as m.prepend(e)
A new Model with elem e prepended to the elems of this Model. Same as m.prepend(e)
Attributes
A deep sub-model recursing into a sequence of links in a LinkPath. *
A deep sub-model recursing into a sequence of links in a LinkPath. *
Attributes
A new Model with elem e appended to the elems of this Model. Same as m.append(e)
A new Model with elem e appended to the elems of this Model. Same as m.append(e)
Attributes
Append an elem if not already exists at top level. Relations are merged using mergeFirst.
Append an elem if not already exists at top level. Relations are merged using mergeFirst.
Attributes
A new Model with elem e appended to the elems of this Model. Same as m :+ e
A new Model with elem e appended to the elems of this Model. Same as m :+ e
Attributes
A new Model with other Model's elems appended to elems. Same as: m :++ other NOTE: Different from m ++ other
A new Model with other Model's elems appended to elems. Same as: m :++ other NOTE: Different from m ++ other
Attributes
Attributes
Cut all relations so that no relations is deeper than depth. cut(0) == tip, cut(1) == top *
Cut all relations so that no relations is deeper than depth. cut(0) == tip, cut(1) == top *
Attributes
A new model constructed by adding all elems using add one by one giving no duplicates per level.
A new model constructed by adding all elems using add one by one giving no duplicates per level.
Attributes
A new Model with recursive de-duplication of its attributes by type on all levels. *
A new Model with recursive de-duplication of its attributes by type on all levels. *
Attributes
A new Model with recursive de-duplication of its elems on all levels. *
A new Model with recursive de-duplication of its elems on all levels. *
Attributes
A new Model that removes top-level Ent that are themselves part of Links. *
A new Model that removes top-level Ent that are themselves part of Links. *
Attributes
A new Model that is distinct by top-level attribute type (non-recursive). *
A new Model that is distinct by top-level attribute type (non-recursive). *
Attributes
A new Model with distinct top-level elems (non-recursive). *
A new Model with distinct top-level elems (non-recursive). *
Attributes
A Map that groups equal links to gether. Keys of type Link point to Vector[Rel]. *
A Map that groups equal links to gether. Keys of type Link point to Vector[Rel]. *
Attributes
True if this model is in normal form.
True if this model is in normal form.
Attributes
A Model with elems deeply filtered according to a selection expression. *
A Model with elems deeply filtered according to a selection expression. *
Attributes
Submodels with same link are merged *
Submodels with same link are merged *
Attributes
merge sub model of r with the sub model of first relations with the same link or append r to elems
merge sub model of r with the sub model of first relations with the same link or append r to elems
Attributes
A Model in normal form: elems are added one by one replacing same nodes and then sorted. *
A Model in normal form: elems are added one by one replacing same nodes and then sorted. *
Attributes
A new Model with elem e prepended to the elems of this Model. Same as e +: m
A new Model with elem e prepended to the elems of this Model. Same as e +: m
Attributes
All empty relations at any depth are replaced by its entity.
All empty relations at any depth are replaced by its entity.
Attributes
The number of elems at top level plus the sum of sizes of all sub models *
The number of elems at top level plus the sum of sizes of all sub models *
Attributes
Recursively sort elems alphabetically.
Recursively sort elems alphabetically.
Attributes
A Model with the nodes but not relations at the top of this Model.
A Model with the nodes but not relations at the top of this Model.
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
A Model with the tip of this Model and the tip of its sub-models.
A Model with the tip of this Model and the tip of its sub-models.
Attributes
A new model first attribute of same type updated to a or appended to elems if not in elems.tip.
A new model first attribute of same type updated to a or appended to elems if not in elems.tip.