de.uni_bremen.st.rcf.model
Class Metadata

java.lang.Object
  extended by de.uni_bremen.st.rcf.model.Entry
      extended by de.uni_bremen.st.rcf.model.Metadata

public final class Metadata
extends Entry


Method Summary
 String getKey()
          Get the key value.
 String getKey(String defaultValue)
          Get the key value.
 Relation<Metadata> getRelation()
          Get the relation this entry belongs to
 String getType()
          Get the type value.
 String getType(String defaultValue)
          Get the type value.
 String getValue()
          Get the value value.
 String getValue(String defaultValue)
          Get the value value.
 boolean isKeySet()
          Tells wether the key value is set or not.
 boolean isTypeSet()
          Tells wether the type value is set or not.
 boolean isValueSet()
          Tells wether the value value is set or not.
 void setKey(String s)
          Set the key value.
 void setType(String s)
          Set the type value.
 void setValue(String s)
          Set the value value.
 
Methods inherited from class de.uni_bremen.st.rcf.model.Entry
copy, equals, getBool, getBool, getBool, getBool, getBoolList, getBoolList, getEntry, getEntry, getEntry, getEntry, getEntryList, getEntryList, getEntryType, getFloat, getFloat, getFloat, getFloat, getFloatList, getFloatList, getId, getInt, getInt, getInt, getInt, getIntList, getIntList, getString, getString, getString, getString, getStringList, getStringList, hashCode, isSet, isSet, setBool, setBool, setEntry, setEntry, setFloat, setFloat, setInt, setInt, setString, setString, store, unset, unset
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRelation

public Relation<Metadata> getRelation()
Description copied from class: Entry
Get the relation this entry belongs to

Overrides:
getRelation in class Entry
Returns:
the Relation

getKey

public String getKey()
Get the key value.

Returns:
the value of key

getKey

public String getKey(String defaultValue)
Get the key value.

Returns:
the value of key or defaultValue if key is not set.

setKey

public void setKey(String s)
Set the key value.

Parameters:
s - the value

isKeySet

public boolean isKeySet()
Tells wether the key value is set or not.

Returns:
true if key is set.

getValue

public String getValue()
Get the value value.

Returns:
the value of value

getValue

public String getValue(String defaultValue)
Get the value value.

Returns:
the value of value or defaultValue if value is not set.

setValue

public void setValue(String s)
Set the value value.

Parameters:
s - the value

isValueSet

public boolean isValueSet()
Tells wether the value value is set or not.

Returns:
true if value is set.

getType

public String getType()
Get the type value.

Returns:
the value of type

getType

public String getType(String defaultValue)
Get the type value.

Returns:
the value of type or defaultValue if type is not set.

setType

public void setType(String s)
Set the type value.

Parameters:
s - the value

isTypeSet

public boolean isTypeSet()
Tells wether the type value is set or not.

Returns:
true if type is set.


Copyright © 2011. All Rights Reserved.