com.alarmpoint.spectrum.data
Class SpectrumAttribute

java.lang.Object
  extended by com.alarmpoint.spectrum.data.SpectrumAttribute

public class SpectrumAttribute
extends java.lang.Object

Simple data object to hold the Spectrum attribute data

Author:
Mike Bennett

Constructor Summary
SpectrumAttribute(java.lang.String record)
          Creates a new instance of the SpectrumAttribute
 
Method Summary
 boolean equals(java.lang.Object other)
          Determine if the objects are equal based on the name
 java.lang.String getId()
           
 java.lang.String getIid()
           
 java.lang.String getName()
           
 java.lang.String getValue()
           
 void setId(java.lang.String id)
           
 void setIid(java.lang.String iid)
           
 void setName(java.lang.String name)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpectrumAttribute

public SpectrumAttribute(java.lang.String record)
Creates a new instance of the SpectrumAttribute

Parameters:
record - String containing the data for this instance
Method Detail

setId

public void setId(java.lang.String id)

getId

public java.lang.String getId()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setIid

public void setIid(java.lang.String iid)

getIid

public java.lang.String getIid()

setValue

public void setValue(java.lang.String value)

getValue

public java.lang.String getValue()

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 SpectrumAttribute to compare against
Returns:
true if equal, false otherwise

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object