public interface RepositoryModelItemGroupType extends RepositoryModelItemType, ModelItemGroupType
Modifier and Type | Method and Description |
---|---|
default ModifiableRepositoryData |
add(ModifiableRepositoryData parentData,
String name)
Add a group into the given repository data
|
String |
getNodeType()
Retrieves the type of node used for this type
|
default boolean |
isCompatible(RepositoryData parentData,
String name)
Checks if the value in the given repository data is compatible with the item type
|
default RepositoryData |
read(RepositoryData parentData,
String name)
Read the group in the given repository data
|
getId, valueToSAX
setPluginInfo
default RepositoryData read(RepositoryData parentData, String name) throws BadItemTypeException
parentData
- repository data containing the groupname
- the name of the group to readBadItemTypeException
- if the reading value doesn't match this element typedefault ModifiableRepositoryData add(ModifiableRepositoryData parentData, String name)
parentData
- repository where to add the groupname
- the name of the group to adddefault boolean isCompatible(RepositoryData parentData, String name) throws UnknownDataException
RepositoryModelItemType
isCompatible
in interface RepositoryModelItemType
parentData
- repository data containing the data to checkname
- the name of the data to checktrue
if the data type matches the current type, false
otherwiseUnknownDataException
- if there is no data in the parent repository data with this nameString getNodeType()