Package

io.atomicbits.scraml.ramlparser.model

canonicaltypes

Permalink

package canonicaltypes

Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayTypeReference(genericType: GenericReferrable) extends TypeReference with Product with Serializable

    Permalink
  2. trait CanonicalName extends AnyRef

    Permalink

    Created by peter on 9/12/16.

  3. trait CanonicalType extends AnyRef

    Permalink

    Created by peter on 9/12/16.

  4. trait DateType extends PrimitiveType

    Permalink

    Created by peter on 11/12/16.

  5. case class EnumType(canonicalName: CanonicalName, choices: List[String]) extends NonPrimitiveType with Product with Serializable

    Permalink

    Created by peter on 9/12/16.

  6. case class FileConstraints(fileTypes: Option[Seq[String]] = None, minLength: Option[Int] = None, maxLength: Option[Int] = None) extends TypeConstraints[FileType.type] with Product with Serializable

    Permalink
  7. trait GenericReferrable extends AnyRef

    Permalink

    A generic referrable is the entity that a type parameter can refer to.

    A generic referrable is the entity that a type parameter can refer to. This is either another TypeParameter or a concrete TypeReference.

  8. case class IntegerConstraints(format: Option[String] = None, minimum: Option[Int] = None, maximum: Option[Int] = None, multipleOf: Option[Int] = None) extends TypeConstraints[IntegerType.type] with Product with Serializable

    Permalink
  9. case class NoName extends CanonicalName with Product with Serializable

    Permalink
  10. trait NonPrimitiveType extends CanonicalType

    Permalink

    Nonprimitive types are the custom types created by the RAML model that will need to be generated as 'new' types.

  11. case class NonPrimitiveTypeReference(refers: CanonicalName, genericTypes: List[GenericReferrable] = List.empty, genericTypeParameters: List[TypeParameter] = List.empty) extends TypeReference with Product with Serializable

    Permalink
  12. case class NumberConstraints(format: Option[String] = None, minimum: Option[Int] = None, maximum: Option[Int] = None, multipleOf: Option[Int] = None) extends TypeConstraints[NumberType.type] with Product with Serializable

    Permalink
  13. case class ObjectType(canonicalName: CanonicalName, properties: Map[String, Property[_ <: GenericReferrable]], parents: List[TypeReference] = List.empty, typeParameters: List[TypeParameter] = List.empty, typeDiscriminator: Option[String] = None, typeDiscriminatorValue: Option[String] = None) extends NonPrimitiveType with Product with Serializable

    Permalink

    Created by peter on 9/12/16.

  14. trait PrimitiveType extends CanonicalType with TypeReference

    Permalink

    A primitive type is interpreted in the broad sense of all types that are not customly made by the user in the RAML model.

    A primitive type is interpreted in the broad sense of all types that are not customly made by the user in the RAML model. These are all types that are not an Object or an Enum.

    A primitive type is also its own type reference since it has no user-defined properties that can be configured in the RAML model.

  15. case class Property[T <: GenericReferrable](name: String, ttype: T, required: Boolean = true, typeConstraints: Option[TypeConstraints[T]] = None) extends Product with Serializable

    Permalink

    Created by peter on 9/12/16.

  16. case class RealCanonicalName extends CanonicalName with Product with Serializable

    Permalink
  17. case class StringConstraints(format: Option[String] = None, pattern: Option[String] = None, minLength: Option[Int] = None, maxLength: Option[Int] = None) extends TypeConstraints[StringType.type] with Product with Serializable

    Permalink
  18. trait TypeConstraints[T <: GenericReferrable] extends AnyRef

    Permalink

    Created by peter on 9/12/16.

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

    Permalink

    Created by peter on 9/12/16.

  20. trait TypeReference extends GenericReferrable

    Permalink

    Created by peter on 9/12/16.

  21. case class UnionType(types: Set[TypeReference]) extends NonPrimitiveType with Product with Serializable

    Permalink

    Created by peter on 11/12/16.

Value Members

  1. object AnyType extends CanonicalType with TypeReference with Product with Serializable

    Permalink

    Created by peter on 29/04/17.

  2. object ArrayType extends CanonicalType with Product with Serializable

    Permalink

    Created by peter on 9/12/16.

  3. object BooleanType extends PrimitiveType with Product with Serializable

    Permalink

    Created by peter on 11/12/16.

  4. object CanonicalName

    Permalink
  5. object DateOnlyType extends DateType with Product with Serializable

    Permalink
  6. object DateTimeDefaultType extends DateType with Product with Serializable

    Permalink
  7. object DateTimeOnlyType extends DateType with Product with Serializable

    Permalink
  8. object DateTimeRFC2616Type extends DateType with Product with Serializable

    Permalink
  9. object FileType extends PrimitiveType with Product with Serializable

    Permalink

    Created by peter on 11/12/16.

  10. object IntegerType extends PrimitiveType with Product with Serializable

    Permalink

    Created by peter on 11/12/16.

  11. object JsonType extends PrimitiveType with Product with Serializable

    Permalink

    Created by peter on 15/03/17.

  12. object NullType extends PrimitiveType with Product with Serializable

    Permalink

    Created by peter on 11/12/16.

  13. object NumberType extends PrimitiveType with Product with Serializable

    Permalink

    Created by peter on 11/12/16.

  14. object ObjectMapType extends CanonicalType with TypeReference with Product with Serializable

    Permalink

    Created by peter on 29/04/17.

  15. object StringType extends PrimitiveType with Product with Serializable

    Permalink

    Created by peter on 9/12/16.

  16. object TimeOnlyType extends DateType with Product with Serializable

    Permalink
  17. object TypeReference

    Permalink

Ungrouped