org.jtheque.core.managers.update.repository
Class Repository

java.lang.Object
  extended by org.jtheque.core.managers.update.repository.Repository

public final class Repository
extends java.lang.Object

A module repository.

Author:
Baptiste Wicht

Constructor Summary
Repository()
           
 
Method Summary
 java.lang.String getApplication()
          Return the application name.
 java.util.List<ModuleDescription> getModules()
          Return all the modules of the repository.
 org.jtheque.utils.bean.InternationalString getTitle()
          Return the title of the repository.
 void setApplication(java.lang.String application)
          Set the application name.
 void setTitle(org.jtheque.utils.bean.InternationalString title)
          Set the title of the repository.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Repository

public Repository()
Method Detail

getTitle

public org.jtheque.utils.bean.InternationalString getTitle()
Return the title of the repository.

Returns:
The title of the repository.

setTitle

public void setTitle(org.jtheque.utils.bean.InternationalString title)
Set the title of the repository.

Parameters:
title - The title of the repository.

getApplication

public java.lang.String getApplication()
Return the application name.

Returns:
The application name.

setApplication

public void setApplication(java.lang.String application)
Set the application name.

Parameters:
application - The application name.

getModules

public java.util.List<ModuleDescription> getModules()
Return all the modules of the repository.

Returns:
A List containing the description of the modules.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 JTheque. All Rights Reserved.