com.partnersoft.maps.rover
Class RoverData

java.lang.Object
  extended by com.partnersoft.maps.rover.RoverData
All Implemented Interfaces:
Coggable, Identifiable, Immutable

public class RoverData
extends java.lang.Object
implements Immutable, Identifiable, Coggable

The associated non-geometric data for a RoverEntity.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
RoverData(Cog node)
           
RoverData(RoverType type, Cog node)
           
RoverData(java.lang.String frontendName, java.lang.String fileName, java.lang.String name, int id, java.lang.String guid, RoverType type, Naming<java.lang.Object> data)
           
RoverData(java.lang.String frontendName, java.lang.String fileName, java.lang.String name, int id, java.lang.String guid, RoverType type, java.lang.String packedData)
           
 
Method Summary
 java.lang.String getFileName()
           
 java.lang.String getFrontendName()
           
 java.lang.String getGuid()
          Globally-unique ID (GUID) for this object.
 int getId()
          Numeric ID for this object.
 java.lang.String getName()
          Name of this object.
 java.lang.String getPackedData()
           
 RoverType getType()
           
 Naming<java.lang.Object> nameData()
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoverData

public RoverData(java.lang.String frontendName,
                 java.lang.String fileName,
                 java.lang.String name,
                 int id,
                 java.lang.String guid,
                 RoverType type,
                 java.lang.String packedData)

RoverData

public RoverData(java.lang.String frontendName,
                 java.lang.String fileName,
                 java.lang.String name,
                 int id,
                 java.lang.String guid,
                 RoverType type,
                 Naming<java.lang.Object> data)

RoverData

public RoverData(Cog node)

RoverData

public RoverData(RoverType type,
                 Cog node)
Method Detail

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Returns:
Cog representing the internal state of this object

getType

public RoverType getType()

nameData

public Naming<java.lang.Object> nameData()

getPackedData

public java.lang.String getPackedData()

getGuid

public java.lang.String getGuid()
Description copied from interface: Identifiable
Globally-unique ID (GUID) for this object. GUIDs should be globally unique for all of a specific kind of identifiable - in fact they should generally follow the UUID design and be unique for all things in the universe. They are used for synchronization in long-transaction, multiple-machine systems. GUIDs are represented as a single String; this interface does not require a required format. GUIDs are generally too long to be very human-legible.

Specified by:
getGuid in interface Identifiable

getId

public int getId()
Description copied from interface: Identifiable
Numeric ID for this object. Numeric IDs may only be unique for a set of Identifiables in a specific context (e.g. a single computer or database). They are generally small enough to be human-legible but may be automatically generated (e.g. auto incremented).

Specified by:
getId in interface Identifiable

getName

public java.lang.String getName()
Description copied from interface: Identifiable
Name of this object. Names may not be unique for any given set of Identifiables. They are generally human-oriented.

Specified by:
getName in interface Identifiable

getFileName

public java.lang.String getFileName()

getFrontendName

public java.lang.String getFrontendName()