KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > invicta > api > DependItem


1 package net.sf.invicta.api;
2
3 import java.util.List JavaDoc;
4
5 /**
6  * An interface that represents a dependency 'line' of a component
7  * definition.
8  *
9  */

10 public interface DependItem {
11     /**
12      * Returns whether this dependency is exported to components that depends
13      * on this component.
14      * @return boolean
15      */

16     public abstract boolean getExport();
17     
18     /**
19      * Returns the name of the component that this depend item defines
20      * dependency on.
21      * @return String
22      */

23     public abstract String JavaDoc getName();
24         
25     /**
26      * Returns a list of product names in the component that this depend item
27      * defines dependency on. Note: product names list is optional and may be
28      * empty.
29      * @return List of String objects.
30      */

31     public abstract List JavaDoc getProductsList();
32 }
Popular Tags