de.uni_bremen.st.rcf.persistence.derby
Class EntryBinding

java.lang.Object
  extended by de.uni_bremen.st.rcf.persistence.AbstractEntryBinding
      extended by de.uni_bremen.st.rcf.persistence.derby.EntryBinding

public class EntryBinding
extends AbstractEntryBinding


Method Summary
 boolean getBool(AbstractAttributeBinding attribute)
           
 AbstractEntryBinding getEntry(AbstractAttributeBinding attribute)
          Returns the id of the referenced entry.
 float getFloat(AbstractAttributeBinding attribute)
           
 int getId()
           
 int getInt(AbstractAttributeBinding attribute)
           
<T> AbstractValueListBinding<T>
getList(AbstractAttributeBinding attribute)
           
 String getString(AbstractAttributeBinding attribute)
           
 boolean isSet(AbstractAttributeBinding binding)
           
 void setBool(AbstractAttributeBinding attribute, boolean value)
           
 void setEntry(AbstractAttributeBinding attribute, AbstractEntryBinding value)
          gets the id of the entry as value.
 void setFloat(AbstractAttributeBinding attribute, float value)
           
 void setInt(AbstractAttributeBinding attribute, int value)
           
 void setString(AbstractAttributeBinding attribute, String value)
           
 void store()
          Stores changes in the database
 void unset(AbstractAttributeBinding binding)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBool

public boolean getBool(AbstractAttributeBinding attribute)
                throws ValueNotSetException
Specified by:
getBool in class AbstractEntryBinding
Throws:
ValueNotSetException

getEntry

public AbstractEntryBinding getEntry(AbstractAttributeBinding attribute)
                              throws ValueNotSetException
Description copied from class: AbstractEntryBinding
Returns the id of the referenced entry.

Specified by:
getEntry in class AbstractEntryBinding
Throws:
ValueNotSetException

getFloat

public float getFloat(AbstractAttributeBinding attribute)
               throws ValueNotSetException
Specified by:
getFloat in class AbstractEntryBinding
Throws:
ValueNotSetException

getInt

public int getInt(AbstractAttributeBinding attribute)
           throws ValueNotSetException
Specified by:
getInt in class AbstractEntryBinding
Throws:
ValueNotSetException

getString

public String getString(AbstractAttributeBinding attribute)
                 throws ValueNotSetException
Specified by:
getString in class AbstractEntryBinding
Throws:
ValueNotSetException

getList

public <T> AbstractValueListBinding<T> getList(AbstractAttributeBinding attribute)
Specified by:
getList in class AbstractEntryBinding

setBool

public void setBool(AbstractAttributeBinding attribute,
                    boolean value)
Specified by:
setBool in class AbstractEntryBinding

setEntry

public void setEntry(AbstractAttributeBinding attribute,
                     AbstractEntryBinding value)
Description copied from class: AbstractEntryBinding
gets the id of the entry as value. Compatibility of entry types is checked in Entry.

Specified by:
setEntry in class AbstractEntryBinding

setFloat

public void setFloat(AbstractAttributeBinding attribute,
                     float value)
Specified by:
setFloat in class AbstractEntryBinding

setInt

public void setInt(AbstractAttributeBinding attribute,
                   int value)
Specified by:
setInt in class AbstractEntryBinding

setString

public void setString(AbstractAttributeBinding attribute,
                      String value)
Specified by:
setString in class AbstractEntryBinding

getId

public int getId()
Specified by:
getId in class AbstractEntryBinding

isSet

public boolean isSet(AbstractAttributeBinding binding)
Specified by:
isSet in class AbstractEntryBinding

store

public void store()
Description copied from class: AbstractEntryBinding
Stores changes in the database

Specified by:
store in class AbstractEntryBinding

unset

public void unset(AbstractAttributeBinding binding)
Specified by:
unset in class AbstractEntryBinding


Copyright © 2011. All Rights Reserved.