java.lang.Object
com.liferay.dynamic.data.mapping.storage.Field
All Implemented Interfaces:
Serializable

public class Field extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • addValue

      public void addValue(Locale locale, Serializable value)
    • addValues

      public void addValues(Locale locale, List<Serializable> values)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • getAvailableLocales

      public Set<Locale> getAvailableLocales()
    • getDataType

      public String getDataType() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMStructure

      public DDMStructure getDDMStructure()
    • getDDMStructureId

      public long getDDMStructureId()
    • getDefaultLocale

      public Locale getDefaultLocale()
    • getName

      public String getName()
    • getRenderedValue

      public String getRenderedValue(Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRenderedValue

      public String getRenderedValue(Locale locale, int valueIndex) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getType

      public String getType() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getValue

      public Serializable getValue()
    • getValue

      public Serializable getValue(Locale locale)
    • getValue

      public Serializable getValue(Locale locale, int index)
    • getValues

      public List<Serializable> getValues(Locale locale)
    • getValuesMap

      public Map<Locale,List<Serializable>> getValuesMap()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isPrivate

      public boolean isPrivate()
    • isRepeatable

      public boolean isRepeatable() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • setDDMStructureId

      public void setDDMStructureId(long ddmStructureId)
    • setDefaultLocale

      public void setDefaultLocale(Locale defaultLocale)
    • setName

      public void setName(String name)
    • setValue

      public void setValue(Locale locale, Serializable value)
    • setValue

      public void setValue(Serializable value)
    • setValues

      public void setValues(Locale locale, List<Serializable> values)
    • setValuesMap

      public void setValuesMap(Map<Locale,List<Serializable>> valuesMap)
    • getFieldRenderer

      protected FieldRenderer getFieldRenderer() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException