Interface TextModuleNodeModifier<T extends TextModuleNode & MasterEntity>
- All Superinterfaces:
Modifier<T>
- All Known Subinterfaces:
TextModuleFirstLevelGroupModifier,TextModuleGroupModifier<T>,TextModuleModifier,TextModuleSecondLevelGroupModifier
public interface TextModuleNodeModifier<T extends TextModuleNode & MasterEntity>
extends Modifier<T>
Defines an API to modify an instance of type
TextModuleNode- Since:
- 10.0.206
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the current textmodule node name which is held in thisTextModuleNodeModifier.Change the name of the associatedTextModuleNode.booleanvalidateName(String name) Validate the given name.
-
Method Details
-
getName
String getName()Get the current textmodule node name which is held in thisTextModuleNodeModifier.- Returns:
- the name as String
- Since:
- 10.0.206
-
setName
Change the name of the associated
TextModuleNode.The change is applied after the
Modifier.write()method is called.- Parameters:
name- the new name as String- Returns:
- the
TextModuleNodeModifier - Throws:
ValidationException- if the new name is invalid- Since:
- 10.0.206
-
validateName
Validate the given name.- Parameters:
name- the name to validate as String- Returns:
- true if the name is valid
- Throws:
ValidationException- if the name is invalid- Since:
- 10.0.206
-