public interface ModifiableRepositoryData extends RepositoryData
Modifier and Type | Field and Description |
---|---|
static Pattern |
DATA_NAME_PATTERN
The data path pattern to test validity
|
BOOLEAN_REPOSITORY_DATA_TYPE, CALENDAR_REPOSITORY_DATA_TYPE, DOUBLE_REPOSITORY_DATA_TYPE, LONG_REPOSITORY_DATA_TYPE, STREAM_REPOSITORY_DATA_TYPE, STRING_REPOSITORY_DATA_TYPE
Modifier and Type | Method and Description |
---|---|
default ModifiableRepositoryData |
addRepositoryData(String name,
String dataTypeName)
Creates a repository data and stores it in the repository with the given name
|
ModifiableRepositoryData |
addRepositoryData(String name,
String dataTypeName,
String prefix)
Creates a repository data and stores it in the repository with the given name
|
default ModifiableRepositoryData |
getRepositoryData(String name)
Retrieves the value of the repository data stored in the repository with the given name
|
ModifiableRepositoryData |
getRepositoryData(String name,
String prefix)
Retrieves the value of the repository data stored in the repository with the given name
|
default void |
removeValue(String name)
Removes the value of the data stored in the repository with the given name
|
void |
removeValue(String name,
String prefix)
Removes the value of the data stored in the repository with the given name
|
default void |
rename(String newName)
Rename the current repository data
|
void |
rename(String newName,
String prefix)
Rename the current repository data
|
default void |
setValue(String name,
Boolean value)
Sets the value of the boolean data stored in the repository with the given name
|
void |
setValue(String name,
Boolean value,
String prefix)
Sets the value of the boolean data stored in the repository with the given name
|
default void |
setValue(String name,
Calendar value)
Sets the value of the date data stored in the repository with the given name
|
void |
setValue(String name,
Calendar value,
String prefix)
Sets the value of the date data stored in the repository with the given name
|
default void |
setValue(String name,
Double value)
Sets the value of the double data stored in the repository with the given name
|
void |
setValue(String name,
Double value,
String prefix)
Sets the value of the double data stored in the repository with the given name
|
default void |
setValue(String name,
InputStream value)
Sets the value of the input stream data stored in the repository with the given name
|
void |
setValue(String name,
InputStream value,
String prefix)
Sets the value of the input stream data stored in the repository with the given name
|
default void |
setValue(String name,
Long value)
Sets the value of the long data stored in the repository with the given name
|
void |
setValue(String name,
Long value,
String prefix)
Sets the value of the long data stored in the repository with the given name
|
default void |
setValue(String name,
String value)
Sets the value of the string data stored in the repository with the given name
|
void |
setValue(String name,
String value,
String prefix)
Sets the value of the string data stored in the repository with the given name
|
default void |
setValues(String name,
Boolean[] values)
Sets the values of the multiple boolean data stored in the repository with the given name
|
void |
setValues(String name,
Boolean[] values,
String prefix)
Sets the values of the multiple boolean data stored in the repository with the given name
|
default void |
setValues(String name,
Calendar[] values)
Sets the values of the multiple date data stored in the repository with the given name
|
void |
setValues(String name,
Calendar[] values,
String prefix)
Sets the values of the multiple date data stored in the repository with the given name
|
default void |
setValues(String name,
Double[] values)
Sets the values of the multiple double data stored in the repository with the given name
|
void |
setValues(String name,
Double[] values,
String prefix)
Sets the values of the multiple double data stored in the repository with the given name
|
default void |
setValues(String name,
InputStream[] values)
Sets the values of the multiple input stream data stored in the repository with the given name
|
void |
setValues(String name,
InputStream[] values,
String prefix)
Sets the values of the multiple input stream data stored in the repository with the given name
|
default void |
setValues(String name,
Long[] values)
Sets the values of the multiple long data stored in the repository with the given name
|
void |
setValues(String name,
Long[] values,
String prefix)
Sets the values of the multiple long data stored in the repository with the given name
|
default void |
setValues(String name,
String[] values)
Sets the values of the multiple string data stored in the repository with the given name
|
void |
setValues(String name,
String[] values,
String prefix)
Sets the values of the multiple string data stored in the repository with the given name
|
getAllDataNames, getBoolean, getBoolean, getBooleans, getBooleans, getDataNames, getDataNames, getDate, getDate, getDates, getDates, getDefaultPrefix, getDouble, getDouble, getDoubles, getDoubles, getFullName, getLong, getLong, getLongs, getLongs, getName, getPath, getStream, getStream, getStreamLength, getStreamLength, getStreams, getStreams, getString, getString, getStrings, getStrings, getType, getType, hasValue, hasValue, isMultiple, isMultiple
static final Pattern DATA_NAME_PATTERN
default ModifiableRepositoryData getRepositoryData(String name)
RepositoryData
getRepositoryData
in interface RepositoryData
name
- name of the dataModifiableRepositoryData getRepositoryData(String name, String prefix)
RepositoryData
getRepositoryData
in interface RepositoryData
name
- name of the dataprefix
- prefix of the data name, to use instead of the default one.default ModifiableRepositoryData addRepositoryData(String name, String dataTypeName)
name
- name of the datadataTypeName
- data type name to use on creationModifiableRepositoryData addRepositoryData(String name, String dataTypeName, String prefix)
name
- name of the datadataTypeName
- data type name to use on creationprefix
- prefix of the data name, to use instead of the default one.default void rename(String newName)
newName
- the new namevoid rename(String newName, String prefix)
newName
- the new nameprefix
- prefix of the data name, to use instead of the default one.default void setValue(String name, String value)
name
- name of the datavalue
- the value to setvoid setValue(String name, String value, String prefix)
name
- name of the datavalue
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValues(String name, String[] values)
name
- name of the datavalues
- the value to setvoid setValues(String name, String[] values, String prefix)
name
- name of the datavalues
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValue(String name, Calendar value)
name
- name of the datavalue
- the value to setvoid setValue(String name, Calendar value, String prefix)
name
- name of the datavalue
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValues(String name, Calendar[] values)
name
- name of the datavalues
- the value to setvoid setValues(String name, Calendar[] values, String prefix)
name
- name of the datavalues
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValue(String name, Long value)
name
- name of the datavalue
- the value to setvoid setValue(String name, Long value, String prefix)
name
- name of the datavalue
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValues(String name, Long[] values)
name
- name of the datavalues
- the value to setvoid setValues(String name, Long[] values, String prefix)
name
- name of the datavalues
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValue(String name, Double value)
name
- name of the datavalue
- the value to setvoid setValue(String name, Double value, String prefix)
name
- name of the datavalue
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValues(String name, Double[] values)
name
- name of the datavalues
- the value to setvoid setValues(String name, Double[] values, String prefix)
name
- name of the datavalues
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValue(String name, Boolean value)
name
- name of the datavalue
- the value to setvoid setValue(String name, Boolean value, String prefix)
name
- name of the datavalue
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValues(String name, Boolean[] values)
name
- name of the datavalues
- the value to setvoid setValues(String name, Boolean[] values, String prefix)
name
- name of the datavalues
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValue(String name, InputStream value)
name
- name of the datavalue
- the value to setvoid setValue(String name, InputStream value, String prefix)
name
- name of the datavalue
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void setValues(String name, InputStream[] values)
name
- name of the datavalues
- the value to setvoid setValues(String name, InputStream[] values, String prefix)
name
- name of the datavalues
- the value to setprefix
- prefix of the data name, to use instead of the default one.default void removeValue(String name)
name
- name of the datavoid removeValue(String name, String prefix)
name
- name of the dataprefix
- prefix of the data name, to use instead of the default one.