Package cdc.kernel.rids
Interface RawIdentifiable
public interface RawIdentifiable
Interface implemented by objects that have a raw identifier.
Having a raw identifier means that the object has a normal identifier.
- Author:
- Damien Carbonne
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<RawIdentifiable>Comparator of RawIdentifiable based on their raw identifier. -
Method Summary
-
Field Details
-
RAW_ID_COMPARATOR
Comparator of RawIdentifiable based on their raw identifier.
-
-
Method Details
-
getRawId
RawId getRawId()- Returns:
- The object raw identifier.
-
getId
- Returns:
- The object identifier.
Note: This should be overridden with a more precise type when possible.
-
getRawId
Returns the raw identifier of a raw identifiable.- Parameters:
x- the raw identifiable.- Returns:
- The raw identifier of
xornullifxisnull.
-