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.
- Alphabetic
- By Inheritance
- DomainElementMerging
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DomainElementMerging()(implicit ctx: RamlWebApiContext)
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
-
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
- val allowedListFields: List[Field]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def handleExistingFieldEntries[T <: DomainElement](main: T, mainFieldEntry: FieldEntry, otherFieldEntry: FieldEntry, errorHandler: ErrorHandler): Boolean
- def handleNewFieldEntry[T <: DomainElement](main: T, otherFieldEntry: FieldEntry, errorHandler: ErrorHandler): Unit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge[T <: DomainElement](main: T, other: T): T
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val possibleImplicitFields: List[Field]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... ) @native()