io.atomicbits.scraml.generator.platform

Platform

trait Platform extends AnyRef

Created by peter on 10/01/17.

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

Abstract Value Members

  1. abstract def apiBasePackageParts: List[String]

  2. abstract def classDefinition(classPointer: ClassPointer, fullyQualified: Boolean = false): String

    The definition of a class.

    The definition of a class. E.g. List[String] or List<String> or Element or PagedList<T> or PagedList[Element] or their fully qualified verions E.g. List[String] or java.util.List<String> or io.atomicbits.Element or io.atomicbits.PagedList<T> or io.atomicbits.PagedList[Element]

  3. abstract def classFileExtension: String

  4. abstract def className(classPointer: ClassPointer): String

  5. abstract def classPointerToNativeClassReference(classPointer: ClassPointer): ClassReference

  6. abstract def dslBasePackageParts: List[String]

  7. abstract def fieldDeclaration(field: Field): String

  8. abstract def fieldDeclarationWithDefaultValue(field: Field): String

  9. abstract def fullyQualifiedName(classPointer: ClassPointer): String

  10. abstract def implementingInterfaceReference(classReference: ClassReference): ClassReference

    The implementing interface reference is the reference to the class (transfer object class) that implements the interface that replaces it in a multiple inheritance relation (and in Scala also in a regular inheritance relation).

    The implementing interface reference is the reference to the class (transfer object class) that implements the interface that replaces it in a multiple inheritance relation (and in Scala also in a regular inheritance relation). E.g. AnimalImpl implements Animal --> Here, 'Animal' is the interface where resources and cross referencing inside TO's point to.

  11. abstract def importStatements(targetClassReference: ClassPointer, dependencies: Set[ClassPointer] = Set.empty): Set[String]

  12. abstract def name: String

  13. abstract def packageName(classPointer: ClassPointer): String

  14. abstract def reservedKeywords: Set[String]

  15. abstract def rewrittenDslBasePackage: List[String]

  16. abstract def safeFieldName(field: Field): String

  17. abstract def safePackageParts(classPointer: ClassPointer): List[String]

  18. abstract def toFilePath(classPointer: ClassPointer): Path

    Transforms a given class reference to a file path.

    Transforms a given class reference to a file path. The given class reference already has clean package and class names.

    classPointer

    The class reference for which a file path is generated.

    returns

    The relative file name for the given class.

  19. abstract def toSourceFile(generationAggr: GenerationAggr, unionClassDefinition: UnionClassDefinition): GenerationAggr

  20. abstract def toSourceFile(generationAggr: GenerationAggr, headerSegmentClassDefinition: HeaderSegmentClassDefinition): GenerationAggr

  21. abstract def toSourceFile(generationAggr: GenerationAggr, resourceClassDefinition: ResourceClassDefinition): GenerationAggr

  22. abstract def toSourceFile(generationAggr: GenerationAggr, clientClassDefinition: ClientClassDefinition): GenerationAggr

  23. abstract def toSourceFile(generationAggr: GenerationAggr, enumDefinition: EnumDefinition): GenerationAggr

  24. abstract def toSourceFile(generationAggr: GenerationAggr, toInterfaceDefinition: TransferObjectInterfaceDefinition): GenerationAggr

  25. abstract def toSourceFile(generationAggr: GenerationAggr, toClassDefinition: TransferObjectClassDefinition): GenerationAggr

Concrete 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. def apiBaseDir: String

  7. def apiBasePackage: String

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def dslBaseDir: String

  11. def dslBasePackage: String

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

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

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

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

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. def mapSourceFiles(sources: Set[SourceFile], combinedSourcesFileName: Option[String] = None): Set[SourceFile]

    Platform specific mapping from the generated sourcefiles.

    Platform specific mapping from the generated sourcefiles. Mostly the original sources will be kept, hence the default implementation. Other platforms will map the sources into a single file (e.g. typescript).

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

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

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

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped