public interface StructuredContentField
extends java.io.Serializable
StructuredContent item.
FieldDefinitions associated
with the StructuredContentType.StructuredContentType,
FieldDefinition| Modifier and Type | Method and Description |
|---|---|
StructuredContentField |
cloneEntity()
Builds a copy of this item.
|
AdminAuditable |
getAuditable()
Returns audit information for this content item.
|
java.lang.String |
getFieldKey()
Returns the fieldKey associated with this field.
|
java.lang.Long |
getId()
Gets the primary key.
|
StructuredContent |
getStructuredContent()
Returns the parent
StructuredContent item to which this
field belongs. |
java.lang.String |
getValue()
Sets the value of this custom field.
|
void |
setAuditable(AdminAuditable auditable)
Sets audit information for this content item.
|
void |
setFieldKey(java.lang.String fieldKey)
Sets the fieldKey.
|
void |
setId(java.lang.Long id)
Sets the primary key.
|
void |
setStructuredContent(StructuredContent structuredContent)
Sets the parent
StructuredContent item. |
void |
setValue(java.lang.String value)
Returns the value for this custom field.
|
@Nullable java.lang.Long getId()
void setId(@Nullable
java.lang.Long id)
id - the new primary key@Nonnull java.lang.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
java.lang.String fieldKey)
fieldKey - FieldDefinition@Nonnull StructuredContent getStructuredContent()
StructuredContent item to which this
field belongs.void setStructuredContent(@Nonnull
StructuredContent structuredContent)
StructuredContent item.structuredContent - @Nonnull StructuredContentField cloneEntity()
void setValue(@Nonnull
java.lang.String value)
value - @Nonnull java.lang.String getValue()
@Nullable AdminAuditable getAuditable()
void setAuditable(@Nullable
AdminAuditable auditable)
auditable - Copyright © 2018. All Rights Reserved.