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
Ordering
- Alphabetic
- By Inheritance
Inherited
- ShapeNormalizationStage
- MinShapeAlgorithm
- RestrictionComputation
- MetaModelTypeMapping
- ResolutionStage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ShapeNormalizationStage(profile: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
allShapeFields: List[Field]
- Definition Classes
- MinShapeAlgorithm
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canonical(shape: Shape): Shape
- Attributes
- protected
-
def
canonicalArray(array: ArrayShape): Shape
- Attributes
- protected
-
def
canonicalInheritance(shape: Shape): Shape
- Attributes
- protected
-
def
canonicalMatrix(matrix: MatrixShape): Shape
- Attributes
- protected
-
def
canonicalNode(node: NodeShape): Shape
- Attributes
- protected
-
def
canonicalProperty(property: PropertyShape): Shape
- Attributes
- protected
-
def
canonicalScalar(scalar: ScalarShape): Shape
- Attributes
- protected
-
def
canonicalTuple(tuple: TupleShape): Shape
- Attributes
- protected
-
def
canonicalUnion(union: UnionShape): Shape
- Attributes
- protected
-
def
checkRequiredShape(shape: Shape, required: Boolean): Unit
- Attributes
- protected
-
def
cleanUnnecessarySyntax(shape: Shape): Shape
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
computeBooleanComparison(lcomparison: Boolean, rcomparison: Boolean, lvalue: AmfElement, rvalue: AmfElement): Boolean
- Attributes
- protected
- Definition Classes
- RestrictionComputation
-
def
computeMinAny(baseShape: Shape, anyShape: AnyShape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinArray(baseArray: ArrayShape, superArray: ArrayShape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinFile(baseFile: FileShape, superFile: FileShape): Shape
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinGeneric(baseShape: NodeShape, superShape: Shape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinMatrix(baseMatrix: MatrixShape, superMatrix: MatrixShape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinNode(baseNode: NodeShape, superNode: NodeShape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinProperty(baseProperty: PropertyShape, superProperty: PropertyShape): Shape
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinRecursive(baseShape: Shape, recursiveShape: RecursiveShape): Shape
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinScalar(baseScalar: ScalarShape, superScalar: ScalarShape): ScalarShape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinSuperUnion(baseShape: Shape, superUnion: UnionShape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinTuple(baseTuple: TupleShape, superTuple: TupleShape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinUnion(baseUnion: UnionShape, superUnion: UnionShape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeMinUnionNode(baseUnion: UnionShape, superNode: NodeShape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
def
computeNarrow(field: Field, baseValue: AmfElement, superValue: AmfElement): AmfElement
- Attributes
- protected
- Definition Classes
- RestrictionComputation
-
def
computeNarrowRestrictions(fields: Seq[Field], baseShape: Shape, superShape: Shape, filteredFields: Seq[Field] = Seq.empty): Shape
- Attributes
- protected
- Definition Classes
- RestrictionComputation
-
def
computeNumericComparison(comparison: String, lvalue: AmfElement, rvalue: AmfElement): Boolean
- Attributes
- protected
- Definition Classes
- RestrictionComputation
-
def
computeNumericRestriction(comparison: String, lvalue: AmfElement, rvalue: AmfElement): AmfElement
- Attributes
- protected
- Definition Classes
- RestrictionComputation
-
def
computeStringEquality(lvalue: AmfElement, rvalue: AmfElement): Boolean
- Attributes
- protected
- Definition Classes
- RestrictionComputation
-
def
ensureCorrect(shape: Shape): Unit
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
expand(shape: Shape): Shape
- Attributes
- protected
-
def
expandArray(array: ArrayShape): ArrayShape
- Attributes
- protected
-
def
expandInherits(shape: Shape): Unit
- Attributes
- protected
-
def
expandMatrix(matrix: MatrixShape): MatrixShape
- Attributes
- protected
-
def
expandNode(node: NodeShape): NodeShape
- Attributes
- protected
-
def
expandProperty(property: PropertyShape): PropertyShape
- Attributes
- protected
-
def
expandScalar(scalar: ScalarShape): ScalarShape
- Attributes
- protected
-
def
expandTuple(tuple: TupleShape): TupleShape
- Attributes
- protected
-
def
expandUnion(union: UnionShape): Shape
- Attributes
- protected
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def findShapesPredicate(element: DomainElement): Boolean
- var fixPointCount: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
isGenericNodeShape(shape: Shape): Boolean
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
metaModel(instance: Any): Obj
- Attributes
- protected
- Definition Classes
- MetaModelTypeMapping
-
def
minShape(baseShapeOrig: Shape, superShape: Shape): Shape
- Attributes
- protected
- Definition Classes
- MinShapeAlgorithm
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
resolve(model: BaseUnit): BaseUnit
- Definition Classes
- ShapeNormalizationStage → ResolutionStage
-
def
restrictShape(restriction: Shape, shape: Shape): Shape
- Attributes
- protected
- Definition Classes
- RestrictionComputation
-
def
stringValue(value: AmfElement): Option[String]
- Attributes
- protected
- Definition Classes
- RestrictionComputation
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transform(element: DomainElement, isCycle: Boolean): Option[DomainElement]
- Attributes
- protected
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )