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)

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