@Entity public class StructuredContentFieldImpl extends Object implements StructuredContentField
Modifier and Type | Field and Description |
---|---|
protected AdminAuditable |
auditable |
protected String |
fieldKey |
protected Long |
id |
protected String |
lobValue |
protected String |
stringValue |
protected StructuredContent |
structuredContent |
Constructor and Description |
---|
StructuredContentFieldImpl() |
Modifier and Type | Method and Description |
---|---|
StructuredContentField |
cloneEntity()
Builds a copy of this item.
|
AdminAuditable |
getAuditable()
Returns audit information for this content item.
|
String |
getFieldKey()
Returns the fieldKey associated with this field.
|
Long |
getId()
Gets the primary key.
|
StructuredContent |
getStructuredContent()
Returns the parent
StructuredContent item to which this
field belongs. |
String |
getValue()
Sets the value of this custom field.
|
void |
setAuditable(AdminAuditable auditable)
Sets audit information for this content item.
|
void |
setFieldKey(String fieldKey)
Sets the fieldKey.
|
void |
setId(Long id)
Sets the primary key.
|
void |
setStructuredContent(StructuredContent structuredContent)
Sets the parent
StructuredContent item. |
void |
setValue(String value)
Returns the value for this custom field.
|
protected Long id
protected AdminAuditable auditable
protected String fieldKey
protected StructuredContent structuredContent
protected String stringValue
protected String lobValue
public Long getId()
StructuredContentField
getId
in interface StructuredContentField
public void setId(Long id)
StructuredContentField
setId
in interface StructuredContentField
id
- the new primary keypublic String getFieldKey()
StructuredContentField
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".getFieldKey
in interface StructuredContentField
FieldDefinition
public void setFieldKey(String fieldKey)
StructuredContentField
setFieldKey
in interface StructuredContentField
FieldDefinition
public StructuredContent getStructuredContent()
StructuredContentField
StructuredContent
item to which this
field belongs.getStructuredContent
in interface StructuredContentField
public void setStructuredContent(StructuredContent structuredContent)
StructuredContentField
StructuredContent
item.setStructuredContent
in interface StructuredContentField
public String getValue()
StructuredContentField
getValue
in interface StructuredContentField
public void setValue(String value)
StructuredContentField
setValue
in interface StructuredContentField
public StructuredContentField cloneEntity()
StructuredContentField
cloneEntity
in interface StructuredContentField
public AdminAuditable getAuditable()
StructuredContentField
getAuditable
in interface StructuredContentField
public void setAuditable(AdminAuditable auditable)
StructuredContentField
setAuditable
in interface StructuredContentField
Copyright © 2014. All rights reserved.