public interface StructuredContentField extends Serializable, Cloneable, MultiTenantCloneable<StructuredContentField>
StructuredContent item.
FieldDefinitions associated
with the StructuredContentType.StructuredContentType,
FieldDefinition| Modifier and Type | Method and Description |
|---|---|
StructuredContentField |
clone() |
String |
getFieldKey()
Returns the fieldKey associated with this field.
|
Long |
getId()
Gets the primary key.
|
String |
getValue()
Sets the value of this custom field.
|
void |
setFieldKey(String fieldKey)
Sets the fieldKey.
|
void |
setId(Long id)
Sets the primary key.
|
void |
setValue(String value)
Returns the value for this custom field.
|
createOrRetrieveCopyInstance@Nonnull String getFieldKey()
StructuredContentField is determined by the associated
FieldDefinition that was used by the
Content Management System to create this instance.
As an example, a StructuredContentType might be configured to contain a
field definition with a key of "targetUrl".FieldDefinitionvoid setFieldKey(@Nonnull String fieldKey)
fieldKey - FieldDefinitionvoid setValue(@Nonnull String value)
value - StructuredContentField clone()
Copyright © 2019. All rights reserved.