Package

io.atomicbits.scraml.generator

typemodel

Permalink

package typemodel

Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayClassPointer(arrayType: ClassPointer) extends ClassPointer with Product with Serializable

    Permalink
  2. case class BooleanClassPointer(primitive: Boolean = true) extends ClassPointer with Product with Serializable

    Permalink
  3. case class ClassName(name: String, packagePath: List[String] = List.empty) extends Product with Serializable

    Permalink

    Created by peter on 7/02/17.

    Created by peter on 7/02/17.

    A class name is the final platform-specific class name for a generated class. It is similar to a canonical name (which is a RAML parser term in our context), but then platform specific and matching the final fully qualified class name.

  4. sealed trait ClassPointer extends AnyRef

    Permalink

    Created by peter on 10/01/17.

  5. case class ClassReference(name: String, packageParts: List[String] = List.empty, typeParameters: List[TypeParameter] = List.empty, typeParamValues: Map[TypeParameter, ClassPointer] = Map.empty, arrayType: Option[ClassReference] = None, predef: Boolean = false, library: Boolean = false, isTypeParameter: Boolean = false) extends ClassPointer with Product with Serializable

    Permalink
  6. case class ClientClassDefinition(apiName: String, baseUri: Option[String], basePackage: List[String], topLevelResourceDefinitions: List[ResourceClassDefinition]) extends SourceDefinition with Product with Serializable

    Permalink

    Created by peter on 13/01/17.

    Created by peter on 13/01/17.

    In a client class definition, we collect all information that is needed to generate a client class, independent from the target language.

  7. case class DoubleClassPointer(primitive: Boolean = true) extends ClassPointer with Product with Serializable

    Permalink
  8. case class EnumDefinition(reference: ClassReference, values: List[String] = List.empty) extends SourceDefinition with Product with Serializable

    Permalink

    Created by peter on 10/01/17.

  9. case class Field(fieldName: String, classPointer: ClassPointer, required: Boolean) extends Product with Serializable

    Permalink

    Created by peter on 10/01/17.

  10. case class HeaderSegmentClassDefinition(reference: ClassReference, imports: Set[ClassPointer], methods: List[String]) extends SourceDefinition with Product with Serializable

    Permalink

    Created by peter on 18/01/17.

  11. case class JsonTypeInfo(discriminator: String, discriminatorValue: String) extends Product with Serializable

    Permalink

    Created by peter on 10/01/17.

  12. case class ListClassPointer(typeParamValue: ClassPointer) extends ClassPointer with Product with Serializable

    Permalink
  13. case class LongClassPointer(primitive: Boolean = true) extends ClassPointer with Product with Serializable

    Permalink
  14. case class ResourceClassDefinition(apiPackage: List[String], precedingUrlSegments: List[String], resource: Resource) extends SourceDefinition with Product with Serializable

    Permalink

    Created by peter on 13/01/17.

    Created by peter on 13/01/17.

    In a resource class definition, we collect all information that is needed to generate a single resource class, independent from the target language.

  15. trait SourceDefinition extends AnyRef

    Permalink

    Created by peter on 13/01/17.

  16. case class SourceFile(filePath: String, content: String) extends Product with Serializable

    Permalink

    Created by peter on 14/01/17.

  17. case class TransferObjectClassDefinition(reference: ClassReference, fields: List[Field], parents: List[ClassReference] = List.empty, typeDiscriminator: Option[String] = None, typeDiscriminatorValue: Option[String] = None) extends SourceDefinition with Product with Serializable

    Permalink

    Created by peter on 10/01/17.

    Created by peter on 10/01/17.

    Transfer Object class definition. In a transfer object class definition, we collect all information that is needed to generate a single TO class, independent from the target language.

  18. case class TransferObjectInterfaceDefinition(origin: TransferObjectClassDefinition, discriminator: String) extends SourceDefinition with Product with Serializable

    Permalink

    Created by peter on 14/01/17.

    Created by peter on 14/01/17.

    In a transfer object interface definition, we collect all information that is needed to generate a single interface, independent from the target language.

  19. case class TypeParameter(name: String) extends ClassPointer with Product with Serializable

    Permalink
  20. case class UnionClassDefinition(reference: ClassReference, union: Set[ClassPointer]) extends SourceDefinition with Product with Serializable

    Permalink

    Created by peter on 14/01/17.

Value Members

  1. object BinaryDataClassPointer extends ClassPointer with Product with Serializable

    Permalink
  2. object BodyPartClassPointer extends ClassPointer with Product with Serializable

    Permalink
  3. object ByteClassPointer extends ClassPointer with Product with Serializable

    Permalink
  4. object FileClassPointer extends ClassPointer with Product with Serializable

    Permalink
  5. object InputStreamClassPointer extends ClassPointer with Product with Serializable

    Permalink
  6. object JsObjectClassPointer extends ClassPointer with Product with Serializable

    Permalink
  7. object JsValueClassPointer extends ClassPointer with Product with Serializable

    Permalink
  8. object StringClassPointer extends ClassPointer with Product with Serializable

    Permalink

Ungrouped