Package com.jsql.model.bean.database
Class MockElement
java.lang.Object
com.jsql.model.bean.database.AbstractElementDatabase
com.jsql.model.bean.database.MockElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AbstractElementDatabase
Used by non-progressing threads like File, metadata and shells.Fields inherited from class com.jsql.model.bean.database.AbstractElementDatabase
elementValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Return the number of elements contained by current element :
- for database: number of tables,
- for table: number of rows.Return a readable label displayed by the view.Traverse upward, and return the parent.Methods inherited from class com.jsql.model.bean.database.AbstractElementDatabase
setElementValue, toString
-
Field Details
-
MOCK
Used by non-progressing threads like File, metadata and shells. Required for suspendable concurrent map tracking.
-
-
Constructor Details
-
MockElement
public MockElement()
-
-
Method Details
-
getParent
Description copied from class:AbstractElementDatabase
Traverse upward, and return the parent.- Specified by:
getParent
in classAbstractElementDatabase
-
getChildCount
public int getChildCount()Description copied from class:AbstractElementDatabase
Return the number of elements contained by current element :
- for database: number of tables,
- for table: number of rows.- Specified by:
getChildCount
in classAbstractElementDatabase
-
getLabelWithCount
Description copied from class:AbstractElementDatabase
Return a readable label displayed by the view.- Specified by:
getLabelWithCount
in classAbstractElementDatabase
-