Packages

c

amf.plugins.domain.webapi.resolution.stages

DomainElementMerging

case class DomainElementMerging()(implicit ctx: RamlWebApiContext) extends Product with Serializable

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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DomainElementMerging
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DomainElementMerging()(implicit ctx: RamlWebApiContext)

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 finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def handleExistingFieldEntries[T <: DomainElement](main: T, mainFieldEntry: FieldEntry, otherFieldEntry: FieldEntry, errorHandler: ErrorHandler): Boolean
  12. def handleNewFieldEntry[T <: DomainElement](main: T, otherFieldEntry: FieldEntry): Unit
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def merge[T <: DomainElement](main: T, other: T, errorHandler: ErrorHandler): T
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped