org.pentaho.di.repository.kdr.delegates
Class KettleDatabaseRepositoryTransAttribute

java.lang.Object
  extended by org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransAttribute
All Implemented Interfaces:
RepositoryAttributeInterface

public class KettleDatabaseRepositoryTransAttribute
extends Object
implements RepositoryAttributeInterface


Constructor Summary
KettleDatabaseRepositoryTransAttribute(KettleDatabaseRepositoryConnectionDelegate connectionDelegate, ObjectId transObjectId)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KettleDatabaseRepositoryTransAttribute

public KettleDatabaseRepositoryTransAttribute(KettleDatabaseRepositoryConnectionDelegate connectionDelegate,
                                              ObjectId transObjectId)
Method Detail

getAttributeBoolean

public boolean getAttributeBoolean(String code)
                            throws KettleException
Description copied from interface: RepositoryAttributeInterface
Get a boolean attribute, if the attribute is not found, return false;

Specified by:
getAttributeBoolean in interface RepositoryAttributeInterface
Returns:
Throws:
KettleException

getAttributeInteger

public long getAttributeInteger(String code)
                         throws KettleException
Description copied from interface: RepositoryAttributeInterface
Get an integer attribute. If the attribute is not found, return 0;

Specified by:
getAttributeInteger in interface RepositoryAttributeInterface
Returns:
Throws:
KettleException

getAttributeString

public String getAttributeString(String code)
                          throws KettleException
Description copied from interface: RepositoryAttributeInterface
Get a string attribute. If the attribute is not found, return null

Specified by:
getAttributeString in interface RepositoryAttributeInterface
Returns:
Throws:
KettleException

setAttribute

public void setAttribute(String code,
                         String value)
                  throws KettleException
Description copied from interface: RepositoryAttributeInterface
Set a String attribute

Specified by:
setAttribute in interface RepositoryAttributeInterface
Throws:
KettleException

setAttribute

public void setAttribute(String code,
                         boolean value)
                  throws KettleException
Description copied from interface: RepositoryAttributeInterface
Set a boolean attribute

Specified by:
setAttribute in interface RepositoryAttributeInterface
Throws:
KettleException

setAttribute

public void setAttribute(String code,
                         long value)
                  throws KettleException
Description copied from interface: RepositoryAttributeInterface
Set an integer attribute

Specified by:
setAttribute in interface RepositoryAttributeInterface
Throws:
KettleException