1 8 package org.codehaus.loom.xmlpolicy.metadata; 9 10 17 public class KeyStoreMetaData 18 { 19 23 private final String m_name; 24 25 28 private final String m_location; 29 30 33 private final String m_type; 34 35 42 public KeyStoreMetaData( final String name, 43 final String location, 44 final String type ) 45 { 46 if( null == name ) 47 { 48 throw new NullPointerException ( "name" ); 49 } 50 if( null == location ) 51 { 52 throw new NullPointerException ( "location" ); 53 } 54 if( null == type ) 55 { 56 throw new NullPointerException ( "type" ); 57 } 58 59 m_name = name; 60 m_location = location; 61 m_type = type; 62 } 63 64 69 public String getName() 70 { 71 return m_name; 72 } 73 74 79 public String getLocation() 80 { 81 return m_location; 82 } 83 84 89 public String getType() 90 { 91 return m_type; 92 } 93 } 94 | Popular Tags |