1 8 package org.apache.avalon.phoenix.metainfo; 9 10 import org.apache.avalon.framework.Version; 11 12 16 public class BlockDescriptor 17 { 18 23 private final String m_name; 24 private final String m_implementationKey; 25 private final Version m_version; 26 private final String m_schemaType; 27 28 public BlockDescriptor( final String name, 29 final String implementationKey, 30 final String schemaType, 31 final Version version ) 32 { 33 m_name = name; 34 m_implementationKey = implementationKey; 35 m_version = version; 36 m_schemaType = schemaType; 37 } 38 39 44 public String getName() 45 { 46 return m_name; 47 } 48 49 56 public String getClassname() 57 { 58 return getImplementationKey(); 59 } 60 61 67 public String getImplementationKey() 68 { 69 return m_implementationKey; 70 } 71 72 77 public Version getVersion() 78 { 79 return m_version; 80 } 81 82 87 public String getSchemaType() 88 { 89 return m_schemaType; 90 } 91 } 92 93 | Popular Tags |