org.talend.esb.sam.common.event
Class Originator

java.lang.Object
  extended by org.talend.esb.sam.common.event.Originator
All Implemented Interfaces:
Serializable

public class Originator
extends Object
implements Serializable

The Class Originator.

See Also:
Serialized Form

Constructor Summary
Originator()
          Instantiates a new originator.
Originator(String processId, String ip, String hostname, String customId, String principal)
          Instantiates a new originator.
 
Method Summary
 boolean equals(Object obj)
           
 String getCustomId()
          Gets the custom id.
 String getHostname()
          Gets the hostname.
 String getIp()
          Gets the ip address.
 String getPrincipal()
          Gets the principal.
 String getProcessId()
          Gets the process id.
 int hashCode()
           
 void setCustomId(String customId)
          Sets the custom id.
 void setHostname(String hostname)
          Sets the hostname.
 void setIp(String ip)
          Sets the ip address.
 void setPrincipal(String principal)
          Sets the principal.
 void setProcessId(String processId)
          Sets the process id.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Originator

public Originator(String processId,
                  String ip,
                  String hostname,
                  String customId,
                  String principal)
Instantiates a new originator.

Parameters:
processId - the process id
ip - the ip address
hostname - the hostname
customId - the custom id
principal - the principal

Originator

public Originator()
Instantiates a new originator.

Method Detail

getProcessId

public String getProcessId()
Gets the process id.

Returns:
the process id

setProcessId

public void setProcessId(String processId)
Sets the process id.

Parameters:
processId - the new process id

getIp

public String getIp()
Gets the ip address.

Returns:
the ip address

setIp

public void setIp(String ip)
Sets the ip address.

Parameters:
ip - the new ip address

getHostname

public String getHostname()
Gets the hostname.

Returns:
the hostname

setHostname

public void setHostname(String hostname)
Sets the hostname.

Parameters:
hostname - the new hostname

getCustomId

public String getCustomId()
Gets the custom id.

Returns:
the custom id

setCustomId

public void setCustomId(String customId)
Sets the custom id.

Parameters:
customId - the new custom id

getPrincipal

public String getPrincipal()
Gets the principal.

Returns:
the principal

setPrincipal

public void setPrincipal(String principal)
Sets the principal.

Parameters:
principal - the new principal

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011–2014 Talend Inc.. All rights reserved.