net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.maven.settings100
Class Repository

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.maven.settings100.Repository
All Implemented Interfaces:
Serializable, Cloneable

public class Repository
extends Object
implements Serializable, Cloneable

Repository contains the information needed for establishing connections with remote repoistory

Java class for Repository complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Repository">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="releases" type="{http://maven.apache.org/SETTINGS/1.0.0}RepositoryPolicy" minOccurs="0"/>
         <element name="snapshots" type="{http://maven.apache.org/SETTINGS/1.0.0}RepositoryPolicy" minOccurs="0"/>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="layout" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  String layout
           
protected  String name
           
protected  RepositoryPolicy releases
           
protected  RepositoryPolicy snapshots
           
protected  String url
           
 
Constructor Summary
Repository()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.maven.settings100.Repository instance.
Repository(Repository o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.maven.settings100.Repository instance by copying a given instance.
 
Method Summary
 Repository clone()
          Creates and returns a copy of this object.
 String getId()
          Gets the value of the id property.
 String getLayout()
          Gets the value of the layout property.
 String getName()
          Gets the value of the name property.
 RepositoryPolicy getReleases()
          Gets the value of the releases property.
 RepositoryPolicy getSnapshots()
          Gets the value of the snapshots property.
 String getUrl()
          Gets the value of the url property.
 void setId(String value)
          Sets the value of the id property.
 void setLayout(String value)
          Sets the value of the layout property.
 void setName(String value)
          Sets the value of the name property.
 void setReleases(RepositoryPolicy value)
          Sets the value of the releases property.
 void setSnapshots(RepositoryPolicy value)
          Sets the value of the snapshots property.
 void setUrl(String value)
          Sets the value of the url property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

releases

protected RepositoryPolicy releases

snapshots

protected RepositoryPolicy snapshots

id

protected String id

name

protected String name

url

protected String url

layout

protected String layout
Constructor Detail

Repository

public Repository()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.maven.settings100.Repository instance.


Repository

public Repository(Repository o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.maven.settings100.Repository instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getReleases

public RepositoryPolicy getReleases()
Gets the value of the releases property.

Returns:
possible object is RepositoryPolicy

setReleases

public void setReleases(RepositoryPolicy value)
Sets the value of the releases property.

Parameters:
value - allowed object is RepositoryPolicy

getSnapshots

public RepositoryPolicy getSnapshots()
Gets the value of the snapshots property.

Returns:
possible object is RepositoryPolicy

setSnapshots

public void setSnapshots(RepositoryPolicy value)
Sets the value of the snapshots property.

Parameters:
value - allowed object is RepositoryPolicy

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getUrl

public String getUrl()
Gets the value of the url property.

Returns:
possible object is String

setUrl

public void setUrl(String value)
Sets the value of the url property.

Parameters:
value - allowed object is String

getLayout

public String getLayout()
Gets the value of the layout property.

Returns:
possible object is String

setLayout

public void setLayout(String value)
Sets the value of the layout property.

Parameters:
value - allowed object is String

clone

public Repository clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.