--- /dev/null
+package com.quantum.model;
+
+import java.sql.SQLException;
+
+import com.quantum.adapters.AdapterFactory;
+import com.quantum.sql.SQLHelper;
+
+
+class ViewImpl extends EntityImpl implements View {
+ public ViewImpl(Bookmark bookmark, String schema, String name) {
+ super(bookmark, schema, name, VIEW_TYPE);
+ }
+
+ public Integer getSize() {
+ Integer size = null;
+ try {
+ size = new Integer(SQLHelper.getSize(
+ getBookmark().getConnection(), getCondQualifiedName(),
+ AdapterFactory.getInstance().getAdapter(getBookmark().getType())));
+ } catch (SQLException e) {
+ } catch (ConnectionException e) {
+ }
+ return size;
+ }
+}
\ No newline at end of file