be.lassi.lanbox.domain
Class ChannelAttribute
java.lang.Object
be.lassi.lanbox.domain.ChannelAttribute
public class ChannelAttribute
- extends java.lang.Object
Constructor Summary |
ChannelAttribute(int channelId,
boolean enabled)
Constructs a new channel indicator. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ChannelAttribute
public ChannelAttribute(int channelId,
boolean enabled)
- Constructs a new channel indicator.
- Parameters:
channelId
- the dmx channel numberenabled
- the enabled indicator
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals
in class java.lang.Object
getChannelId
public int getChannelId()
- Gets the dmx channel number.
- Returns:
- the dmx channel number
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
isEnabled
public boolean isEnabled()
- Gets the enabled indicator.
- Returns:
- enabled indicator
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object