org.broadleafcommerce.cms.structure.domain
Class StructuredContentFieldImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.structure.domain.StructuredContentFieldImpl
All Implemented Interfaces:
Serializable, StructuredContentField

@Entity
public class StructuredContentFieldImpl
extends Object
implements StructuredContentField

Created by bpolster.

See Also:
Serialized Form

Field Summary
protected  AdminAuditable auditable
           
protected  String fieldKey
           
protected  Long id
           
protected  String lobValue
           
protected  String stringValue
           
 
Constructor Summary
StructuredContentFieldImpl()
           
 
Method Summary
 AdminAuditable getAuditable()
          Returns audit information for this content item.
 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 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 setValue(String value)
          Returns the value for this custom field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

auditable

protected AdminAuditable auditable

fieldKey

protected String fieldKey

stringValue

protected String stringValue

lobValue

protected String lobValue
Constructor Detail

StructuredContentFieldImpl

public StructuredContentFieldImpl()
Method Detail

getId

public Long getId()
Description copied from interface: StructuredContentField
Gets the primary key.

Specified by:
getId in interface StructuredContentField
Returns:
the primary key

setId

public void setId(Long id)
Description copied from interface: StructuredContentField
Sets the primary key.

Specified by:
setId in interface StructuredContentField
Parameters:
id - the new primary key

getFieldKey

public String getFieldKey()
Description copied from interface: StructuredContentField
Returns the fieldKey associated with this field. The key used for a 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".

Specified by:
getFieldKey in interface StructuredContentField
Returns:
the key associated with this item
See Also:
FieldDefinition

setFieldKey

public void setFieldKey(String fieldKey)
Description copied from interface: StructuredContentField
Sets the fieldKey.

Specified by:
setFieldKey in interface StructuredContentField
See Also:
FieldDefinition

getValue

public String getValue()
Description copied from interface: StructuredContentField
Sets the value of this custom field.

Specified by:
getValue in interface StructuredContentField
Returns:

setValue

public void setValue(String value)
Description copied from interface: StructuredContentField
Returns the value for this custom field.

Specified by:
setValue in interface StructuredContentField

getAuditable

public AdminAuditable getAuditable()
Description copied from interface: StructuredContentField
Returns audit information for this content item.

Specified by:
getAuditable in interface StructuredContentField
Returns:

setAuditable

public void setAuditable(AdminAuditable auditable)
Description copied from interface: StructuredContentField
Sets audit information for this content item. Default implementations automatically populate this data during persistence.

Specified by:
setAuditable in interface StructuredContentField


Copyright © 2013. All Rights Reserved.