Packages

o

amf.plugins.domain.webapi.resolution.stages

DomainElementMerging

object DomainElementMerging

Merge 'other' element into 'main' element: 1) 'main' node properties are inspected and those that are undefined in 'other' node remain unchanged. 2) 'main' node receives all properties of 'other' node (excluding optional ones), which are undefined in the 'main' node. 3) Properties defined in both 'main' node and 'other' node (including optional ones) are treated as follows: a) Scalar properties remain unchanged. b) Collection properties are merged by value. c) Values of object properties are subjected to steps 1-3 of this procedure.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DomainElementMerging
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Adopted() extends Product with Serializable
    Attributes
    protected

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. def adoptInner(parentId: String, target: AmfElement, adopted: Adopted = Adopted()): AmfElement

    Adopts recursively different kinds of AMF elements if not yet adopted

    Adopts recursively different kinds of AMF elements if not yet adopted

    parentId

    id of the adopter element

    target

    element to be adopted

    adopted

    utility class containing already adopted elements

    returns

    adopted element with newly set ID

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def ensureNotRecursive(shape: Shape, ids: Set[String] = Set()): Shape
    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def handleExistingFieldEntries[T <: DomainElement](main: T, mainFieldEntry: FieldEntry, otherFieldEntry: FieldEntry, errorHandler: ErrorHandler): Boolean
  13. def handleNewFieldEntry[T <: DomainElement](main: T, otherFieldEntry: FieldEntry): Unit
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def merge[T <: DomainElement](main: T, other: T, errorHandler: ErrorHandler): T
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped