com.alarmpoint.spectrum.data
Class SpectrumAssociation
java.lang.Object
com.alarmpoint.spectrum.data.SpectrumAssociation
public class SpectrumAssociation
- extends java.lang.Object
Simple data object to hold the Spectrum association data
- Author:
- Mike Bennett
Constructor Summary |
SpectrumAssociation(java.lang.String record)
Creates a new instance of the SpectrumAssociation |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SpectrumAssociation
public SpectrumAssociation(java.lang.String record)
- Creates a new instance of the SpectrumAssociation
- 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()
setRelation
public void setRelation(java.lang.String relation)
getRelation
public java.lang.String getRelation()
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 SpectrumAssociation to compare against
- Returns:
- true if equal, false otherwise
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object