Class DDMFieldWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMField>
com.liferay.dynamic.data.mapping.model.DDMFieldWrapper
All Implemented Interfaces:
DDMField, DDMFieldModel, com.liferay.portal.kernel.model.BaseModel<DDMField>, com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<DDMField>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<DDMField>

public class DDMFieldWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMField> implements DDMField, com.liferay.portal.kernel.model.ModelWrapper<DDMField>

This class is a wrapper for DDMField.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.dynamic.data.mapping.model.DDMField

    FIELD_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    long
    Returns the company ID of this ddm field.
    long
    Returns the ct collection ID of this ddm field.
    long
    Returns the field ID of this ddm field.
    Returns the field name of this ddm field.
    Returns the field type of this ddm field.
    Returns the instance ID of this ddm field.
    boolean
    Returns the localizable of this ddm field.
     
    long
    Returns the mvcc version of this ddm field.
    long
    Returns the parent field ID of this ddm field.
    long
    Returns the primary key of this ddm field.
    int
    Returns the priority of this ddm field.
    long
    Returns the storage ID of this ddm field.
    long
    Returns the structure version ID of this ddm field.
    boolean
    Returns true if this ddm field is localizable.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this ddm field.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this ddm field.
    void
    setFieldId(long fieldId)
    Sets the field ID of this ddm field.
    void
    setFieldName(String fieldName)
    Sets the field name of this ddm field.
    void
    setFieldType(String fieldType)
    Sets the field type of this ddm field.
    void
    setInstanceId(String instanceId)
    Sets the instance ID of this ddm field.
    void
    setLocalizable(boolean localizable)
    Sets whether this ddm field is localizable.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this ddm field.
    void
    setParentFieldId(long parentFieldId)
    Sets the parent field ID of this ddm field.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this ddm field.
    void
    setPriority(int priority)
    Sets the priority of this ddm field.
    void
    setStorageId(long storageId)
    Sets the storage ID of this ddm field.
    void
    setStructureVersionId(long structureVersionId)
    Sets the structure version ID of this ddm field.
     
    protected DDMFieldWrapper
    wrap(DDMField ddmField)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper

    getWrappedModel
  • Constructor Details

    • DDMFieldWrapper

      public DDMFieldWrapper(DDMField ddmField)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMField>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMField>
    • cloneWithOriginalValues

      public DDMField cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<DDMField>
      Specified by:
      cloneWithOriginalValues in interface DDMFieldModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this ddm field.
      Specified by:
      getCompanyId in interface DDMFieldModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this ddm field
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this ddm field.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>
      Specified by:
      getCtCollectionId in interface DDMFieldModel
      Returns:
      the ct collection ID of this ddm field
    • getFieldId

      public long getFieldId()
      Returns the field ID of this ddm field.
      Specified by:
      getFieldId in interface DDMFieldModel
      Returns:
      the field ID of this ddm field
    • getFieldName

      public String getFieldName()
      Returns the field name of this ddm field.
      Specified by:
      getFieldName in interface DDMFieldModel
      Returns:
      the field name of this ddm field
    • getFieldType

      public String getFieldType()
      Returns the field type of this ddm field.
      Specified by:
      getFieldType in interface DDMFieldModel
      Returns:
      the field type of this ddm field
    • getInstanceId

      public String getInstanceId()
      Returns the instance ID of this ddm field.
      Specified by:
      getInstanceId in interface DDMFieldModel
      Returns:
      the instance ID of this ddm field
    • getLocalizable

      public boolean getLocalizable()
      Returns the localizable of this ddm field.
      Specified by:
      getLocalizable in interface DDMFieldModel
      Returns:
      the localizable of this ddm field
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this ddm field.
      Specified by:
      getMvccVersion in interface DDMFieldModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this ddm field
    • getParentFieldId

      public long getParentFieldId()
      Returns the parent field ID of this ddm field.
      Specified by:
      getParentFieldId in interface DDMFieldModel
      Returns:
      the parent field ID of this ddm field
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this ddm field.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>
      Specified by:
      getPrimaryKey in interface DDMFieldModel
      Returns:
      the primary key of this ddm field
    • getPriority

      public int getPriority()
      Returns the priority of this ddm field.
      Specified by:
      getPriority in interface DDMFieldModel
      Returns:
      the priority of this ddm field
    • getStorageId

      public long getStorageId()
      Returns the storage ID of this ddm field.
      Specified by:
      getStorageId in interface DDMFieldModel
      Returns:
      the storage ID of this ddm field
    • getStructureVersionId

      public long getStructureVersionId()
      Returns the structure version ID of this ddm field.
      Specified by:
      getStructureVersionId in interface DDMFieldModel
      Returns:
      the structure version ID of this ddm field
    • isLocalizable

      public boolean isLocalizable()
      Returns true if this ddm field is localizable.
      Specified by:
      isLocalizable in interface DDMFieldModel
      Returns:
      true if this ddm field is localizable; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this ddm field.
      Specified by:
      setCompanyId in interface DDMFieldModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this ddm field
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ddm field.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>
      Specified by:
      setCtCollectionId in interface DDMFieldModel
      Parameters:
      ctCollectionId - the ct collection ID of this ddm field
    • setFieldId

      public void setFieldId(long fieldId)
      Sets the field ID of this ddm field.
      Specified by:
      setFieldId in interface DDMFieldModel
      Parameters:
      fieldId - the field ID of this ddm field
    • setFieldName

      public void setFieldName(String fieldName)
      Sets the field name of this ddm field.
      Specified by:
      setFieldName in interface DDMFieldModel
      Parameters:
      fieldName - the field name of this ddm field
    • setFieldType

      public void setFieldType(String fieldType)
      Sets the field type of this ddm field.
      Specified by:
      setFieldType in interface DDMFieldModel
      Parameters:
      fieldType - the field type of this ddm field
    • setInstanceId

      public void setInstanceId(String instanceId)
      Sets the instance ID of this ddm field.
      Specified by:
      setInstanceId in interface DDMFieldModel
      Parameters:
      instanceId - the instance ID of this ddm field
    • setLocalizable

      public void setLocalizable(boolean localizable)
      Sets whether this ddm field is localizable.
      Specified by:
      setLocalizable in interface DDMFieldModel
      Parameters:
      localizable - the localizable of this ddm field
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this ddm field.
      Specified by:
      setMvccVersion in interface DDMFieldModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this ddm field
    • setParentFieldId

      public void setParentFieldId(long parentFieldId)
      Sets the parent field ID of this ddm field.
      Specified by:
      setParentFieldId in interface DDMFieldModel
      Parameters:
      parentFieldId - the parent field ID of this ddm field
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this ddm field.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>
      Specified by:
      setPrimaryKey in interface DDMFieldModel
      Parameters:
      primaryKey - the primary key of this ddm field
    • setPriority

      public void setPriority(int priority)
      Sets the priority of this ddm field.
      Specified by:
      setPriority in interface DDMFieldModel
      Parameters:
      priority - the priority of this ddm field
    • setStorageId

      public void setStorageId(long storageId)
      Sets the storage ID of this ddm field.
      Specified by:
      setStorageId in interface DDMFieldModel
      Parameters:
      storageId - the storage ID of this ddm field
    • setStructureVersionId

      public void setStructureVersionId(long structureVersionId)
      Sets the structure version ID of this ddm field.
      Specified by:
      setStructureVersionId in interface DDMFieldModel
      Parameters:
      structureVersionId - the structure version ID of this ddm field
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface DDMFieldModel
    • getAttributeGetterFunctions

      public Map<String,Function<DDMField,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<DDMField>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<DDMField,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<DDMField>
    • wrap

      protected DDMFieldWrapper wrap(DDMField ddmField)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMField>