public class PropertyType extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PropertyType.PrimitiveDataType
原始数据类型
|
Modifier and Type | Field and Description |
---|---|
static PropertyType |
BIGDECIMAL |
static PropertyType |
BIGINT |
static PropertyType |
BINARY |
static PropertyType |
BOOLEAN |
static PropertyType |
BYTE |
static PropertyType |
CARTESIANPOINT |
static PropertyType |
CHAR |
static PropertyType |
DATETIME |
static PropertyType |
DOUBLE |
static PropertyType |
DURATION |
static Set<PropertyType.PrimitiveDataType> |
EMBEDDABLE_TYPE |
static PropertyType |
FLOAT |
static PropertyType |
GEOGRAPHICPOINT |
static PropertyType |
INT |
static PropertyType |
LOCALDATE |
static PropertyType |
LOCALDATETIME |
static PropertyType |
LOCALTIME |
static PropertyType |
LONG |
static PropertyType |
SHORT |
static PropertyType |
STRING |
static PropertyType |
UINT |
static PropertyType |
ZONEDDATETIME |
static PropertyType |
ZONEDTIME |
public static PropertyType BIGDECIMAL
public static PropertyType BIGINT
public static PropertyType BINARY
public static PropertyType BOOLEAN
public static PropertyType BYTE
public static PropertyType CARTESIANPOINT
public static PropertyType CHAR
public static PropertyType DATETIME
public static PropertyType DOUBLE
public static PropertyType DURATION
public static final Set<PropertyType.PrimitiveDataType> EMBEDDABLE_TYPE
public static PropertyType FLOAT
public static PropertyType GEOGRAPHICPOINT
public static PropertyType INT
public static PropertyType LOCALDATE
public static PropertyType LOCALDATETIME
public static PropertyType LOCALTIME
public static PropertyType LONG
public static PropertyType SHORT
public static PropertyType STRING
public static PropertyType UINT
public static PropertyType ZONEDDATETIME
public static PropertyType ZONEDTIME
public static PropertyType buildList(PropertyType.PrimitiveDataType primitiveDataType)
primitiveDataType
- 集合内的基本数据类型public static PropertyType buildMap(PropertyType.PrimitiveDataType keyPrimitiveDataType, PropertyType.PrimitiveDataType valuePrimitiveDataType)
keyPrimitiveDataType
- map内key的基本数据类型valuePrimitiveDataType
- map内value的基本数据类型public static PropertyType buildSet(PropertyType.PrimitiveDataType primitiveDataType)
primitiveDataType
- 集合内的基本数据类型public PropertyType.PrimitiveDataType getFirstSign()
public PropertyType.PrimitiveDataType getPrimitiveDataType()
public PropertyType.PrimitiveDataType getSecondSign()
public static boolean isCollection(PropertyType propertyType)
propertyType
- public static boolean isList(PropertyType propertyType)
propertyType
- public static boolean isMap(PropertyType propertyType)
propertyType
- 属性类型public static boolean isSet(PropertyType propertyType)
propertyType
- public static void main(String[] args)
public void setFirstSign(PropertyType.PrimitiveDataType firstSign)
public void setPrimitiveDataType(PropertyType.PrimitiveDataType primitiveDataType)
public static PropertyType valueOf(PropertyType.PrimitiveDataType type, PropertyType.PrimitiveDataType firstSign)
public static PropertyType valueOf(PropertyType.PrimitiveDataType type, PropertyType.PrimitiveDataType firstSign, PropertyType.PrimitiveDataType secondSign)
type
- 属性枚举类型firstSign
- 如果是集合类型不能为空,表示为集合内的基本数据类型secondSign
- 如果是Map类型不能为空,表示为集合内Value的基本数据类型Copyright © 2024. All rights reserved.