Package de.xima.fc.appointment
Class FieldName
- java.lang.Object
-
- de.xima.fc.appointment.FieldName
-
- All Implemented Interfaces:
Serializable
,Comparable<FieldName>
public class FieldName extends Object implements Serializable, Comparable<FieldName>
Represents a parsed form field name, with the base name, the suffix, and the repetition index.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
baseNameWithSuffix(String suffix)
int
compareTo(FieldName other)
static FieldName
empty()
boolean
equals(Object obj)
String
getBaseName()
int
getRepetitionIndex()
String
getSubmittedName()
int
hashCode()
boolean
isDynamic()
boolean
isEmpty()
static FieldName
ofFieldValue(String baseName, int repetitionIndex)
String
submittedNameWithSuffix(String suffix)
FieldName
toBaseFieldName()
String
toString()
FieldName
withSuffix(String suffix)
-
-
-
Constructor Detail
-
FieldName
public FieldName(String submittedName)
-
-
Method Detail
-
compareTo
public int compareTo(FieldName other)
- Specified by:
compareTo
in interfaceComparable<FieldName>
-
getBaseName
public String getBaseName()
-
getRepetitionIndex
public int getRepetitionIndex()
-
getSubmittedName
public String getSubmittedName()
-
isDynamic
public boolean isDynamic()
-
isEmpty
public boolean isEmpty()
-
toBaseFieldName
public FieldName toBaseFieldName()
-
empty
public static FieldName empty()
-
-