org.sonatype.gossip.model
Class Model

java.lang.Object
  extended by org.sonatype.gossip.model.Model
All Implemented Interfaces:
java.io.Serializable

public class Model
extends java.lang.Object
implements java.io.Serializable

Class Model.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Model()
           
 
Method Summary
 ProfileNode findProfile(java.lang.String name)
           
 java.lang.String getModelEncoding()
          Get the modelEncoding field.
 java.util.List<ProfileNode> getProfiles()
          Method getProfiles.
 java.util.Properties getProperties()
          Method getProperties.
 java.util.List<SourceNode> getSources()
          Method getSources.
 java.lang.String getVersion()
          Get the version field.
 void setModelEncoding(java.lang.String modelEncoding)
          Set the modelEncoding field.
 void setProfiles(java.util.List<ProfileNode> profiles)
          Set the profiles field.
 void setProperties(java.util.Properties properties)
          Set the properties field.
 void setSources(java.util.List<SourceNode> sources)
          Set the sources field.
 void setVersion(java.lang.String version)
          Set the version field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Model

public Model()
Method Detail

getModelEncoding

public java.lang.String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getProfiles

public java.util.List<ProfileNode> getProfiles()
Method getProfiles.

Returns:
List

getProperties

public java.util.Properties getProperties()
Method getProperties.

Returns:
Properties

getSources

public java.util.List<SourceNode> getSources()
Method getSources.

Returns:
List

getVersion

public java.lang.String getVersion()
Get the version field.

Returns:
String

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.

Parameters:
modelEncoding -

setProfiles

public void setProfiles(java.util.List<ProfileNode> profiles)
Set the profiles field.

Parameters:
profiles -

setProperties

public void setProperties(java.util.Properties properties)
Set the properties field.

Parameters:
properties -

setSources

public void setSources(java.util.List<SourceNode> sources)
Set the sources field.

Parameters:
sources -

setVersion

public void setVersion(java.lang.String version)
Set the version field.

Parameters:
version -

findProfile

public ProfileNode findProfile(java.lang.String name)


Copyright © 2008-2010 Sonatype. All Rights Reserved.