KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > phoenix > metadata > SarMetaData


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE.txt file.
7  */

8 package org.apache.avalon.phoenix.metadata;
9
10 import java.io.File JavaDoc;
11
12 /**
13  * MetaData for the application.
14  *
15  * @author <a HREF="mailto:peter at apache.org">Peter Donald</a>
16  */

17 public class SarMetaData
18 {
19     private String JavaDoc m_name;
20
21     private File JavaDoc m_homeDirectory;
22
23     private BlockMetaData[] m_blocks;
24
25     private BlockListenerMetaData[] m_listeners;
26
27     public SarMetaData( final String JavaDoc name,
28                         final File JavaDoc homeDirectory,
29                         final BlockMetaData[] blocks,
30                         final BlockListenerMetaData[] listeners )
31     {
32         m_name = name;
33         m_homeDirectory = homeDirectory;
34         m_blocks = blocks;
35         m_listeners = listeners;
36     }
37
38     public String JavaDoc getName()
39     {
40         return m_name;
41     }
42
43     public File JavaDoc getHomeDirectory()
44     {
45         return m_homeDirectory;
46     }
47
48     public BlockMetaData[] getBlocks()
49     {
50         return m_blocks;
51     }
52
53     public BlockListenerMetaData[] getListeners()
54     {
55         return m_listeners;
56     }
57 }
58
Popular Tags