[MRM-1520] remove duplicate beans : model beans jaxrs capable

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-09-15 18:16:34 +00:00
parent 44ebf70e2d
commit d59216a4f1
7 changed files with 15 additions and 0 deletions

View File

@ -18,6 +18,7 @@ package org.apache.archiva.admin.model.beans;
* under the License. * under the License.
*/ */
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -26,6 +27,7 @@ import java.util.List;
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.4 * @since 1.4
*/ */
@XmlRootElement( name = "fileType" )
public class FileType public class FileType
implements Serializable implements Serializable
{ {

View File

@ -18,12 +18,14 @@ package org.apache.archiva.admin.model.beans;
* under the License. * under the License.
*/ */
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable; import java.io.Serializable;
/** /**
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.4 * @since 1.4
*/ */
@XmlRootElement( name = "legacyArtifactPath" )
public class LegacyArtifactPath public class LegacyArtifactPath
implements Serializable implements Serializable
{ {

View File

@ -18,12 +18,14 @@ package org.apache.archiva.admin.model.beans;
* under the License. * under the License.
*/ */
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable; import java.io.Serializable;
/** /**
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.4 * @since 1.4
*/ */
@XmlRootElement( name = "networkProxy" )
public class NetworkProxy public class NetworkProxy
implements Serializable implements Serializable
{ {

View File

@ -18,10 +18,13 @@ package org.apache.archiva.admin.model.beans;
* under the License. * under the License.
*/ */
import javax.xml.bind.annotation.XmlRootElement;
/** /**
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.4 * @since 1.4
*/ */
@XmlRootElement( name = "organisationInformation" )
public class OrganisationInformation public class OrganisationInformation
{ {
/** /**

View File

@ -20,12 +20,14 @@ package org.apache.archiva.admin.model.beans;
import org.apache.archiva.admin.model.AbstractRepositoryConnector; import org.apache.archiva.admin.model.AbstractRepositoryConnector;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable; import java.io.Serializable;
/** /**
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.4 * @since 1.4
*/ */
@XmlRootElement( name = "proxyConnector" )
public class ProxyConnector public class ProxyConnector
extends AbstractRepositoryConnector extends AbstractRepositoryConnector
implements Serializable implements Serializable

View File

@ -21,12 +21,14 @@ package org.apache.archiva.admin.model.beans;
import org.apache.archiva.admin.model.AbstractRepository; import org.apache.archiva.admin.model.AbstractRepository;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable; import java.io.Serializable;
/** /**
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.4 * @since 1.4
*/ */
@XmlRootElement( name = "remoteRepository" )
public class RemoteRepository public class RemoteRepository
extends AbstractRepository extends AbstractRepository
implements Serializable implements Serializable

View File

@ -18,6 +18,7 @@ package org.apache.archiva.admin.model.beans;
* under the License. * under the License.
*/ */
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -26,6 +27,7 @@ import java.util.List;
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.4 * @since 1.4
*/ */
@XmlRootElement( name = "repositoryGroup" )
public class RepositoryGroup public class RepositoryGroup
implements Serializable implements Serializable
{ {