1 /* 2 Licensed to the Apache Software Foundation (ASF) under one 3 or more contributor license agreements. See the NOTICE file 4 distributed with this work for additional information 5 regarding copyright ownership. The ASF licenses this file 6 to you under the Apache License, Version 2.0 (the 7 "License"); you may not use this file except in compliance 8 with the License. You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, 13 software distributed under the License is distributed on an 14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 KIND, either express or implied. See the License for the 16 specific language governing permissions and limitations 17 under the License. 18 =================== DO NOT EDIT THIS FILE ==================== 19 Generated by Modello 2.4.0, 20 any modifications will be overwritten. 21 ============================================================== 22 */ 23 24 package org.apache.maven.model; 25 26 /** 27 * Information about one of the committers on this project. 28 * 29 * @version $Revision$ $Date$ 30 */ 31 @SuppressWarnings( "all" ) 32 public class Developer 33 extends Contributor 34 implements java.io.Serializable, java.lang.Cloneable 35 { 36 37 //--------------------------/ 38 //- Class/Member Variables -/ 39 //--------------------------/ 40 41 /** 42 * The unique ID of the developer in the SCM. 43 */ 44 private String id; 45 46 47 //-----------/ 48 //- Methods -/ 49 //-----------/ 50 51 /** 52 * Method clone. 53 * 54 * @return Developer 55 */ 56 public Developer clone() 57 { 58 try 59 { 60 Developer copy = (Developer) super.clone(); 61 62 return copy; 63 } 64 catch ( java.lang.Exception ex ) 65 { 66 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 67 + " does not support clone()" ).initCause( ex ); 68 } 69 } //-- Developer clone() 70 71 /** 72 * Get the unique ID of the developer in the SCM. 73 * 74 * @return String 75 */ 76 public String getId() 77 { 78 return this.id; 79 } //-- String getId() 80 81 /** 82 * Set the unique ID of the developer in the SCM. 83 * 84 * @param id a id object. 85 */ 86 public void setId( String id ) 87 { 88 this.id = id; 89 } //-- void setId( String ) 90 91 92 93 /** 94 * @see java.lang.Object#toString() 95 */ 96 public String toString() 97 { 98 return "Developer {id=" + id + ", " + super.toString() + "}"; 99 } 100 101 102 }