public class SpectrumRelation
extends java.lang.Object
Constructor and Description |
---|
SpectrumRelation(java.lang.String record)
Creates a new instance of the SpectrumRelation
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Determine if the objects are equal based on the name
|
java.lang.String |
getName() |
java.lang.String |
getType() |
void |
setName(java.lang.String name) |
void |
setType(java.lang.String type) |
java.lang.String |
toString() |
public SpectrumRelation(java.lang.String record)
record
- String containing the data for this instancepublic void setName(java.lang.String name)
public java.lang.String getName()
public void setType(java.lang.String type)
public java.lang.String getType()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- instance of SpectrumRelation to compare againstpublic java.lang.String toString()
toString
in class java.lang.Object