Package com._1c.g5.v8.dt.bp.scheme
Class IdGenerator
java.lang.Object
com._1c.g5.v8.dt.bp.scheme.IdGenerator
Id generator. Used to generate id for graphical scheme items.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Generates next item id.int
Returns current id.void
setCurrentId
(int id) Sets current id.
-
Constructor Details
-
IdGenerator
public IdGenerator()
-
-
Method Details
-
generateId
public int generateId()Generates next item id.- Returns:
- next item id.
-
setCurrentId
public void setCurrentId(int id) Sets current id.- Parameters:
id
- - current id.
-
getCurrentId
public int getCurrentId()Returns current id.- Returns:
- current id.
-