es.weso.uml

package es.weso.uml

Members list

Concise view

Type members

Classlikes

case class Constant(name: Name) extends ValueConstraint

A constant value

A constant value

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLEntry
class Object
trait Matchable
class Any
case class DatatypeConstraint(name: Name, href: String) extends ValueConstraint

UML entry that represents a Datatype constraint

UML entry that represents a Datatype constraint

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLEntry
class Object
trait Matchable
class Any
case class FieldExpr(operator: Name, es: List[UMLField]) extends UMLEntry

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLEntry
class Object
trait Matchable
class Any
case class Inheritance(source: NodeId, target: NodeId) extends UMLLink

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLLink
class Object
trait Matchable
class Any
case class IntMax(v: Int) extends IntOrUnbounded

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed abstract class IntOrUnbounded

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class IntMax
object Unbounded.type
case object NoCard extends UMLCardinality

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
NoCard.type
case class NoConstraint() extends ValueConstraint

UML entry that represents no constraint

UML entry that represents no constraint

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLEntry
class Object
trait Matchable
class Any
case class Operator(name: Name, args: List[UMLComponent]) extends UMLComponent

UMLComponent that represents an operator

UMLComponent that represents an operator

Attributes

args

list of arguments

name

name of operator

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case object Optional extends UMLCardinality

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case class PlantUMLOptions(watermark: Option[String])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case object Plus extends UMLCardinality

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Plus.type
object RDF2UML

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
RDF2UML.type
case class Range(min: Int, max: IntOrUnbounded) extends UMLCardinality

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class RefConstraint(name: Name, href: String) extends ValueConstraint

UML entry that represents a basic constraint

UML entry that represents a basic constraint

Attributes

href

hyperref

name

name of the constraint

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLEntry
class Object
trait Matchable
class Any
case class Relationship(source: NodeId, target: NodeId, label: Name, href: HRef, card: UMLCardinality) extends UMLLink

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLLink
class Object
trait Matchable
class Any
object SHACL2UML

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Schema2UML extends LazyLogging

Attributes

Graph
Supertypes
trait LazyLogging
class Object
trait Matchable
class Any
Self type
object ShEx2UML

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case object Star extends UMLCardinality

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Star.type
case class UML(labels: Map[ShapeLabel, NodeId], components: Map[NodeId, UMLComponent], links: List[UMLLink])

Represents a UML-like class diagram that can be serialized to PlantUML syntax

Represents a UML-like class diagram that can be serialized to PlantUML syntax

Attributes

components

associates NodeIds to UMLComponents

labels

associates ShapeLabels to NodeIds

links

list of links

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object UML

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
UML.type
sealed abstract class UMLCardinality

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NoCard.type
object Optional.type
object Plus.type
class Range
object Star.type
case class UMLClass(id: NodeId, label: Name, href: Option[HRef], entries: List[List[UMLEntry]], _extends: List[NodeId]) extends UMLComponent

UML class

UML class

Attributes

_extends

List of nodes that it extends

entries

list of UML entries

href

Hyperref

id

node Id

label

Label

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed abstract class UMLComponent

Represents a UML component

Represents a UML component

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Operator
class UMLClass
case class UMLConstant(name: Name) extends UMLComponent

UML constant

UML constant

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object UMLDiagram

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class UMLEntry

UML Entry

UML Entry

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class UMLField(name: Name, href: Option[HRef], valueConstraints: List[ValueConstraint], card: UMLCardinality) extends UMLEntry

UML entry that represents a field

UML entry that represents a field

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLEntry
class Object
trait Matchable
class Any
sealed abstract class UMLLink

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case object Unbounded extends IntOrUnbounded

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case class Value(name: String, href: Option[String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed abstract class ValueConstraint extends UMLEntry

UML entry that represents a constant

UML entry that represents a constant

Attributes

Graph
Supertypes
class UMLEntry
class Object
trait Matchable
class Any
Known subtypes
case class ValueExpr(operator: Name, vs: List[ValueConstraint]) extends ValueConstraint

Represents a value expression

Represents a value expression

Attributes

operator

name of the expression

vs

list of arguments

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLEntry
class Object
trait Matchable
class Any
case class ValueSet(values: List[Value]) extends ValueConstraint

Represents a set of values

Represents a set of values

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class UMLEntry
class Object
trait Matchable
class Any