com.ail.core
Interface Identified

All Known Implementing Classes:
Attribute, BlockData, ChapterData, DocumentData, FooterData, HeaderData, ItemContainer, ItemData, ModelData, RepeatingData, UrlData

public interface Identified

Classes that implement this interface have identifiers, and can be safely compared with any other implementor.

Version:
$Revision$
Author:
$Author$

Method Summary
 boolean compareById(java.lang.Object that)
          Return true if that is of the same type and has the same Id as this.
 java.lang.String getId()
           
 void setId(java.lang.String Id)
           
 

Method Detail

getId

java.lang.String getId()

setId

void setId(java.lang.String Id)

compareById

boolean compareById(java.lang.Object that)
Return true if that is of the same type and has the same Id as this.

Parameters:
that - Object to compare with.
Returns:
true if this and that are the same by Id.