Packages

c

amf.plugins.domain.shapes.resolution.stages

ShapeNormalizationStage

class ShapeNormalizationStage extends ResolutionStage with MetaModelTypeMapping with MinShapeAlgorithm

Computes the canonical form for all the shapes in the model We are assuming certain pre-conditions in the state of the shape:

  • All type references have been replaced by their expanded forms
Linear Supertypes
MinShapeAlgorithm, RestrictionComputation, MetaModelTypeMapping, ResolutionStage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeNormalizationStage
  2. MinShapeAlgorithm
  3. RestrictionComputation
  4. MetaModelTypeMapping
  5. ResolutionStage
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShapeNormalizationStage(profile: String, keepEditingInfo: Boolean, errorHandler: ErrorHandler)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val allShapeFields: List[Field]
    Definition Classes
    MinShapeAlgorithm
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def canonical(shape: Shape): Shape
    Attributes
    protected
  7. def canonicalArray(array: ArrayShape): Shape
    Attributes
    protected
  8. def canonicalInheritance(shape: Shape): Shape
    Attributes
    protected
  9. def canonicalLogicalConstraints(shape: Shape): Unit
    Attributes
    protected
  10. def canonicalMatrix(matrix: MatrixShape): Shape
    Attributes
    protected
  11. def canonicalNode(node: NodeShape): Shape
    Attributes
    protected
  12. def canonicalProperty(property: PropertyShape): Shape
    Attributes
    protected
  13. def canonicalScalar(scalar: ScalarShape): Shape
    Attributes
    protected
  14. def canonicalTuple(tuple: TupleShape): Shape
    Attributes
    protected
  15. def canonicalUnion(union: UnionShape): Shape
    Attributes
    protected
  16. def checkRequiredShape(shape: Shape, required: Boolean): Unit
    Attributes
    protected
  17. def cleanUnnecessarySyntax(shape: Shape): Shape
    Attributes
    protected
  18. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def computeBooleanComparison(lcomparison: Boolean, rcomparison: Boolean, lvalue: AmfElement, rvalue: AmfElement): Boolean
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  20. def computeMinAny(baseShape: Shape, anyShape: AnyShape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  21. def computeMinArray(baseArray: ArrayShape, superArray: ArrayShape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  22. def computeMinFile(baseFile: FileShape, superFile: FileShape): Shape
    Definition Classes
    MinShapeAlgorithm
  23. def computeMinGeneric(baseShape: NodeShape, superShape: Shape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  24. def computeMinMatrix(baseMatrix: MatrixShape, superMatrix: MatrixShape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  25. def computeMinNode(baseNode: NodeShape, superNode: NodeShape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  26. def computeMinProperty(baseProperty: PropertyShape, superProperty: PropertyShape): Shape
    Definition Classes
    MinShapeAlgorithm
  27. def computeMinRecursive(baseShape: Shape, recursiveShape: RecursiveShape): Shape
    Definition Classes
    MinShapeAlgorithm
  28. def computeMinScalar(baseScalar: ScalarShape, superScalar: ScalarShape): ScalarShape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  29. def computeMinSuperUnion(baseShape: Shape, superUnion: UnionShape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  30. def computeMinTuple(baseTuple: TupleShape, superTuple: TupleShape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  31. def computeMinUnion(baseUnion: UnionShape, superUnion: UnionShape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  32. def computeMinUnionNode(baseUnion: UnionShape, superNode: NodeShape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  33. def computeNarrow(field: Field, baseValue: AmfElement, superValue: AmfElement): AmfElement
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  34. def computeNarrowLogical(baseShape: Shape, superShape: Shape): Any
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  35. def computeNarrowRestrictions(fields: Seq[Field], baseShape: Shape, superShape: Shape, filteredFields: Seq[Field] = Seq.empty): Shape
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  36. def computeNumericComparison(comparison: String, lvalue: AmfElement, rvalue: AmfElement): Boolean
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  37. def computeNumericRestriction(comparison: String, lvalue: AmfElement, rvalue: AmfElement): AmfElement
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  38. def computeStringEquality(lvalue: AmfElement, rvalue: AmfElement): Boolean
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  39. def ensureCorrect(shape: Shape): Unit
    Attributes
    protected
  40. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  42. val errorHandler: ErrorHandler
  43. def expand(shape: Shape): Shape
    Attributes
    protected
  44. def expandArray(array: ArrayShape): ArrayShape
    Attributes
    protected
  45. def expandInherits(shape: Shape): Unit
    Attributes
    protected
  46. def expandLogicalConstraints(shape: Shape): Unit
    Attributes
    protected
  47. def expandMatrix(matrix: MatrixShape): MatrixShape
    Attributes
    protected
  48. def expandNode(node: NodeShape): NodeShape
    Attributes
    protected
  49. def expandProperty(property: PropertyShape): PropertyShape
    Attributes
    protected
  50. def expandScalar(scalar: ScalarShape): ScalarShape
    Attributes
    protected
  51. def expandTuple(tuple: TupleShape): TupleShape
    Attributes
    protected
  52. def expandUnion(union: UnionShape): Shape
    Attributes
    protected
  53. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  54. def findShapesPredicate(element: DomainElement): Boolean
  55. var fixPointCount: Int
  56. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  57. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  58. def inheritAnnotations(annotations: Annotations, from: Shape): Annotations
    Definition Classes
    RestrictionComputation
  59. def inheritProp(from: Shape)(prop: PropertyShape): PropertyShape
    Definition Classes
    MinShapeAlgorithm
  60. def isGenericNodeShape(shape: Shape): Boolean
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  61. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  62. val keepEditingInfo: Boolean
  63. def metaModel(instance: Any): Obj
    Attributes
    protected
    Definition Classes
    MetaModelTypeMapping
  64. def minShape(baseShapeOrig: Shape, superShape: Shape): Shape
    Attributes
    protected
    Definition Classes
    MinShapeAlgorithm
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. final def notify(): Unit
    Definition Classes
    AnyRef
  67. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  68. def resolve(model: BaseUnit): BaseUnit
    Definition Classes
    ShapeNormalizationStage → ResolutionStage
  69. def restrictShape(restriction: Shape, shape: Shape): Shape
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  70. def stringValue(value: AmfElement): Option[String]
    Attributes
    protected
    Definition Classes
    RestrictionComputation
  71. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  72. def toString(): String
    Definition Classes
    AnyRef → Any
  73. def transform(element: DomainElement, isCycle: Boolean): Option[DomainElement]
    Attributes
    protected
  74. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MinShapeAlgorithm

Inherited from RestrictionComputation

Inherited from MetaModelTypeMapping

Inherited from ResolutionStage

Inherited from AnyRef

Inherited from Any

Ungrouped