Class 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 element
      private java.lang.String mProjectName
      Project which checkedout element
      private 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
    • 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 - date
        projectID - project remote id
        projectName - project name
        user - user
        elementID - 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