de.smartics.exceptions.core
Interface ExceptionId<E>

Package class diagram package ExceptionId
Type Parameters:
E - the implementing type of the identifier.
All Superinterfaces:
Serializable
All Known Implementing Classes:
LongExceptionId, UuidExceptionId

public interface ExceptionId<E>
     
     
extends Serializable

Interface to implement an exception identifier.

Instances of implementing classes have to implement the serializable interface since they are members of serializable exceptions.

Implementations of this class have to be immutable.

Author:
Robert Reiner

Method Summary
 E getId()
          Returns the implementing type of the identifier.
 String toString()
          Returns the string representation of the ID.
 

Method Detail

getId

E getId()
Returns the implementing type of the identifier.

Returns:
the implementing type of the identifier.

toString

String toString()
Returns the string representation of the ID.

Overrides:
toString in class Object
Returns:
the string representation of the ID.


Copyright © 2007-null Kronseder & Reiner GmbH - smartics. All Rights Reserved.