Package tilda.parsing.parts
Class TypeDef
- java.lang.Object
-
- tilda.parsing.parts.TypeDef
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.regex.Pattern
_P
java.lang.Integer
_Precision
java.lang.Integer
_Scale
java.lang.Integer
_Size
protected ColumnType
_Type
protected MultiType
_TypeCollection
java.lang.String
_TypeStr
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkValueType(ParserSession PS, java.lang.String What, java.lang.String Value, boolean DateTimeAllowed, DefaultType Default)
ColumnType
getType()
MultiType
getTypeCollection()
boolean
isCollection()
boolean
isList()
boolean
isSet()
java.lang.String
toString()
boolean
validate(ParserSession PS, java.lang.String What, boolean AllowArrays, boolean StringSizeOptional, FrameworkSourcedType FST)
-
-
-
Field Detail
-
_TypeStr
@SerializedName("type") public java.lang.String _TypeStr
-
_Size
@SerializedName("size") public java.lang.Integer _Size
-
_Precision
@SerializedName("precision") public java.lang.Integer _Precision
-
_Scale
@SerializedName("scale") public java.lang.Integer _Scale
-
_Type
protected transient ColumnType _Type
-
_TypeCollection
protected transient MultiType _TypeCollection
-
_P
protected static java.util.regex.Pattern _P
-
-
Constructor Detail
-
TypeDef
public TypeDef()
-
TypeDef
public TypeDef(TypeDef td)
-
TypeDef
public TypeDef(java.lang.String TypeStr, java.lang.Integer Size, java.lang.Integer Precision, java.lang.Integer Scale)
-
-
Method Detail
-
validate
public boolean validate(ParserSession PS, java.lang.String What, boolean AllowArrays, boolean StringSizeOptional, FrameworkSourcedType FST)
-
isCollection
public boolean isCollection()
-
isSet
public boolean isSet()
-
isList
public boolean isList()
-
checkValueType
public boolean checkValueType(ParserSession PS, java.lang.String What, java.lang.String Value, boolean DateTimeAllowed, DefaultType Default) throws java.lang.Error
- Throws:
java.lang.Error
-
getType
public ColumnType getType()
-
getTypeCollection
public MultiType getTypeCollection()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-