KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
11  * This is the structure describing the instances of roles provided to each block.
12  *
13  * @author <a HREF="mailto:peter at apache.org">Peter Donald</a>
14  */

15 public final class DependencyMetaData
16 {
17     private final String JavaDoc m_name;
18
19     private final String JavaDoc m_role;
20
21     public DependencyMetaData( final String JavaDoc name, final String JavaDoc role )
22     {
23         m_name = name;
24         m_role = role;
25     }
26
27     public String JavaDoc getRole()
28     {
29         return m_role;
30     }
31
32     public String JavaDoc getName()
33     {
34         return m_name;
35     }
36 }
37
Popular Tags