Package one.xingyi.core.typeDom
Class ListType
- java.lang.Object
-
- one.xingyi.core.typeDom.ListType
-
- All Implemented Interfaces:
NonPrimitiveTypeDom,TypeDom
public class ListType extends java.lang.Object implements NonPrimitiveTypeDom
-
-
Constructor Summary
Constructors Constructor Description ListType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringentityNameForLens()java.lang.StringforEntity()This is the type that is used by entities.java.lang.StringforFromJson(java.lang.String fieldName)java.lang.StringforToJson(java.lang.String fieldName, boolean templated)java.lang.StringforView()This is the type that is used by entities.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
viewCompanion
-
-
-
-
Method Detail
-
forEntity
public java.lang.String forEntity()
Description copied from interface:TypeDomThis 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
public java.lang.String forView()
Description copied from interface:TypeDomThis 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
-
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
-
entityNameForLens
public java.lang.String entityNameForLens()
- Specified by:
entityNameForLensin interfaceTypeDom
-
forFromJson
public java.lang.String forFromJson(java.lang.String fieldName)
- Specified by:
forFromJsonin interfaceTypeDom
-
lensDefn
public java.lang.String lensDefn(java.lang.String fieldName)
-
forToJson
public java.lang.String forToJson(java.lang.String fieldName, boolean templated)
-
-