View source | Discuss this page | Page history | Printable version   

ERP/3.0/Developers Guide/Reference/Entity Model/OBSCHEDLocks

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers_Guide/Reference/Entity_Model#OBSCHEDLocks


OBSCHEDLocks

Quartz locks to prevent concurrently acquiring a trigger from more than one instance on non-relational persistence stores

To the database table (obsched_locks) of this entity.

Properties

Note:

Property Column Constraints Type Description
id* Obsched_Locks_ID Mandatory
Max Length: 32
java.lang.String
schedName Sched_Name Mandatory
Max Length: 120
java.lang.String Quartz scheduler name. In non-clustered environment it's "NON-CLUSTERED".

In a clustered environment it usually matches the machine.name of the cluster instance.

lockName# Lock_Name Mandatory
Max Length: 40
java.lang.String


Java Entity Class

 
 
 
 /*
  *************************************************************************
  * The contents of this file are subject to the Openbravo  Public  License
  * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
  * Version 1.1  with a permitted attribution clause; you may not  use this
  * file except in compliance with the License. You  may  obtain  a copy of
  * the License at http://www.openbravo.com/legal/license.html
  * Software distributed under the License  is  distributed  on  an "AS IS"
  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  * License for the specific  language  governing  rights  and  limitations
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
  * All portions are Copyright (C) 2008-2020 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
 */
 package org.openbravo.model.scheduling;
 
 import org.openbravo.base.structure.BaseOBObject;
 /**
  * Entity class for entity OBSCHEDLocks (stored in table obsched_locks).
  * <br>
  * Help: {@literal Quartz locks to prevent concurrently acquiring a trigger from more than one instance on
      *       non-relational persistence stores}
  * <br>
  * NOTE: This class should not be instantiated directly. To instantiate this
  * class the {@link org.openbravo.base.provider.OBProvider} should be used.
  */
 public class QuartzLocks extends BaseOBObject  {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "obsched_locks";
     public static final String ENTITY_NAME = "OBSCHEDLocks";
 
     /**
      * Property id stored in column Obsched_Locks_ID in table obsched_locks 
      * 
      */
     public static final String PROPERTY_ID = "id";
 
     /**
      * Property schedName stored in column Sched_Name in table obsched_locks<br>
      * Help: {@literal Quartz scheduler name. In non-clustered environment it's "NON-CLUSTERED".
      *       In a clustered
      *       environment it usually matches the machine.name of the cluster instance.}
      * 
      */
     public static final String PROPERTY_SCHEDNAME = "schedName";
 
     /**
      * Property lockName stored in column Lock_Name in table obsched_locks 
      * 
      */
     public static final String PROPERTY_LOCKNAME = "lockName";
 
 
     public QuartzLocks() {
     }
 
     @Override
     public String getEntityName() {
         return ENTITY_NAME;
     }
 
     /**
      * @see QuartzLocks#PROPERTY_ID
      * 
      */
     public String getId() {
         return (String) get(PROPERTY_ID);
     }
     /**
      * @see QuartzLocks#PROPERTY_ID
      * 
      */
     public void setId(String id) {
         set(PROPERTY_ID, id);
     }
 
     /**
      * @see QuartzLocks#PROPERTY_SCHEDNAME
      * 
      */
     public String getSchedName() {
         return (String) get(PROPERTY_SCHEDNAME);
     }
     /**
      * @see QuartzLocks#PROPERTY_SCHEDNAME
      * 
      */
     public void setSchedName(String schedName) {
         set(PROPERTY_SCHEDNAME, schedName);
     }
 
     /**
      * @see QuartzLocks#PROPERTY_LOCKNAME
      * 
      */
     public String getLockName() {
         return (String) get(PROPERTY_LOCKNAME);
     }
     /**
      * @see QuartzLocks#PROPERTY_LOCKNAME
      * 
      */
     public void setLockName(String lockName) {
         set(PROPERTY_LOCKNAME, lockName);
     }
 
 }

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Reference/Entity_Model/OBSCHEDLocks"

This page has been accessed 385 times. This page was last modified on 30 November 2020, at 01:55. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.