org.keridwen.core.data.storage.packet
Class DataPacketId

java.lang.Object
  extended by org.keridwen.core.data.storage.packet.DataPacketId

public class DataPacketId
extends Object

A DataPacketId is the unique identifier of a data packet.


Constructor Summary
DataPacketId(String anUid)
          Builds a DataPacketId with the given ID.
DataPacketId(String anUid, String aName)
          Builds a DataPacketId with the given ID and name.
 
Method Summary
 String getId()
           
 String getName()
          Gets the data packet name.
 void setName(String aName)
          Sets the name of the data packet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataPacketId

public DataPacketId(String anUid)
Builds a DataPacketId with the given ID.

Parameters:
anUid - unique id of the data packet

DataPacketId

public DataPacketId(String anUid,
                    String aName)
Builds a DataPacketId with the given ID and name.

Parameters:
anUid - unique id of the data packet
aName - name of the data packet
Method Detail

getId

public final String getId()
Returns:
the id

getName

public final String getName()
Gets the data packet name.

Returns:
the name

setName

public final void setName(String aName)
Sets the name of the data packet.

Parameters:
aName - the name to set


Copyright © 2010-2013 Artenum. All Rights Reserved.