com.atomizesoftware.spin.models

Contract

case class Contract(id: Long = 1, customerId: Long, code: String, name: String, description: Option[String], archived: Boolean, fieldsToUpdateInDatabase: Seq[String] = Seq(), syncTimestamp: Long = 0L, customer: Option[Customer] = None, prices: Option[List[Price]] = None) extends BaseModel with SyncTimestamp with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, SyncTimestamp, BaseModel, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Contract
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SyncTimestamp
  7. BaseModel
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Contract(id: Long = 1, customerId: Long, code: String, name: String, description: Option[String], archived: Boolean, fieldsToUpdateInDatabase: Seq[String] = Seq(), syncTimestamp: Long = 0L, customer: Option[Customer] = None, prices: Option[List[Price]] = None)

Type Members

  1. type T = Contract

    Definition Classes
    ContractBaseModel

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. val allFields: Seq[String]

    Definition Classes
    ContractBaseModel
  5. val archived: Boolean

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def chooseAllFieldsForUpdate: T

    Definition Classes
    BaseModel
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val code: String

  10. def copy(id: Long = id, customerId: Long = customerId, code: String = code, name: String = name, description: Option[String] = description, archived: Boolean = archived, fieldsToUpdateInDatabase: Seq[String] = fieldsToUpdateInDatabase, syncTimestamp: Long = syncTimestamp, customer: Option[Customer] = customer, prices: Option[List[Price]] = prices): Contract

  11. val customer: Option[Customer]

  12. val customerId: Long

  13. val description: Option[String]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def fieldsToTrack(currentValues: Seq[Any], copyValues: Seq[Any], oldFields: Seq[String]): Seq[String]

    Attributes
    protected
    Definition Classes
    BaseModel
  16. val fieldsToUpdateInDatabase: Seq[String]

    Definition Classes
    ContractBaseModel
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. val id: Long

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val name: String

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val prices: Option[List[Price]]

  26. val syncTimestamp: Long

    Definition Classes
    ContractSyncTimestamp
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def updateAllFields: Boolean

    Definition Classes
    BaseModel
  29. def updateOnly(fields: Option[Seq[String]] = None): T

    Definition Classes
    BaseModel
  30. def updateThese(fields: Seq[String]): Contract

    Definition Classes
    ContractBaseModel
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SyncTimestamp

Inherited from BaseModel

Inherited from AnyRef

Inherited from Any

Ungrouped