de.uni_bremen.st.rcf.persistence
Class AbstractEntryBinding

java.lang.Object
  extended by de.uni_bremen.st.rcf.persistence.AbstractEntryBinding
Direct Known Subclasses:
EntryBinding, EntryBinding

public abstract class AbstractEntryBinding
extends Object


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

Method Detail

getId

public abstract int getId()

getInt

public abstract int getInt(AbstractAttributeBinding attribute)
                    throws ValueNotSetException
Throws:
ValueNotSetException

setInt

public abstract void setInt(AbstractAttributeBinding attribute,
                            int value)

getFloat

public abstract float getFloat(AbstractAttributeBinding attribute)
                        throws ValueNotSetException
Throws:
ValueNotSetException

setFloat

public abstract void setFloat(AbstractAttributeBinding attribute,
                              float value)

getString

public abstract String getString(AbstractAttributeBinding attribute)
                          throws ValueNotSetException
Throws:
ValueNotSetException

setString

public abstract void setString(AbstractAttributeBinding attribute,
                               String value)

getBool

public abstract boolean getBool(AbstractAttributeBinding attribute)
                         throws ValueNotSetException
Throws:
ValueNotSetException

setBool

public abstract void setBool(AbstractAttributeBinding attribute,
                             boolean value)

getList

public abstract <T> AbstractValueListBinding<T> getList(AbstractAttributeBinding attribute)

getEntry

public abstract AbstractEntryBinding getEntry(AbstractAttributeBinding attribute)
                                       throws ValueNotSetException
Returns the id of the referenced entry.

Throws:
ValueNotSetException

setEntry

public abstract void setEntry(AbstractAttributeBinding attribute,
                              AbstractEntryBinding value)
gets the id of the entry as value. Compatibility of entry types is checked in Entry.


isSet

public abstract boolean isSet(AbstractAttributeBinding binding)

unset

public abstract void unset(AbstractAttributeBinding binding)

store

public abstract void store()
Stores changes in the database



Copyright © 2011. All Rights Reserved.