trait ManyToMany extends BaseKeyedMapper
Add this trait to a Mapper to add support for many-to-many relationships
- Self Type
- ManyToMany with KeyedMapper[_, _]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ManyToMany
- BaseKeyedMapper
- BaseMapper
- FieldContainer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
abstract
type
KeyedMapperType <: KeyedMapper[(ManyToMany.this)#TheKeyType, (ManyToMany.this)#KeyedMapperType]
- Definition Classes
- BaseKeyedMapper
-
class
MappedManyToMany
[O <: Mapper[O], K2, T2 <: KeyedMapper[K2, T2]] extends Buffer[T2]
This is the base class to extend for fields that track many-to-many relationships.
-
abstract
type
MapperType <: Mapper[(ManyToMany.this)#MapperType]
- Definition Classes
- BaseMapper
-
abstract
type
TheKeyType
- Definition Classes
- BaseKeyedMapper
Abstract Value Members
-
abstract
def
allFields: Seq[BaseField]
- Definition Classes
- FieldContainer
-
abstract
def
dbName: String
- Definition Classes
- BaseMapper
-
abstract
def
primaryKeyField: MappedField[(ManyToMany.this)#TheKeyType, (ManyToMany.this)#MapperType] with IndexedField[(ManyToMany.this)#TheKeyType]
- Definition Classes
- BaseKeyedMapper
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
delete_!: Boolean
An override for delete_! to propogate the deletion to all children of this parent.
An override for delete_! to propogate the deletion to all children of this parent. Returns false as soon as the parent or a one-to-many field returns false. If they are all successful returns true.
- Definition Classes
- ManyToMany → BaseKeyedMapper
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
save: Boolean
An override for save to propagate the save to all children of this parent.
An override for save to propagate the save to all children of this parent. Returns false as soon as the parent or a one-to-many field returns false. If they are all successful returns true.
- Definition Classes
- ManyToMany → BaseMapper
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )