View Javadoc
1   /*
2    * Copyright (c) 2002-2024, City of Paris
3    * All rights reserved.
4    *
5    * Redistribution and use in source and binary forms, with or without
6    * modification, are permitted provided that the following conditions
7    * are met:
8    *
9    *  1. Redistributions of source code must retain the above copyright notice
10   *     and the following disclaimer.
11   *
12   *  2. Redistributions in binary form must reproduce the above copyright notice
13   *     and the following disclaimer in the documentation and/or other materials
14   *     provided with the distribution.
15   *
16   *  3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17   *     contributors may be used to endorse or promote products derived from
18   *     this software without specific prior written permission.
19   *
20   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23   * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24   * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25   * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26   * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27   * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28   * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30   * POSSIBILITY OF SUCH DAMAGE.
31   *
32   * License 1.0
33   */
34  package fr.paris.lutece.plugins.identitystore.service.indexer.elastic.index.model;
35  
36  import java.sql.Timestamp;
37  
38  public class AttributeObject
39  {
40      private String name;
41      private String key;
42      private String type;
43      private String value;
44      private String description;
45      private boolean pivot;
46      private String certifierCode;
47      private String certifierName;
48      private Timestamp certificateDate;
49      private Timestamp certificateExpirationDate;
50      private String lastUpdateClientCode;
51  
52      public AttributeObject( String name, String key, String type, String value, String description, boolean pivot, String certifierCode, String certifierName,
53              Timestamp certificateDate, Timestamp certificateExpirationDate, String lastUpdateClientCode )
54      {
55          this.name = name;
56          this.key = key;
57          this.type = type;
58          this.value = value;
59          this.description = description;
60          this.pivot = pivot;
61          this.certifierCode = certifierCode;
62          this.certifierName = certifierName;
63          this.certificateDate = certificateDate;
64          this.certificateExpirationDate = certificateExpirationDate;
65          this.lastUpdateClientCode = lastUpdateClientCode;
66      }
67  
68      public AttributeObject( )
69      {
70  
71      }
72  
73      public String getName( )
74      {
75          return name;
76      }
77  
78      public void setName( String name )
79      {
80          this.name = name;
81      }
82  
83      public String getKey( )
84      {
85          return key;
86      }
87  
88      public void setKey( String key )
89      {
90          this.key = key;
91      }
92  
93      public String getType( )
94      {
95          return type;
96      }
97  
98      public void setType( String type )
99      {
100         this.type = type;
101     }
102 
103     public String getValue( )
104     {
105         return value;
106     }
107 
108     public void setValue( String value )
109     {
110         this.value = value;
111     }
112 
113     public String getDescription( )
114     {
115         return description;
116     }
117 
118     public void setDescription( String description )
119     {
120         this.description = description;
121     }
122 
123     public boolean isPivot( )
124     {
125         return pivot;
126     }
127 
128     public void setPivot( boolean pivot )
129     {
130         this.pivot = pivot;
131     }
132 
133     public String getCertifierCode( )
134     {
135         return certifierCode;
136     }
137 
138     public void setCertifierCode( String certifierCode )
139     {
140         this.certifierCode = certifierCode;
141     }
142 
143     public String getCertifierName( )
144     {
145         return certifierName;
146     }
147 
148     public void setCertifierName( String certifierName )
149     {
150         this.certifierName = certifierName;
151     }
152 
153     public Timestamp getCertificateDate( )
154     {
155         return certificateDate;
156     }
157 
158     public void setCertificateDate( Timestamp certificateDate )
159     {
160         this.certificateDate = certificateDate;
161     }
162 
163     public Timestamp getCertificateExpirationDate( )
164     {
165         return certificateExpirationDate;
166     }
167 
168     public void setCertificateExpirationDate( Timestamp certificateExpirationDate )
169     {
170         this.certificateExpirationDate = certificateExpirationDate;
171     }
172 
173     public String getLastUpdateClientCode( )
174     {
175         return lastUpdateClientCode;
176     }
177 
178     public void setLastUpdateClientCode( String lastUpdateClientCode )
179     {
180         this.lastUpdateClientCode = lastUpdateClientCode;
181     }
182 }