Class LockInfo
- java.lang.Object
-
- com.nomagic.magicdraw.teamwork2.locks.LockInfo
-
@OpenApi public class LockInfo extends java.lang.Object
Information about lock of some element.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Date
mDate
The checkout date.private java.lang.String
mElementID
Checked out element id.private java.lang.String
mProjectID
Project which checked out elementprivate java.lang.String
mProjectName
Project which checkedout elementprivate java.lang.String
mUser
User who checked out the model element.
-
Constructor Summary
Constructors Constructor Description LockInfo(java.util.Date date, java.lang.String projectID, java.lang.String projectName, java.lang.String user, java.lang.String elementID)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getDate()
java.lang.String
getElementID()
java.lang.String
getProjectID()
java.lang.String
getProjectName()
java.lang.String
getUser()
-
-
-
Field Detail
-
mDate
private final java.util.Date mDate
The checkout date.
-
mProjectID
private final java.lang.String mProjectID
Project which checked out element
-
mProjectName
private final java.lang.String mProjectName
Project which checkedout element
-
mUser
private final java.lang.String mUser
User who checked out the model element.
-
mElementID
private final java.lang.String mElementID
Checked out element id.
-
-
Constructor Detail
-
LockInfo
public LockInfo(@CheckForNull java.util.Date date, java.lang.String projectID, java.lang.String projectName, java.lang.String user, java.lang.String elementID)
Constructor- Parameters:
date
- dateprojectID
- project remote idprojectName
- project nameuser
- userelementID
- element id
-
-
Method Detail
-
getDate
@OpenApi public java.util.Date getDate()
- Returns:
- lock date
-
getProjectID
public java.lang.String getProjectID()
- Returns:
- id of project in which element was locked
-
getProjectName
public java.lang.String getProjectName()
- Returns:
- name of project keeping a lock on element
-
getUser
@OpenApi public java.lang.String getUser()
- Returns:
- lock user name
-
getElementID
@OpenApi public java.lang.String getElementID()
- Returns:
- locked element id
-
-