001/* 002 Licensed to the Apache Software Foundation (ASF) under one 003 or more contributor license agreements. See the NOTICE file 004 distributed with this work for additional information 005 regarding copyright ownership. The ASF licenses this file 006 to you under the Apache License, Version 2.0 (the 007 "License"); you may not use this file except in compliance 008 with the License. You may obtain a copy of the License at 009 010 http://www.apache.org/licenses/LICENSE-2.0 011 012 Unless required by applicable law or agreed to in writing, 013 software distributed under the License is distributed on an 014 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 KIND, either express or implied. See the License for the 016 specific language governing permissions and limitations 017 under the License. 018 =================== DO NOT EDIT THIS FILE ==================== 019 Generated by Modello 2.5.1, 020 any modifications will be overwritten. 021 ============================================================== 022 */ 023 024package org.apache.maven.scm.provider.local.metadata; 025 026/** 027 * Class LocalScmMetadata. 028 * 029 * @version $Revision$ $Date$ 030 */ 031@SuppressWarnings( "all" ) 032public class LocalScmMetadata 033 implements java.io.Serializable 034{ 035 036 //--------------------------/ 037 //- Class/Member Variables -/ 038 //--------------------------/ 039 040 /** 041 * Field repositoryFileNames. 042 */ 043 private java.util.List<String> repositoryFileNames; 044 045 /** 046 * Field modelEncoding. 047 */ 048 private String modelEncoding = "UTF-8"; 049 050 051 //-----------/ 052 //- Methods -/ 053 //-----------/ 054 055 /** 056 * Method addRepositoryFileName. 057 * 058 * @param string a string object. 059 */ 060 public void addRepositoryFileName( String string ) 061 { 062 getRepositoryFileNames().add( string ); 063 } //-- void addRepositoryFileName( String ) 064 065 /** 066 * Get the modelEncoding field. 067 * 068 * @return String 069 */ 070 public String getModelEncoding() 071 { 072 return this.modelEncoding; 073 } //-- String getModelEncoding() 074 075 /** 076 * Method getRepositoryFileNames. 077 * 078 * @return List 079 */ 080 public java.util.List<String> getRepositoryFileNames() 081 { 082 if ( this.repositoryFileNames == null ) 083 { 084 this.repositoryFileNames = new java.util.ArrayList<String>(); 085 } 086 087 return this.repositoryFileNames; 088 } //-- java.util.List<String> getRepositoryFileNames() 089 090 /** 091 * Method removeRepositoryFileName. 092 * 093 * @param string a string object. 094 */ 095 public void removeRepositoryFileName( String string ) 096 { 097 getRepositoryFileNames().remove( string ); 098 } //-- void removeRepositoryFileName( String ) 099 100 /** 101 * Set the modelEncoding field. 102 * 103 * @param modelEncoding a modelEncoding object. 104 */ 105 public void setModelEncoding( String modelEncoding ) 106 { 107 this.modelEncoding = modelEncoding; 108 } //-- void setModelEncoding( String ) 109 110 /** 111 * Set the list of filenames contained in the repository during 112 * last checkout or update operation. 113 * 114 * @param repositoryFileNames a repositoryFileNames object. 115 */ 116 public void setRepositoryFileNames( java.util.List<String> repositoryFileNames ) 117 { 118 this.repositoryFileNames = repositoryFileNames; 119 } //-- void setRepositoryFileNames( java.util.List ) 120 121}