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

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

public class EntryBinding
extends AbstractEntryBinding


Method Summary
 boolean equals(Object obj)
           
 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 attribute)
           
 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 attribute)
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getId

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

isSet

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

getInt

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

setInt

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

getFloat

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

setFloat

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

getString

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

setString

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

getBool

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

setBool

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

getList

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

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

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

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 attribute)
Specified by:
unset in class AbstractEntryBinding


Copyright © 2011. All Rights Reserved.