]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org/argeo/slc/primitive/PrimitiveAccessor.java
1 package org
.argeo
.slc
.primitive
;
3 /** Abstraction of access to primitive values */
4 public interface PrimitiveAccessor
{
5 public final static String TYPE_STRING
= "string";
7 * As of Argeo 1, passwords are NOT stored encrypted, just hidden in the UI,
8 * but stored in plain text in JCR. Use keyring instead.
10 public final static String TYPE_PASSWORD
= "password";
11 public final static String TYPE_INTEGER
= "integer";
12 public final static String TYPE_LONG
= "long";
13 public final static String TYPE_FLOAT
= "float";
14 public final static String TYPE_DOUBLE
= "double";
15 public final static String TYPE_BOOLEAN
= "boolean";
17 public String
getType();
19 public Object
getValue();
21 public void setValue(Object value
);