public class SpectrumModel
extends java.lang.Object
Constructor and Description |
---|
SpectrumModel(java.lang.String record)
Creates a new instance of the Model
|
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 |
getHandle() |
java.lang.String |
getName() |
java.lang.String |
getTypeHnd() |
java.lang.String |
getTypeName() |
void |
setHandle(java.lang.String handle) |
void |
setName(java.lang.String name) |
void |
setTypeHnd(java.lang.String typeHnd) |
void |
setTypeName(java.lang.String typeName) |
java.lang.String |
toString() |
public SpectrumModel(java.lang.String record)
record
- String containing the data for this instance
If the system environment variable "CLIMNAMEWIDTH" has been set, then
the integration will use this value to set the width of the fields that
hold the model name and associated data. Otherwise the default of 18
characters will be used for the field width.
Tested with field widths of 256 chars - see
http://community.xmatters.com/message/8178 for details.public void setHandle(java.lang.String handle)
public java.lang.String getHandle()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setTypeHnd(java.lang.String typeHnd)
public java.lang.String getTypeHnd()
public void setTypeName(java.lang.String typeName)
public java.lang.String getTypeName()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- instance of Model to compare againstpublic java.lang.String toString()
toString
in class java.lang.Object