01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.framework;
11:
12: import org.mmbase.util.logging.*;
13:
14: /**
15: * A Virtual component is a component which is only mentioned as a dependency of another component.
16: *
17: * @author Michiel Meeuwissen
18: * @version $Id: VirtualComponent.java,v 1.4 2008/02/20 17:44:07 michiel Exp $
19: * @since MMBase-1.9
20: */
21: public class VirtualComponent {
22: private static final Logger log = Logging
23: .getLoggerInstance(VirtualComponent.class);
24:
25: private final String name;
26: private final int version;
27:
28: public VirtualComponent(String name, int v) {
29: this .name = name;
30: this .version = v;
31: }
32:
33: public String getName() {
34: return name;
35: }
36:
37: public int getVersion() {
38: return version;
39: }
40: }
|