org.eclipse.higgins.icard.provider.cardspace.db.mysql
Class DaoInformationCardExtension

java.lang.Object
  extended byorg.eclipse.higgins.icard.provider.cardspace.db.mysql.DAO
      extended byorg.eclipse.higgins.icard.provider.cardspace.db.mysql.DaoInformationCardExtension
All Implemented Interfaces:
org.eclipse.higgins.icard.provider.cardspace.db.IDAO, org.eclipse.higgins.icard.provider.cardspace.db.IDaoInformationCardExtension

public class DaoInformationCardExtension
extends DAO
implements org.eclipse.higgins.icard.provider.cardspace.db.IDaoInformationCardExtension


Field Summary
static String MCARD_EXTENSION_TABLE_NAME
           
static String PCARD_EXTENSION_TABLE_NAME
           
 
Fields inherited from interface org.eclipse.higgins.icard.provider.cardspace.db.IDAO
CHANGED_OBJ, DELETED_OBJ, NEW_OBJ, PRE_DELETED_NEW_OBJ, PRE_DELETED_STORED_OBJ, STORED_OBJ
 
Constructor Summary
DaoInformationCardExtension(DaoMCard card)
           
DaoInformationCardExtension(DaoMCard card, ResultSet rs, Connection con)
           
DaoInformationCardExtension(DaoPCard card)
           
DaoInformationCardExtension(DaoPCard card, ResultSet rs, Connection con)
           
 
Method Summary
 int getCardID()
           
 String getElement()
           
 boolean isEnabled()
           
 void setElement(String element)
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class org.eclipse.higgins.icard.provider.cardspace.db.mysql.DAO
addListener, getConnectionFactory, getID, getState, isChanged, removeListener, setDeleteState, store
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.icard.provider.cardspace.db.IDAO
addListener, getID, getState, removeListener, setDeleteState, store
 

Field Detail

PCARD_EXTENSION_TABLE_NAME

public static final String PCARD_EXTENSION_TABLE_NAME
See Also:
Constant Field Values

MCARD_EXTENSION_TABLE_NAME

public static final String MCARD_EXTENSION_TABLE_NAME
See Also:
Constant Field Values
Constructor Detail

DaoInformationCardExtension

public DaoInformationCardExtension(DaoPCard card)

DaoInformationCardExtension

public DaoInformationCardExtension(DaoPCard card,
                                   ResultSet rs,
                                   Connection con)
                            throws SQLException

DaoInformationCardExtension

public DaoInformationCardExtension(DaoMCard card)

DaoInformationCardExtension

public DaoInformationCardExtension(DaoMCard card,
                                   ResultSet rs,
                                   Connection con)
                            throws SQLException
Method Detail

getCardID

public int getCardID()
Specified by:
getCardID in interface org.eclipse.higgins.icard.provider.cardspace.db.IDaoInformationCardExtension

getElement

public String getElement()
Specified by:
getElement in interface org.eclipse.higgins.icard.provider.cardspace.db.IDaoInformationCardExtension

setElement

public void setElement(String element)
                throws org.eclipse.higgins.icard.CardException
Specified by:
setElement in interface org.eclipse.higgins.icard.provider.cardspace.db.IDaoInformationCardExtension
Throws:
org.eclipse.higgins.icard.CardException

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface org.eclipse.higgins.icard.provider.cardspace.db.IDaoInformationCardExtension

setEnabled

public void setEnabled(boolean enabled)
                throws org.eclipse.higgins.icard.CardException
Specified by:
setEnabled in interface org.eclipse.higgins.icard.provider.cardspace.db.IDaoInformationCardExtension
Throws:
org.eclipse.higgins.icard.CardException