1 2 /* 3 * Copyright (c) 2002-2022, City of Paris 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 10 * 1. Redistributions of source code must retain the above copyright notice 11 * and the following disclaimer. 12 * 13 * 2. Redistributions in binary form must reproduce the above copyright notice 14 * and the following disclaimer in the documentation and/or other materials 15 * provided with the distribution. 16 * 17 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its 18 * contributors may be used to endorse or promote products derived from 19 * this software without specific prior written permission. 20 * 21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 25 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 * POSSIBILITY OF SUCH DAMAGE. 32 * 33 * License 1.0 34 */ 35 package fr.paris.lutece.plugins.mylutece.business; 36 37 38 39 /** 40 * The Class LuteceUserAttributeDescription. 41 */ 42 public class LuteceUserAttributeDescription { 43 44 45 46 /** 47 * Instantiates a new lutece user attribute description. 48 * 49 * @param strAttributeKey the str attribute key 50 * @param strMappingKey the str mapping key 51 * @param strDescription the str description 52 */ 53 public LuteceUserAttributeDescription(String strAttributeKey, String strMappingKey, String strDescription) { 54 super(); 55 this._strAttributeKey = strAttributeKey; 56 this._strMappingKey = strMappingKey; 57 this._strDescription = strDescription; 58 } 59 60 /** The str attribute key. */ 61 private String _strAttributeKey; 62 63 /** The str mapping key. */ 64 private String _strMappingKey; 65 66 /** The str description. */ 67 private String _strDescription; 68 69 70 /** 71 * Gets the attribute key. 72 * 73 * @return the attribute key 74 */ 75 public String getAttributeKey() { 76 return _strAttributeKey; 77 } 78 79 /** 80 * Sets the attribute key. 81 * 82 * @param strAttributeKey the new attribute key 83 */ 84 public void setAttributeKey(String strAttributeKey) { 85 this._strAttributeKey = strAttributeKey; 86 } 87 88 /** 89 * Gets the mapping key. 90 * 91 * @return the mapping key 92 */ 93 public String getMappingKey() { 94 return _strMappingKey; 95 } 96 97 /** 98 * Sets the mapping key. 99 * 100 * @param strMappingKey the new mapping key 101 */ 102 public void setMappingKey(String strMappingKey) { 103 this._strMappingKey = strMappingKey; 104 } 105 106 /** 107 * Gets the description. 108 * 109 * @return the description 110 */ 111 public String getDescription() { 112 return _strDescription; 113 } 114 115 /** 116 * Sets the description. 117 * 118 * @param strDescription the new description 119 */ 120 public void setDescription(String strDescription) { 121 this._strDescription = strDescription; 122 } 123 }