Package de.xima.fc.form.common.models
Class FormThemeReference.System
- java.lang.Object
-
- de.xima.fc.form.common.models.FormThemeReference
-
- de.xima.fc.form.common.models.FormThemeReference.System
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FormThemeReference
public static final class FormThemeReference.System extends FormThemeReference
A form theme reference to a system form theme, i.e. a form theme that is provided by the formcycle application. System form themes are not editable by users.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.form.common.models.FormThemeReference
FormThemeReference.ClientFormTheme, FormThemeReference.DefaultMatcher<R,E extends Throwable>, FormThemeReference.FormThemePlugin, FormThemeReference.FormThemeReferenceDeserializer, FormThemeReference.Matcher<R,E extends Throwable>, FormThemeReference.System
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
canonicalPayloadPartsLength()
Gets the length of the parts representing the payload of this reference, i.e.FormThemeReference
copy()
Creates a copy of this form theme reference.boolean
equals(Object o)
protected void
fillCanonicalPayloadParts(String[] parts, int offset)
ESystemFormThemeType
getType()
Get the type of the system form theme referenced by this instance.int
hashCode()
EFormThemeReferenceKind
kind()
Gets the enum constant that represents the kind of this form theme reference.String
toCanonicalPayloadString()
Converts this form theme reference to its canonical string representation.String
toSimpleName()
Gets a simple name describing this reference.String
toString()
-
Methods inherited from class de.xima.fc.form.common.models.FormThemeReference
canonicalPartsLength, clientFormTheme, clone, formThemePlugin, matchFormThemeReference, ofAttributeMap, ofCanonicalParts, ofCanonicalPartsOrNull, ofCanonicalPayloadParts, ofCanonicalPayloadPartsOrNull, ofCanonicalPayloadString, ofCanonicalPayloadStringOrNull, ofCanonicalString, ofCanonicalStringOrNull, system, systemClassic, systemModern, toAttributeMap, toCanonicalParts, toCanonicalPayloadParts, toCanonicalString
-
-
-
-
Method Detail
-
canonicalPayloadPartsLength
public int canonicalPayloadPartsLength()
Description copied from class:FormThemeReference
Gets the length of the parts representing the payload of this reference, i.e. the length of the array returned byFormThemeReference.toCanonicalPayloadParts()
. The payload is the data of this reference, without theFormThemeReference.kind()
.- Specified by:
canonicalPayloadPartsLength
in classFormThemeReference
- Returns:
- The length of the parts representing this reference.
-
copy
public FormThemeReference copy()
Description copied from class:FormThemeReference
Creates a copy of this form theme reference.- Specified by:
copy
in classFormThemeReference
- Returns:
- A copy of this form theme reference.
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classFormThemeReference
-
getType
public ESystemFormThemeType getType()
Get the type of the system form theme referenced by this instance.- Returns:
- The type of the system form theme.
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classFormThemeReference
-
kind
public EFormThemeReferenceKind kind()
Description copied from class:FormThemeReference
Gets the enum constant that represents the kind of this form theme reference.- Specified by:
kind
in classFormThemeReference
- Returns:
- The kind of the form theme reference.
-
toCanonicalPayloadString
public String toCanonicalPayloadString()
Description copied from class:FormThemeReference
Converts this form theme reference to its canonical string representation. Only includes the data of this particularFormThemeReference.kind()
of reference, does not include data regarding which kind of reference this is.- Specified by:
toCanonicalPayloadString
in classFormThemeReference
- Returns:
- The canonical string representation of the form theme reference.
- See Also:
FormThemeReference.toCanonicalParts()
-
toSimpleName
public String toSimpleName()
Description copied from class:FormThemeReference
Gets a simple name describing this reference. Should not be used for any purposes other than to pretty-print the reference.- Specified by:
toSimpleName
in classFormThemeReference
- Returns:
- A simple name describing this reference.
-
fillCanonicalPayloadParts
protected void fillCanonicalPayloadParts(String[] parts, int offset)
- Specified by:
fillCanonicalPayloadParts
in classFormThemeReference
-
-