Interface Data
- All Superinterfaces:
Iterable<DataValue>
,MultiPageParamsProvider
Deprecated.
This interface provides methods to handle Data containers.
- Since:
- 2.3
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String name, UserService userService, @Nullable Element value) Deprecated.since 5.2.21 - see typecreateDataValue
(String name) Deprecated.since 5.2.21 - see typeget
(int index) Deprecated.since 5.2.21 - see type@Nullable DataValue
Deprecated.since 5.2.21 - see typeDeprecated.since 5.2.21 - see type@Nullable Monoglot
Deprecated.since 5.2.510, no replacement@Nullable MultiPageParams
getMultiPageParams
(@NotNull Language language) Deprecated.Since 5.0.104, no replacement.Deprecated.since 5.2.21 - see typeint
getSize()
Deprecated.since 5.2.21 - see typeDeprecated.since 5.2.21 - see typeboolean
hasData()
Deprecated.since 5.2.21 - see typeint
Deprecated.since 5.2.21 - see typeboolean
Deprecated.since 5.2.21 - see typeboolean
isMeta()
Deprecated.since 5.2.21 - see typeboolean
Deprecated.since 5.2.21 - see typeboolean
isValid()
Deprecated.since 5.2.21 - see typeiterator()
Deprecated.since 5.2.21 - see typeboolean
Deprecated.since 5.2.21 - see type@NotNull String
toXml()
Deprecated.since 5.2.21 - see typeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
remove
Deprecated.since 5.2.21 - see typeRemove a single instance of the specified DataValue from the current Data-object- Parameters:
o
- DataValue to be removed from the Data-object, if present- Returns:
- true if the Data-object changed as a result of the call
- Since:
- 2.3
-
createDataValue
Deprecated.since 5.2.21 - see typeCreate a newDataValue
object for the given name.- Parameters:
name
- name of the new DataValue- Returns:
- new DataValue object
- Since:
- 2.3
-
create
@Deprecated DataValue create(String name, UserService userService, @Nullable @Nullable Element value) throws ClassCastException, InstantiationException, IllegalAccessException, ClassNotFoundException Deprecated.since 5.2.21 - see typeCreate a newDataValue
instance as child of this data objectinitializing the child with the respectiveEditorValue
.- Parameters:
name
- The name of the value.userService
- The user service to us.value
- The parsed DataValue element (maybe null).- Returns:
- The new child.
- Throws:
ClassCastException
- If creating the data value went wrong.ClassNotFoundException
- If creating the data value went wrong.IllegalAccessException
- If creating the data value went wrong.InstantiationException
- If creating the data value went wrong.- Since:
- 4.0.17
-
get
Deprecated.since 5.2.21 - see typeGet a data value object by its variable name.- Parameters:
name
- the variable name- Returns:
- the data value object or null if the variable name is unknown
- Since:
- 2.3.24
-
toXml
Deprecated.since 5.2.21 - see typeGet the XML-structure of the current Data-object- Returns:
- XML-structure as a string
- Since:
- 2.3
-
getGomProvider
Deprecated.since 5.2.21 - see typeGet the provider of the GUI structure for this data object.- Returns:
- The GUI provider.
- Since:
- 4.0.17
-
getVariableNames
Deprecated.since 5.2.21 - see type- Returns:
- a list of valid variable names or null
- Since:
- 2.3.25
-
get
Deprecated.since 5.2.21 - see typeReturn DataValue specified by a index.- Parameters:
index
- The index to look up.- Returns:
- the data value
- Throws:
IndexOutOfBoundsException
- If the index is out of bounds.- Since:
- 3.0.115
-
indexOf
Deprecated.since 5.2.21 - see typeReturn index of a named variable.- Parameters:
name
- the variable name- Returns:
- index or -1 if unknown
- Since:
- 3.0.115
-
iterator
Deprecated.since 5.2.21 - see typeIterates over availableDataValue
's. The returned iterator does not supportIterator.remove()
! -
getSize
Deprecated.since 5.2.21 - see typeGet the number of available DataValue entries.- Returns:
- The counted entries.
- Since:
- 3.0.115
-
hasData
Deprecated.since 5.2.21 - see typeIndicates that the data instance has any set value, i.e., there is at least oneDataValue
whereDataValue.getEditor().isSet()
evaluates totrue
.- Returns:
true
, iff some value is set.- Since:
- 4.0.120
-
isRelease
Deprecated.since 5.2.21 - see typeIndicates the data's source is released.- Returns:
true
, if released.- Since:
- 3.1.158
-
getReferences
Deprecated.since 5.2.21 - see typeProvides references within the data's values.- Returns:
- The collected references.
- Since:
- 3.1.158
-
isMeta
Deprecated.since 5.2.21 - see typeIndicates the data's source to represent meta information.- Returns:
true
if the held data is meta data.- Since:
- 4.0.17
-
isDefault
Deprecated.since 5.2.21 - see typeIndicates, that this data object represents a default data container.- Returns:
true
, iff the held data are default data.- Since:
- 4.0.17
-
isValid
Deprecated.since 5.2.21 - see typeIndicates, whether the data values are valid wrt. its GOM, e.g., if all mandatory values are set.- Returns:
true
, if valid.- Since:
- 3.1.358
-
getMultiPageParams
@Nullable @Deprecated @Nullable MultiPageParams getMultiPageParams(@NotNull @NotNull Language language) Deprecated.Since 5.0.104, no replacement.Returns alwaysnull
. The method and the inheritance ofMultiPageParamsProvider
will be removedin a future version.- Specified by:
getMultiPageParams
in interfaceMultiPageParamsProvider
- Returns:
null
- Since:
- 4.0
-
getMonoglot
Deprecated.since 5.2.510, no replacementProvides the monoglot object indicating that only a single language is to be edited in the data hierarchy from this point on. If the indicator provides a language, entries must no longer be polyglot.- Returns:
- A monoglot indicator.
- Since:
- 5.2.510
-
FormData
as appropriate