Package com.linkare.commons.dao
Interface Identifiable<T extends Serializable>
-
- Type Parameters:
T- The identifier type for this type
public interface Identifiable<T extends Serializable>Base interface providing the contract semantics that anyidentifiabletype must fulfil. In order for anidentifiabletype to fulfil this contract, the methodid()must be implemented. The returning type from the methodid()is configurable through the parameterT.- Author:
- Paulo Zenida - Linkare TI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tid()
-
-
-
Method Detail
-
id
T id()
- Returns:
- Returns the identifier of this
identifiabletype.
-
-