com.axiomalaska.sos.tools
Class IdCreator

java.lang.Object
  extended by com.axiomalaska.sos.tools.IdCreator

public class IdCreator
extends java.lang.Object

This class is used to create the ID of the objects of the SOS. This was created because of the multiple changes being made to the IDs.

Author:
Lance Finfrock

Constructor Summary
IdCreator()
           
 
Method Summary
 java.lang.String createFeatureOfInterestId(SosStation station, SosSensor sensor)
           
 java.lang.String createFeatureOfInterestId(SosStation station, SosSensor sensor, Location location)
           
 java.lang.String createFeatureOfInterestName(SosStation station, SosSensor sensor)
           
 java.lang.String createNetworkId(SosNetwork network)
           
 java.lang.String createSensorId(SosStation station, SosSensor sensor)
           
 java.lang.String createStationId(SosStation station)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdCreator

public IdCreator()
Method Detail

createFeatureOfInterestId

public java.lang.String createFeatureOfInterestId(SosStation station,
                                                  SosSensor sensor,
                                                  Location location)

createFeatureOfInterestName

public java.lang.String createFeatureOfInterestName(SosStation station,
                                                    SosSensor sensor)

createFeatureOfInterestId

public java.lang.String createFeatureOfInterestId(SosStation station,
                                                  SosSensor sensor)

createNetworkId

public java.lang.String createNetworkId(SosNetwork network)

createStationId

public java.lang.String createStationId(SosStation station)

createSensorId

public java.lang.String createSensorId(SosStation station,
                                       SosSensor sensor)


Copyright © 2012. All Rights Reserved.