org.sonatype.gossip.model
Class Model

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

public class Model
extends Object
implements Serializable

Class Model.

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

Constructor Summary
Model()
           
 
Method Summary
 ProfileNode findProfile(String name)
           
 String getModelEncoding()
          Get the modelEncoding field.
 List getProfiles()
          Method getProfiles.
 Properties getProperties()
          Method getProperties.
 List getSources()
          Method getSources.
 String getVersion()
          Get the version field.
 void setModelEncoding(String modelEncoding)
          Set the modelEncoding field.
 void setProfiles(List profiles)
          Set the profiles field.
 void setProperties(Properties properties)
          Set the properties field.
 void setSources(List sources)
          Set the sources field.
 void setVersion(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 String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getProfiles

public List getProfiles()
Method getProfiles.

Returns:
List

getProperties

public Properties getProperties()
Method getProperties.

Returns:
Properties

getSources

public List getSources()
Method getSources.

Returns:
List

getVersion

public String getVersion()
Get the version field.

Returns:
String

setModelEncoding

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

Parameters:
modelEncoding -

setProfiles

public void setProfiles(List profiles)
Set the profiles field.

Parameters:
profiles -

setProperties

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

Parameters:
properties -

setSources

public void setSources(List sources)
Set the sources field.

Parameters:
sources -

setVersion

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

Parameters:
version -

findProfile

public ProfileNode findProfile(String name)


Copyright © 2008-2012 Sonatype. All Rights Reserved.