org.pentaho.di.core.database
Class PartitionDatabaseMeta

java.lang.Object
  extended by org.pentaho.di.core.database.PartitionDatabaseMeta

public class PartitionDatabaseMeta
extends Object

Class to contain the information needed to parition (cluster): id, hostname, port, database

Author:
Matt

Constructor Summary
PartitionDatabaseMeta()
           
PartitionDatabaseMeta(String partitionId, String hostname, String port, String database)
           
 
Method Summary
 String getDatabaseName()
           
 String getHostname()
           
 String getPartitionId()
           
 String getPassword()
           
 String getPort()
           
 String getUsername()
           
 void setDatabaseName(String database)
           
 void setHostname(String hostname)
           
 void setPartitionId(String partitionId)
           
 void setPassword(String password)
           
 void setPort(String port)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartitionDatabaseMeta

public PartitionDatabaseMeta()

PartitionDatabaseMeta

public PartitionDatabaseMeta(String partitionId,
                             String hostname,
                             String port,
                             String database)
Parameters:
partitionId -
hostname -
port -
database -
Method Detail

getPartitionId

public String getPartitionId()
Returns:
the partitionId

setPartitionId

public void setPartitionId(String partitionId)
Parameters:
partitionId - the partitionId to set

getDatabaseName

public String getDatabaseName()
Returns:
the database

setDatabaseName

public void setDatabaseName(String database)
Parameters:
database - the database to set

getHostname

public String getHostname()
Returns:
the hostname

setHostname

public void setHostname(String hostname)
Parameters:
hostname - the hostname to set

getPort

public String getPort()
Returns:
the port

setPort

public void setPort(String port)
Parameters:
port - the port to set

getPassword

public String getPassword()
Returns:
the password

setPassword

public void setPassword(String password)
Parameters:
password - the password to set

getUsername

public String getUsername()
Returns:
the username

setUsername

public void setUsername(String username)
Parameters:
username - the username to set