/*******************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.1-b02-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.12.04 at 02:20:17 PM IST
//
package org.apache.wink.webdav.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* The <code>lockinfo</code> XML element per the WebDAV specification [RFC 4918]
*
* <pre>
* Name: lockinfo
* Namespace: DAV:
* Purpose: The lockinfo XML element is used with a LOCK method to
* specify the type of lock the client wishes to have created.
*
* <!ELEMENT lockinfo (lockscope, locktype, owner?) >
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {"lockscope", "locktype", "owner"})
@XmlRootElement(name = "lockinfo")
public class Lockinfo {
@XmlElement(required = true)
protected Lockscope lockscope;
@XmlElement(required = true)
protected Locktype locktype;
protected Owner owner;
/**
* Gets the value of the lockscope property.
*
* @return possible object is {@link Lockscope }
*/
public Lockscope getLockscope() {
return lockscope;
}
/**
* Sets the value of the lockscope property.
*
* @param value allowed object is {@link Lockscope }
*/
public void setLockscope(Lockscope value) {
this.lockscope = value;
}
/**
* Gets the value of the locktype property.
*
* @return possible object is {@link Locktype }
*/
public Locktype getLocktype() {
return locktype;
}
/**
* Sets the value of the locktype property.
*
* @param value allowed object is {@link Locktype }
*/
public void setLocktype(Locktype value) {
this.locktype = value;
}
/**
* Gets the value of the owner property.
*
* @return possible object is {@link Owner }
*/
public Owner getOwner() {
return owner;
}
/**
* Sets the value of the owner property.
*
* @param value allowed object is {@link Owner }
*/
public void setOwner(Owner value) {
this.owner = value;
}
}