Interface TypeDom

    • Method Detail

      • fullTypeName

        java.lang.String fullTypeName()
        For example if the type if List of T this is List of T
      • forEntity

        default java.lang.String forEntity()
        This is the type that is used by entities. For most type doms it is the same as the full typenames. For view types it changes from the defn to the server interfaces
      • forView

        default java.lang.String forView()
        This is the type that is used by entities. For most type doms it is the same as the full typenames. For view types it changes from the defn to the view interfaces
      • viewCompanion

        default java.lang.String viewCompanion()
        empty string unless a view type
      • nested

        TypeDom nested()
        For example if the type if List of T this is T, but if the types is T this is also T
      • primitive

        boolean primitive()
      • entityNameForLens

        java.lang.String entityNameForLens()
      • makeLens

        java.lang.String makeLens​(PackageAndClassName companion,
                                  java.lang.String interfaceName,
                                  FieldDom viewDom,
                                  java.lang.String lensName)
      • forToJson

        default java.lang.String forToJson​(java.lang.String fieldName,
                                           boolean templated)
      • forFromJson

        java.lang.String forFromJson​(java.lang.String fieldName)
      • lensDefn

        java.lang.String lensDefn​(java.lang.String fieldName)
      • isAssignableFrom

        boolean isAssignableFrom​(TypeDom other)