Class Lock

  • All Implemented Interfaces:
    java.io.Serializable

    public class Lock
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Lock()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.Timestamp getDateBegin()
      Returns the dateBegin
      java.sql.Timestamp getExpiredDate()
      Returns the expiredDate
      java.lang.String getIndexName()
      Returns the indexName
      java.lang.String getInstanceName()
      Returns the instanceName
      java.lang.String getUuid()
      Returns the uuid
      boolean isLocked()
      Returns the isLocked
      void setDateBegin​(java.sql.Timestamp dateBegin)
      Sets the dateBegin
      void setExpiredDate​(java.sql.Timestamp expiredDate)
      Sets the expiredDate
      void setIndexName​(java.lang.String indexName)
      Sets the indexName
      void setInstanceName​(java.lang.String instanceName)
      Sets the instanceName
      void setIsLocked​(boolean isLocked)
      Sets the isLocked
      void setUuid​(java.lang.String uuid)
      Sets the uuid
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Lock

        public Lock()
    • Method Detail

      • getIndexName

        public java.lang.String getIndexName()
        Returns the indexName
        Returns:
        The indexName
      • setIndexName

        public void setIndexName​(java.lang.String indexName)
        Sets the indexName
        Parameters:
        indexName - The indexName
      • getInstanceName

        public java.lang.String getInstanceName()
        Returns the instanceName
        Returns:
        The instanceName
      • setInstanceName

        public void setInstanceName​(java.lang.String instanceName)
        Sets the instanceName
        Parameters:
        instanceName - The instanceName
      • isLocked

        public boolean isLocked()
        Returns the isLocked
        Returns:
        true if the lock is taken
      • setIsLocked

        public void setIsLocked​(boolean isLocked)
        Sets the isLocked
        Parameters:
        isLocked - The isLocked
      • getDateBegin

        public java.sql.Timestamp getDateBegin()
        Returns the dateBegin
        Returns:
        The dateBegin
      • setDateBegin

        public void setDateBegin​(java.sql.Timestamp dateBegin)
        Sets the dateBegin
        Parameters:
        dateBegin - The dateBegin
      • getExpiredDate

        public java.sql.Timestamp getExpiredDate()
        Returns the expiredDate
        Returns:
        The expiredDate
      • setExpiredDate

        public void setExpiredDate​(java.sql.Timestamp expiredDate)
        Sets the expiredDate
        Parameters:
        expiredDate - The expiredDate
      • getUuid

        public java.lang.String getUuid()
        Returns the uuid
        Returns:
        The uuid
      • setUuid

        public void setUuid​(java.lang.String uuid)
        Sets the uuid
        Parameters:
        uuid - The uuid