org.vizzini.database
Class BaseDatabaseData

java.lang.Object
  extended by org.vizzini.database.BaseDatabaseData
Direct Known Subclasses:
ColumnData, TableData

 class BaseDatabaseData
extends Object

Provides storage for basic properties needed by database items.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Constructor Summary
BaseDatabaseData()
           
 
Method Summary
 String getDisplayName()
          Return the display name.
 String getName()
          Return the name.
(package private)  void inflate(Element element)
          Inflate this object from the given XML element.
 boolean isEditable()
          Return true if this is editable.
 boolean isVisible()
          Return true if this is visible.
(package private)  void setDisplayName(String name)
          Set the display name.
(package private)  void setEditable(boolean isEditable)
          Set the editable flag.
(package private)  void setName(String name)
          Set the name.
(package private)  void setVisible(boolean isVisible)
          Set the visible flag.
 String toString()
          Return a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseDatabaseData

BaseDatabaseData()
Method Detail

getDisplayName

public String getDisplayName()
Return the display name.

Since:
v0.3

getName

public String getName()
Return the name.

Since:
v0.3

isEditable

public boolean isEditable()
Return true if this is editable.

Since:
v0.3

isVisible

public boolean isVisible()
Return true if this is visible.

Since:
v0.3

toString

public String toString()
Return a string representation of this object.

Overrides:
toString in class Object
Since:
v0.3

inflate

void inflate(Element element)
       throws ClassNotFoundException
Inflate this object from the given XML element.

Throws:
ClassNotFoundException
Since:
v0.3

setDisplayName

void setDisplayName(String name)
Set the display name.

Since:
v0.3

setEditable

void setEditable(boolean isEditable)
Set the editable flag.

Since:
v0.3

setName

void setName(String name)
Set the name.

Since:
v0.3

setVisible

void setVisible(boolean isVisible)
Set the visible flag.

Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02