/* * ==================================================================== * Copyright (c) 2004-2008 TMate Software Ltd. All rights reserved. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at http://svnkit.com/license.html. * If newer versions of this license are posted there, you may use a * newer version instead, at your option. * ==================================================================== */ package org.tmatesoft.svn.core.internal.server.dav; import java.util.Date; /** * @version 1.2.0 * @author TMate Software Ltd. */ public class DAVLock { private DAVLockRecType myRecType; private DAVLockScope myScope; private DAVLockType myType; private boolean myIsLockNull; private DAVDepth myDepth; private String myLockToken; private String myOwner; private String myAuthUser; private Date myTimeOutDate; public DAVLock(String authUser, DAVDepth depth, boolean isLockNull, String lockToken, String owner, DAVLockRecType recType, DAVLockScope scope, DAVLockType type, Date timeOutDate) { myAuthUser = authUser; myDepth = depth; myIsLockNull = isLockNull; myLockToken = lockToken; myOwner = owner; myRecType = recType; myScope = scope; myType = type; myTimeOutDate = timeOutDate; } public DAVLockRecType getRecType() { return myRecType; } public DAVLockScope getScope() { return myScope; } public DAVLockType getType() { return myType; } public boolean isLockNull() { return myIsLockNull; } public DAVDepth getDepth() { return myDepth; } public String getLockToken() { return myLockToken; } public String getOwner() { return myOwner; } public String getAuthUser() { return myAuthUser; } public Date getTimeOutDate() { return myTimeOutDate; } }