public class ParsedFieldName extends Object
tfName_dyn_container_9
. This data class represents such a name.Modifier and Type | Method and Description |
---|---|
static ParsedFieldName |
forFieldName(String fieldName) |
String |
getContainerName()
If the form element is not repeated, this returns just the
getElementName() . |
int |
getElementIndex() |
String |
getElementName() |
boolean |
isDynamic() |
public String getElementName()
tfName
.public String getContainerName()
getElementName()
. If the form element
is itself repeat, this returns the getElementName()
as well. If the form element is inside a repeated
container, this returns the name of that container.public int getElementIndex()
0
.public boolean isDynamic()
true
if this element is dynamic or is inside a repeated container, false
otherwise.public static ParsedFieldName forFieldName(String fieldName)
fieldName
- A submitted field name to parse.ParsedFieldName
for details.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.