Package com.graphdbapi
Class PropertyType
- java.lang.Object
-
- com.graphdbapi.PropertyType
-
public class PropertyType extends java.lang.Object
属性类型列表
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyType.PrimitiveDataType
-
Field Summary
Fields Modifier and Type Field Description static PropertyType
BIGDECIMAL
static PropertyType
BOOLEAN
static PropertyType
BYTE
static PropertyType
CARTESIANPOINT
static PropertyType
CHAR
static PropertyType
DATETIME
static PropertyType
DOUBLE
static PropertyType
FLOAT
static PropertyType
GEOGRAPHICPOINT
static PropertyType
INT
static PropertyType
LONG
static PropertyType
STRING
static PropertyType
UINT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyType
buildList(PropertyType.PrimitiveDataType primitiveDataType)
static PropertyType
buildMap(PropertyType.PrimitiveDataType firstSign, PropertyType.PrimitiveDataType secondSign)
static PropertyType
buildSet(PropertyType.PrimitiveDataType primitiveDataType)
boolean
equals(java.lang.Object o)
PropertyType.PrimitiveDataType
getFirstSign()
PropertyType.PrimitiveDataType
getPrimitiveDataType()
PropertyType.PrimitiveDataType
getSecondSign()
int
hashCode()
void
setFirstSign(PropertyType.PrimitiveDataType firstSign)
void
setPrimitiveDataType(PropertyType.PrimitiveDataType primitiveDataType)
java.lang.String
toString()
static void
validateNestedType(PropertyType.PrimitiveDataType primitiveDataType)
static PropertyType
valueOf(PropertyType.PrimitiveDataType type, PropertyType.PrimitiveDataType firstSign, PropertyType.PrimitiveDataType secondSign)
-
-
-
Field Detail
-
BYTE
public static PropertyType BYTE
-
INT
public static PropertyType INT
-
UINT
public static PropertyType UINT
-
FLOAT
public static PropertyType FLOAT
-
DOUBLE
public static PropertyType DOUBLE
-
LONG
public static PropertyType LONG
-
BIGDECIMAL
public static PropertyType BIGDECIMAL
-
CHAR
public static PropertyType CHAR
-
STRING
public static PropertyType STRING
-
BOOLEAN
public static PropertyType BOOLEAN
-
DATETIME
public static PropertyType DATETIME
-
GEOGRAPHICPOINT
public static PropertyType GEOGRAPHICPOINT
-
CARTESIANPOINT
public static PropertyType CARTESIANPOINT
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
buildList
public static PropertyType buildList(PropertyType.PrimitiveDataType primitiveDataType)
-
buildSet
public static PropertyType buildSet(PropertyType.PrimitiveDataType primitiveDataType)
-
buildMap
public static PropertyType buildMap(PropertyType.PrimitiveDataType firstSign, PropertyType.PrimitiveDataType secondSign)
-
validateNestedType
public static void validateNestedType(PropertyType.PrimitiveDataType primitiveDataType)
-
getPrimitiveDataType
public PropertyType.PrimitiveDataType getPrimitiveDataType()
-
setPrimitiveDataType
public void setPrimitiveDataType(PropertyType.PrimitiveDataType primitiveDataType)
-
getFirstSign
public PropertyType.PrimitiveDataType getFirstSign()
-
getSecondSign
public PropertyType.PrimitiveDataType getSecondSign()
-
setFirstSign
public void setFirstSign(PropertyType.PrimitiveDataType firstSign)
-
valueOf
public static PropertyType valueOf(PropertyType.PrimitiveDataType type, PropertyType.PrimitiveDataType firstSign, PropertyType.PrimitiveDataType secondSign)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-