case class Selection(fields: List[Field], interfaces: List[String] = List.empty) extends TypedDocument with Product with Serializable
A Selection represents a list of selected fields with additional meta information.
Based on the meta information (interfaces, fragment) code generators can decide what code needs to be generated.
## Interfaces
The generated code may inherit the specified interfaces for this selection.
## Fragment
If a fragment is the source for this selection the fragment code could be generated in a separate place and referenced here by name and or type of the fragment.
- fields
the fields that are part of the selection
- interfaces
the interfaces that apply to this selection
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Selection
- Serializable
- Serializable
- Product
- Equals
- TypedDocument
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Selection(fields: List[Field], interfaces: List[String] = List.empty)
- fields
the fields that are part of the selection
- interfaces
the interfaces that apply to this selection
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(that: Selection): Selection
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
- val fields: List[Field]
-
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()
- val interfaces: List[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
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()