001 package railo.runtime.lock; 002 003 004 /** 005 * lock data 006 */ 007 public interface LockData { 008 /** 009 * is type of token read only 010 * @return is read only 011 */ 012 boolean isReadOnly();//FUTURE deprecated 013 014 /** 015 * @return Returns the id. 016 */ 017 int getId(); 018 019 /** 020 * @return Returns the name. 021 */ 022 String getName(); 023 024 //FUTURE public Lock getLock(); 025 026 }