info.informatica.lang
Interface Identifiable


public interface Identifiable

Objects implementing this interface can be identified by a String identifier.

The uniqueness of the ident String depends on the particular use by the Class.

Version:
1.01
Author:
amengual at informatica dot info

Method Summary
 String getId()
          Gets the ID of this object.
 void setId(String id)
          Sets the identification for this object.
 

Method Detail

setId

void setId(String id)
Sets the identification for this object.

Parameters:
id - the ident String

getId

String getId()
Gets the ID of this object.

Returns:
a String identifying this object