1 // =================== DO NOT EDIT THIS FILE ==================== 2 // Generated by Modello 1.11, 3 // any modifications will be overwritten. 4 // ============================================================== 5 6 package org.codehaus.mojo.taglist.options; 7 8 /** 9 * The options for the specific tag class. 10 * 11 * @version $Revision$ $Date$ 12 */ 13 public class TagClass 14 implements java.io.Serializable 15 { 16 17 //--------------------------/ 18 //- Class/Member Variables -/ 19 //--------------------------/ 20 21 /** 22 * The name to display for this tag class in the output HTML. 23 */ 24 private String displayName; 25 26 /** 27 * Field tags. 28 */ 29 private java.util.List/*<Tag>*/ tags; 30 31 32 //-----------/ 33 //- Methods -/ 34 //-----------/ 35 36 /** 37 * Method addTag. 38 * 39 * @param tag 40 */ 41 public void addTag( Tag tag ) 42 { 43 getTags().add( tag ); 44 } //-- void addTag( Tag ) 45 46 /** 47 * Get the name to display for this tag class in the output 48 * HTML. 49 * 50 * @return String 51 */ 52 public String getDisplayName() 53 { 54 return this.displayName; 55 } //-- String getDisplayName() 56 57 /** 58 * Method getTags. 59 * 60 * @return List 61 */ 62 public java.util.List/*<Tag>*/ getTags() 63 { 64 if ( this.tags == null ) 65 { 66 this.tags = new java.util.ArrayList/*<Tag>*/(); 67 } 68 69 return this.tags; 70 } //-- java.util.List/*<Tag>*/ getTags() 71 72 /** 73 * Method removeTag. 74 * 75 * @param tag 76 */ 77 public void removeTag( Tag tag ) 78 { 79 getTags().remove( tag ); 80 } //-- void removeTag( Tag ) 81 82 /** 83 * Set the name to display for this tag class in the output 84 * HTML. 85 * 86 * @param displayName 87 */ 88 public void setDisplayName( String displayName ) 89 { 90 this.displayName = displayName; 91 } //-- void setDisplayName( String ) 92 93 /** 94 * Set the tags field. 95 * 96 * @param tags 97 */ 98 public void setTags( java.util.List/*<Tag>*/ tags ) 99 { 100 this.tags = tags; 101 } //-- void setTags( java.util.List ) 102 103 }