play.boilerplate.generators.support

ObjectSupport

trait ObjectSupport extends AnyRef

Self Type
DefinitionsSupport
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ObjectSupport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Constraint extends AnyRef

  2. case class ListConstraint(constraints: Seq[DefinitionsSupport.Constraint], tpe: treehugger.Forest.Type) extends DefinitionsSupport.Constraint with Product with Serializable

  3. case class MapConstraint(constraints: Seq[DefinitionsSupport.Constraint], tpe: treehugger.Forest.Type) extends DefinitionsSupport.Constraint with Product with Serializable

  4. case class MaxLength(length: Int) extends DefinitionsSupport.Constraint with Product with Serializable

  5. case class Maximum(value: Any) extends DefinitionsSupport.Constraint with Product with Serializable

  6. case class MinLength(length: Int) extends DefinitionsSupport.Constraint with Product with Serializable

  7. case class Minimum(value: Any) extends DefinitionsSupport.Constraint with Product with Serializable

  8. case class ObjectJson(reads: treehugger.Forest.Tree, writes: treehugger.Forest.Tree) extends Product with Serializable

  9. case class ObjectProperty(name: String, support: TypeSupport, noOptType: treehugger.Forest.Type, isOpt: Boolean, defaultValue: Option[treehugger.Forest.Literal], constraints: Seq[DefinitionsSupport.Constraint]) extends Product with Serializable

  10. case class ObjectPropertyJson(ident: String, reads: treehugger.Forest.Enumerator, writes: treehugger.Forest.Tree) extends Product with Serializable

  11. case class Pattern(pattern: String) extends DefinitionsSupport.Constraint with Product with Serializable

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Email extends DefinitionsSupport.Constraint with Product with Serializable

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collectPropertyConstraints(property: Definition)(implicit ctx: GeneratorContext): Seq[DefinitionsSupport.Constraint]

  10. def composeClassName(objName: String): String

  11. def composeFullClassName(objName: String, obj: ComplexDefinition)(implicit ctx: GeneratorContext): String

  12. def composeInterfaceName(objName: String): String

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

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def generateClassParams(properties: Map[String, Definition])(implicit ctx: GeneratorContext): Seq[DefinitionsSupport.ObjectProperty]

  17. def generateInterfaceDefs(interfaceName: treehugger.Forest.Symbol, params: Seq[DefinitionsSupport.ObjectProperty])(implicit ctx: GeneratorContext): TypeSupportDefs

  18. def generateObject(fullClassName: String, params: Seq[DefinitionsSupport.ObjectProperty], parents: Seq[treehugger.Forest.Symbol], context: DefinitionContext, withDefinition: Boolean)(implicit ctx: GeneratorContext): TypeSupport

  19. def generateObjectDefs(objectClass: treehugger.Forest.Symbol, params: Seq[DefinitionsSupport.ObjectProperty], parents: Seq[treehugger.Forest.Symbol])(implicit ctx: GeneratorContext): Seq[TypeSupportDefs]

  20. def generateObjectJson(objectClass: treehugger.Forest.Symbol, properties: Seq[DefinitionsSupport.ObjectProperty])(implicit ctx: GeneratorContext): DefinitionsSupport.ObjectJson

  21. def generateObjectQueryBindable(objectClass: treehugger.Forest.Symbol, properties: Seq[DefinitionsSupport.ObjectProperty])(implicit ctx: GeneratorContext): treehugger.Forest.Tree

  22. def generateObjectReads(modelName: String, modelType: treehugger.Forest.Type, properties: Seq[DefinitionsSupport.ObjectPropertyJson])(implicit ctx: GeneratorContext): treehugger.Forest.Tree

  23. def generateObjectWrites(modelName: String, modelType: treehugger.Forest.Type, properties: Seq[DefinitionsSupport.ObjectPropertyJson])(implicit ctx: GeneratorContext): treehugger.Forest.Tree

  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def getComplexObjectSupport(complex: ComplexObjectDefinition, context: DefinitionContext)(implicit ctx: GeneratorContext): TypeSupport

  26. def getObjectSupport(obj: ObjectDefinition, context: DefinitionContext)(implicit ctx: GeneratorContext): TypeSupport

  27. def getReadsConstraint(constraint: DefinitionsSupport.Constraint, noOptType: treehugger.Forest.Type): treehugger.Forest.Tree

  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped