| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryAttributeInterface
This interface allows you to pass a simple interface to an object to allow it to store or load itself from or to any type of repository in a generic fashion.
| Method Summary | |
|---|---|
 boolean | 
getAttributeBoolean(String code)
Get a boolean attribute, if the attribute is not found, return false;  | 
 long | 
getAttributeInteger(String code)
Get an integer attribute.  | 
 String | 
getAttributeString(String code)
Get a string attribute.  | 
 void | 
setAttribute(String code,
             boolean value)
Set a boolean attribute  | 
 void | 
setAttribute(String code,
             long value)
Set an integer attribute  | 
 void | 
setAttribute(String code,
             String value)
Set a String attribute  | 
| Method Detail | 
|---|
void setAttribute(String code,
                  String value)
                  throws KettleException
code - value - 
KettleException
String getAttributeString(String code)
                          throws KettleException
code - 
KettleException
void setAttribute(String code,
                  boolean value)
                  throws KettleException
code - value - 
KettleException
boolean getAttributeBoolean(String code)
                            throws KettleException
code - 
KettleException
void setAttribute(String code,
                  long value)
                  throws KettleException
code - value - 
KettleException
long getAttributeInteger(String code)
                         throws KettleException
code - 
KettleException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||