Overview  Package   Class  Tree  Index 

be.lassi.lanbox.domain
Class PatchPair

java.lang.Object
  extended by be.lassi.lanbox.domain.PatchPair

public class PatchPair
extends java.lang.Object

Information about a channel patched to a dimmer.


Constructor Summary
PatchPair(int dimmerId, int channelId)
          Constructs a new instance.
 
Method Summary
 boolean equals(java.lang.Object object)
          
 int getChannelId()
          Gets the channel identifier.
 int getDimmerId()
          Gets the dimmer identifier.
 int hashCode()
          
 void setChannelId(int channelId)
          Sets the channel identifier.
 void setDimmerId(int dimmerId)
          Sets the dimmer identifier.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatchPair

public PatchPair(int dimmerId,
                 int channelId)
Constructs a new instance.

Parameters:
dimmerId - the dimmer identifier
channelId - the channel identifier
Method Detail

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class java.lang.Object

getChannelId

public int getChannelId()
Gets the channel identifier.

Returns:
the channel identier

getDimmerId

public int getDimmerId()
Gets the dimmer identifier.

Returns:
the dimmer identifier

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

setChannelId

public void setChannelId(int channelId)
Sets the channel identifier.

Parameters:
channelId - the channel identifier to set

setDimmerId

public void setDimmerId(int dimmerId)
Sets the dimmer identifier.

Parameters:
dimmerId - the dimmer identifier

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2