Package one.xingyi.core.typeDom
Class PrimitiveType
- java.lang.Object
-
- one.xingyi.core.typeDom.PrimitiveType
-
-
Field Summary
-
Fields inherited from interface one.xingyi.core.typeDom.TypeDom
fromBoolean, fromDouble, fromInteger, fromString
-
-
Constructor Summary
Constructors Constructor Description PrimitiveType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringentityNameForLens()abstract java.lang.StringfromJsonString()java.lang.StringfullTypeName()For example if the type if List of T this is List of TbooleanisAssignableFrom(TypeDom other)java.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, forFromJson, forToJson, forView, makeLens, viewCompanion
-
-
-
-
Method Detail
-
fromJsonString
public abstract java.lang.String fromJsonString()
-
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
-
lensDefn
public java.lang.String lensDefn(java.lang.String fieldName)
-
isAssignableFrom
public boolean isAssignableFrom(TypeDom other)
- Specified by:
isAssignableFromin interfaceTypeDom
-
-