Class ListType

    • Constructor Summary

      Constructors 
      Constructor Description
      ListType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String entityNameForLens()  
      java.lang.String forEntity()
      This is the type that is used by entities.
      java.lang.String forFromJson​(java.lang.String fieldName)  
      java.lang.String forToJson​(java.lang.String fieldName, boolean templated)  
      java.lang.String forView()
      This is the type that is used by entities.
      java.lang.String fullTypeName()
      For example if the type if List of T this is List of T
      java.lang.String lensDefn​(java.lang.String fieldName)  
      TypeDom nested()
      For example if the type if List of T this is T, but if the types is T this is also T
      boolean primitive()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListType

        public ListType()
    • Method Detail

      • forEntity

        public java.lang.String forEntity()
        Description copied from interface: TypeDom
        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
        Specified by:
        forEntity in interface TypeDom
      • forView

        public java.lang.String forView()
        Description copied from interface: TypeDom
        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
        Specified by:
        forView in interface TypeDom
      • fullTypeName

        public java.lang.String fullTypeName()
        Description copied from interface: TypeDom
        For example if the type if List of T this is List of T
        Specified by:
        fullTypeName in interface TypeDom
      • primitive

        public boolean primitive()
        Specified by:
        primitive in interface TypeDom
      • entityNameForLens

        public java.lang.String entityNameForLens()
        Specified by:
        entityNameForLens in interface TypeDom
      • forFromJson

        public java.lang.String forFromJson​(java.lang.String fieldName)
        Specified by:
        forFromJson in interface TypeDom
      • lensDefn

        public java.lang.String lensDefn​(java.lang.String fieldName)
        Specified by:
        lensDefn in interface TypeDom
      • forToJson

        public java.lang.String forToJson​(java.lang.String fieldName,
                                          boolean templated)
        Specified by:
        forToJson in interface TypeDom
      • nested

        public TypeDom nested()
        Description copied from interface: TypeDom
        For example if the type if List of T this is T, but if the types is T this is also T
        Specified by:
        nested in interface TypeDom