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_Pjava.lang.Integer_Precisionjava.lang.Integer_Scalejava.lang.Integer_Sizeprotected ColumnType_Typeprotected MultiType_TypeCollectionjava.lang.String_TypeStr
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckValueType(ParserSession PS, java.lang.String What, java.lang.String Value, boolean DateTimeAllowed, DefaultType Default)ColumnTypegetType()MultiTypegetTypeCollection()booleanisCollection()booleanisList()booleanisSet()java.lang.StringtoString()booleanvalidate(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:
toStringin classjava.lang.Object
-
-