org.pentaho.di.trans.step
Class StepInjectionMetaEntry

java.lang.Object
  extended by org.pentaho.di.trans.step.StepInjectionMetaEntry
All Implemented Interfaces:
Cloneable

public class StepInjectionMetaEntry
extends Object
implements Cloneable

This is a single metadata attribute for step metadata injection.

Author:
matt

Constructor Summary
StepInjectionMetaEntry(String key, int valueType, String description)
           
StepInjectionMetaEntry(String key, Object value, int valueType, String description)
           
 
Method Summary
 StepInjectionMetaEntry clone()
           
 String getDescription()
           
 List<StepInjectionMetaEntry> getDetails()
           
 String getKey()
           
 Object getValue()
           
 int getValueType()
           
 void setDescription(String description)
           
 void setDetails(List<StepInjectionMetaEntry> details)
           
 void setKey(String key)
           
 void setValue(Object value)
           
 void setValueType(int valueType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepInjectionMetaEntry

public StepInjectionMetaEntry(String key,
                              Object value,
                              int valueType,
                              String description)
Parameters:
key -
value -
valueType -
description -

StepInjectionMetaEntry

public StepInjectionMetaEntry(String key,
                              int valueType,
                              String description)
Parameters:
key -
valueType -
description -
Method Detail

toString

public String toString()
Overrides:
toString in class Object

clone

public StepInjectionMetaEntry clone()
Overrides:
clone in class Object

getKey

public String getKey()
Returns:
the key

setKey

public void setKey(String key)
Parameters:
key - the key to set

getValue

public Object getValue()
Returns:
the value

setValue

public void setValue(Object value)
Parameters:
value - the value to set

getDescription

public String getDescription()
Returns:
the description

setDescription

public void setDescription(String description)
Parameters:
description - the description to set

getValueType

public int getValueType()
Returns:
the valueType This is the data type (see ValueMetaInterface) of the value. If the value is NONE (0) this is a list of values.

setValueType

public void setValueType(int valueType)
Parameters:
valueType - the valueType to set

getDetails

public List<StepInjectionMetaEntry> getDetails()
Returns:
the details : In case the data type of this entry is NONE (0) you can specify a list of entries. For example, for a step with a list of entries (filenames, fields, keys, etc) you can specify the list of metadata entries with this list.

setDetails

public void setDetails(List<StepInjectionMetaEntry> details)
Parameters:
details - the details to set. In case the data type of this entry is NONE (0) you can specify a list of entries. For example, for a step with a list of entries (filenames, fields, keys, etc) you can specify the list of metadata entries with this list.