Package com.adbs.metadata
Class BaseMetadataFieldsFetcher
java.lang.Object
com.adbs.metadata.BaseMetadataFieldsFetcher
- All Implemented Interfaces:
Disposable
- Direct Known Subclasses:
BaseMetadataFieldsFetcherVariants
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidprotected booleanprotected booleanprotected booleanprotected Stringprotected intprotected intprotected Stringprotected intcalcSize()protected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected voidclose()voiddispose()booleanprotected voidinit()voidloadFields(MetadataFieldList fields) protected booleannext()voidsetTrimSpaces(boolean trimSpaces) protected String
-
Constructor Details
-
BaseMetadataFieldsFetcher
-
-
Method Details
-
dispose
public void dispose()- Specified by:
disposein interfaceDisposable
-
getSqlContext
-
init
- Throws:
QueryBuilderException
-
close
protected void close() -
next
- Throws:
QueryBuilderException
-
calcFieldName
-
canCalcPrimaryKey
protected boolean canCalcPrimaryKey() -
calcIsPrimaryKey
protected boolean calcIsPrimaryKey() -
canCalcIsNullable
protected boolean canCalcIsNullable() -
calcIsNullable
protected boolean calcIsNullable() -
canCalcIsReadOnly
protected boolean canCalcIsReadOnly() -
calcIsReadOnly
protected boolean calcIsReadOnly() -
canCalcTypeOnServer
protected boolean canCalcTypeOnServer() -
calcTypeOnServer
-
canCalcSize
protected boolean canCalcSize() -
calcSize
protected int calcSize() -
canCalcPrecision
protected boolean canCalcPrecision() -
canCalcScale
protected boolean canCalcScale() -
calcPrecision
protected int calcPrecision() -
calcScale
protected int calcScale() -
canCalcDefaultValue
protected boolean canCalcDefaultValue() -
calcDefaultValue
-
canCalcShortDescription
protected boolean canCalcShortDescription() -
calcShortDescription
-
canCalcLongDescription
protected boolean canCalcLongDescription() -
calcLongDescription
-
trimName
-
loadFields
- Throws:
QueryBuilderException
-
getTrimSpaces
public boolean getTrimSpaces() -
setTrimSpaces
public void setTrimSpaces(boolean trimSpaces)
-