Class PrimitiveType

  • All Implemented Interfaces:
    TypeDom

    public class PrimitiveType
    extends java.lang.Object
    implements TypeDom
    • Constructor Summary

      Constructors 
      Constructor Description
      PrimitiveType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String entityNameForLens()  
      java.lang.String forFromJson​(java.lang.String fieldName)  
      java.lang.String forToJson​(java.lang.String fieldName, boolean templated)  
      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

      • PrimitiveType

        public PrimitiveType()
    • Method Detail

      • 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
      • 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
      • primitive

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

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

        public java.lang.String forToJson​(java.lang.String fieldName,
                                          boolean templated)
        Specified by:
        forToJson 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