com.alarmpoint.spectrum.data
Class SpectrumRule
java.lang.Object
com.alarmpoint.spectrum.data.SpectrumRule
public class SpectrumRule
- extends java.lang.Object
Simple data object to hold the Spectrum rule data
- Author:
- Mike Bennett
Constructor Summary |
SpectrumRule(java.lang.String record)
Creates a new instance of the SpectrumRule |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SpectrumRule
public SpectrumRule(java.lang.String record)
- Creates a new instance of the SpectrumRule
- Parameters:
record
- String containing the data for this instance
setLocalHandle
public void setLocalHandle(java.lang.String localHandle)
getLocalHandle
public java.lang.String getLocalHandle()
setLocalName
public void setLocalName(java.lang.String localName)
getLocalName
public java.lang.String getLocalName()
setRemoteHandle
public void setRemoteHandle(java.lang.String remoteHandle)
getRemoteHandle
public java.lang.String getRemoteHandle()
setRemoteName
public void setRemoteName(java.lang.String remoteName)
getRemoteName
public java.lang.String getRemoteName()
equals
public boolean equals(java.lang.Object other)
- Determine if the objects are equal based on the name
- Overrides:
equals
in class java.lang.Object
- Parameters:
other
- instance of SpectrumRule to compare against
- Returns:
- true if equal, false otherwise
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object