Package one.xingyi.core.typeDom
Class PrimitiveType
- java.lang.Object
-
- one.xingyi.core.typeDom.PrimitiveType
-
-
Constructor Summary
Constructors Constructor Description PrimitiveType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringentityNameForLens()java.lang.StringforFromJson(java.lang.String fieldName)java.lang.StringforToJson(java.lang.String fieldName, boolean templated)java.lang.StringfullTypeName()For example if the type if List of T this is List of Tjava.lang.StringlensDefn(java.lang.String fieldName)TypeDomnested()For example if the type if List of T this is T, but if the types is T this is also Tbooleanprimitive()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.xingyi.core.typeDom.TypeDom
forEntity, forView, viewCompanion
-
-
-
-
Method Detail
-
fullTypeName
public java.lang.String fullTypeName()
Description copied from interface:TypeDomFor example if the type if List of T this is List of T- Specified by:
fullTypeNamein interfaceTypeDom
-
nested
public TypeDom nested()
Description copied from interface:TypeDomFor example if the type if List of T this is T, but if the types is T this is also T
-
entityNameForLens
public java.lang.String entityNameForLens()
- Specified by:
entityNameForLensin interfaceTypeDom
-
forToJson
public java.lang.String forToJson(java.lang.String fieldName, boolean templated)
-
forFromJson
public java.lang.String forFromJson(java.lang.String fieldName)
- Specified by:
forFromJsonin interfaceTypeDom
-
-