View Javadoc
1   /*
2    * Copyright (C) 2003-2007 eXo Platform SAS.
3    *
4    * This program is free software; you can redistribute it and/or
5    * modify it under the terms of the GNU Affero General Public License
6    * as published by the Free Software Foundation; either version 3
7    * of the License, or (at your option) any later version.
8    *
9    * This program is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   * GNU General Public License for more details.
13   *
14   * You should have received a copy of the GNU General Public License
15   * along with this program; if not, see<http://www.gnu.org/licenses/>.
16   */
17  package org.exoplatform.services.cms;
18  
19  
20  public class JcrInputProperty {
21  
22    public static final int PROPERTY = 0;
23    public static final int NODE = 1;
24    public static final int SINGLE_VALUE = 0;
25    public static final int MULTI_VALUE = 1;
26    public static final int BYTE_VALUE = 2;
27  
28    private String jcrPath;
29    private int type = PROPERTY;
30    private String nodetype;
31    private String mixintype;
32    private Object value;
33    private int valueType = 0;
34    private String changeInJcrPathParam = null;
35  
36    public String getJcrPath() {
37      return jcrPath;
38    }
39    public void setJcrPath(String jcrPath) {
40      this.jcrPath = jcrPath;
41    }
42    public String getNodetype() {
43      return nodetype;
44    }
45    public void setNodetype(String nodetype) {
46      this.nodetype = nodetype;
47    }
48    public String getMixintype() {
49      return mixintype;
50    }
51    public void setMixintype(String mixintype) {
52      this.mixintype = mixintype;
53    }
54    public int getType() {
55      return type;
56    }
57    public void setType(int type) {
58      this.type = type;
59    }
60  
61    public void setValue(Object value) {
62      this.value = value;
63    }
64    public Object getValue() {
65      return value;
66    }
67  
68    public void setValueType(int type){ valueType = type ; }
69    public int  getValueType(){ return valueType ; }
70    
71    public String getChangeInJcrPathParam() {
72      return changeInJcrPathParam;
73    }
74    
75    public void setChangeInJcrPathParam(String changeInJcrPathParam) {
76      this.changeInJcrPathParam = changeInJcrPathParam;
77    }
78  
79  }