001// =================== DO NOT EDIT THIS FILE ==================== 002// Generated by Modello 1.8.3, 003// any modifications will be overwritten. 004// ============================================================== 005 006package org.apache.maven.model; 007 008/** 009 * Information about the issue tracking (or bug tracking) system 010 * used to manage this 011 * project. 012 * 013 * @version $Revision: 965443 $ $Date: 2015-09-14 22:18:52 +0000 (Mon, 14 Sep 2015) $ 014 */ 015@SuppressWarnings( "all" ) 016public class IssueManagement 017 implements java.io.Serializable, java.lang.Cloneable, org.apache.maven.model.InputLocationTracker 018{ 019 020 //--------------------------/ 021 //- Class/Member Variables -/ 022 //--------------------------/ 023 024 /** 025 * The name of the issue management system, e.g. Bugzilla. 026 */ 027 private String system; 028 029 /** 030 * URL for the issue management system used by the project. 031 */ 032 private String url; 033 034 /** 035 * Field locations. 036 */ 037 private java.util.Map<Object, InputLocation> locations; 038 039 040 //-----------/ 041 //- Methods -/ 042 //-----------/ 043 044 /** 045 * Method clone. 046 * 047 * @return IssueManagement 048 */ 049 public IssueManagement clone() 050 { 051 try 052 { 053 IssueManagement copy = (IssueManagement) super.clone(); 054 055 if ( copy.locations != null ) 056 { 057 copy.locations = new java.util.LinkedHashMap( copy.locations ); 058 } 059 060 return copy; 061 } 062 catch ( java.lang.Exception ex ) 063 { 064 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 065 + " does not support clone()" ).initCause( ex ); 066 } 067 } //-- IssueManagement clone() 068 069 /** 070 * 071 * 072 * @param key 073 * @return InputLocation 074 */ 075 public InputLocation getLocation( Object key ) 076 { 077 return ( locations != null ) ? locations.get( key ) : null; 078 } //-- InputLocation getLocation( Object ) 079 080 /** 081 * Get the name of the issue management system, e.g. Bugzilla. 082 * 083 * @return String 084 */ 085 public String getSystem() 086 { 087 return this.system; 088 } //-- String getSystem() 089 090 /** 091 * Get uRL for the issue management system used by the project. 092 * 093 * @return String 094 */ 095 public String getUrl() 096 { 097 return this.url; 098 } //-- String getUrl() 099 100 /** 101 * 102 * 103 * @param key 104 * @param location 105 */ 106 public void setLocation( Object key, InputLocation location ) 107 { 108 if ( location != null ) 109 { 110 if ( this.locations == null ) 111 { 112 this.locations = new java.util.LinkedHashMap<Object, InputLocation>(); 113 } 114 this.locations.put( key, location ); 115 } 116 } //-- void setLocation( Object, InputLocation ) 117 118 /** 119 * Set the name of the issue management system, e.g. Bugzilla. 120 * 121 * @param system 122 */ 123 public void setSystem( String system ) 124 { 125 this.system = system; 126 } //-- void setSystem( String ) 127 128 /** 129 * Set uRL for the issue management system used by the project. 130 * 131 * @param url 132 */ 133 public void setUrl( String url ) 134 { 135 this.url = url; 136 } //-- void setUrl( String ) 137 138}