case class Constraints(value: Vector[Constr]) extends ConstrVectorAttribute with scala.Product with Serializable
- Source
- DSL.scala
- Alphabetic
- By Inheritance
- Constraints
- Serializable
- Serializable
- Product
- Equals
- ConstrVectorAttribute
- VectorAttribute
- Attribute
- HasValue
- MapTo
- Node
- Elem
- Selector
- CanBeMapped
- HasType
- DSL
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
&&(that: Selector): AndSelector
- Definition Classes
- Selector
-
def
*(that: Model): Model
- Definition Classes
- Selector
-
def
/: AttrVal[Vector[Constr]]
- Definition Classes
- Attribute
-
def
=*=(that: Elem): Boolean
* old to be removed def isTypeMatch(that: HasType): Boolean = this.isInstanceOf[TypeObject] && that.myType == this def selects(that: Selector): Boolean = ( this == that ) || ( that match { case Head(e,l) if this.isInstanceOf[HeadType] => HeadType(e.myType, l) == this case Relation(e,l,t) if this.isInstanceOf[HeadType] => HeadType(e.myType, l) == this case ht: HasType => isTypeMatch(ht) case _ => false } ) **---
* old to be removed def isTypeMatch(that: HasType): Boolean = this.isInstanceOf[TypeObject] && that.myType == this def selects(that: Selector): Boolean = ( this == that ) || ( that match { case Head(e,l) if this.isInstanceOf[HeadType] => HeadType(e.myType, l) == this case Relation(e,l,t) if this.isInstanceOf[HeadType] => HeadType(e.myType, l) == this case ht: HasType => isTypeMatch(ht) case _ => false } ) **---
- Definition Classes
- Selector
- def isAttribute: Boolean
-
def
isEntity: Boolean
- Definition Classes
- Elem
-
def
isInt: Boolean
- Definition Classes
- Attribute
-
def
isMatch(that: Elem): Boolean
- Definition Classes
- Selector
- def isNode: Boolean
-
def
isRelation: Boolean
- Definition Classes
- Elem
-
def
isString: Boolean
- Definition Classes
- Attribute
-
def
key: AttributeType[Vector[Constr]]
- Definition Classes
- Attribute → CanBeMapped
-
def
mapTo: Attribute[Vector[Constr]]
- Definition Classes
- Attribute → CanBeMapped
-
val
myType: Constraints.type
- Definition Classes
- Constraints → Attribute → HasType
-
def
prefix: String
- Definition Classes
- DSL
-
def
restrict(that: Model): Model
- Definition Classes
- Selector
-
def
toMapping: (Key, MapTo)
- Definition Classes
- CanBeMapped
-
def
toScala: String
Concrete DSL classes should have an executable string representation.
Concrete DSL classes should have an executable string representation. If the default toString is not executable Scala-embedded DSL syntax, then this method is overridden by an executable string.
- Definition Classes
- VectorAttribute → Attribute → DSL
- def toScalaBody: String
-
def
toString(): String
- Definition Classes
- VectorAttribute → AnyRef → Any
-
def
unary_!: NotSelector
- Definition Classes
- Selector
-
val
value: Vector[Constr]
- Definition Classes
- Constraints → HasValue
-
def
||(that: Selector): OrSelector
- Definition Classes
- Selector