dk.deepthought.sidious.supportsystem
Class SuperLinkID

java.lang.Object
  extended by dk.deepthought.sidious.supportsystem.SuperLinkID
All Implemented Interfaces:
java.lang.Comparable<SuperLinkID>

@Immutable
public final class SuperLinkID
extends java.lang.Object
implements java.lang.Comparable<SuperLinkID>

This class wraps the SuperLink Identifier for each sensor and set point in the system.

Author:
Deepthought

Field Summary
private  java.lang.String ID
          The string id.
private static org.apache.commons.logging.Log logger
          Logger for this class
 
Constructor Summary
SuperLinkID(java.lang.String id)
          Creates a new SuperLinkID object.
 
Method Summary
 int compareTo(SuperLinkID other)
           
 boolean equals(java.lang.Object arg0)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

private static final org.apache.commons.logging.Log logger
Logger for this class


ID

private final java.lang.String ID
The string id.

Constructor Detail

SuperLinkID

public SuperLinkID(java.lang.String id)
Creates a new SuperLinkID object.

Parameters:
id - the id string
Method Detail

equals

public boolean equals(java.lang.Object arg0)
Overrides:
equals in class java.lang.Object

toString

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(SuperLinkID other)
Specified by:
compareTo in interface java.lang.Comparable<SuperLinkID>


Copyright © Deepthought Development - All Rights Reserved.