Package com.nomagic.magicdraw.autoid
Interface IJavaNumberPart
-
- All Known Implementing Classes:
SquareNumberPart
@OpenApiAll public interface IJavaNumberPart
If this interface is implemented for an Expression <> then the AutoNumber-Framework will call the class methods and use the Strings produced as slices for the complete AutoNumber, as it is defined in the < > These methods should return equal values for equal input. - Since:
- Jan 18, 2011
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
generateNextId(java.lang.String lastNumberPart)
Generate a new ID.
-
-
-
Method Detail
-
generateNextId
java.lang.String generateNextId(java.lang.String lastNumberPart)
Generate a new ID. The new ID logically increases the value of the lastNumberPart- Parameters:
lastNumberPart
- the last significant NumberPart of the previous Id- Returns:
- the last significant Number Part in the new Element ID.
-
-