1 8 package org.apache.avalon.phoenix.metadata; 9 10 import java.io.File ; 11 12 17 public class SarMetaData 18 { 19 private String m_name; 20 21 private File m_homeDirectory; 22 23 private BlockMetaData[] m_blocks; 24 25 private BlockListenerMetaData[] m_listeners; 26 27 public SarMetaData( final String name, 28 final File 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 getName() 39 { 40 return m_name; 41 } 42 43 public File 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 |