Class ExpandoTableModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.expando.kernel.model.ExpandoTable>
com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl
All Implemented Interfaces:
com.liferay.expando.kernel.model.ExpandoTableModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.expando.kernel.model.ExpandoTable>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<com.liferay.expando.kernel.model.ExpandoTable>
Direct Known Subclasses:
ExpandoTableBaseImpl

@JSON(strict=true) public class ExpandoTableModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.expando.kernel.model.ExpandoTable> implements com.liferay.expando.kernel.model.ExpandoTableModel
The base model implementation for the ExpandoTable service. Represents a row in the "ExpandoTable" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface ExpandoTableModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoTableImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

  • Constructor Details

    • ExpandoTableModelImpl

      public ExpandoTableModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.expando.kernel.model.ExpandoTable>
      Specified by:
      getPrimaryKey in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.expando.kernel.model.ExpandoTable>
      Specified by:
      setPrimaryKey in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • setPrimaryKeyObj

      public void setPrimaryKeyObj(Serializable primaryKeyObj)
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClass

      public Class<?> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClassName

      public String getModelClassName()
      Specified by:
      getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Overrides:
      getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.expando.kernel.model.ExpandoTable>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Overrides:
      setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.expando.kernel.model.ExpandoTable>
    • getAttributeGetterFunctions

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

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

      @JSON public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.expando.kernel.model.ExpandoTableModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Specified by:
      setMvccVersion in interface com.liferay.expando.kernel.model.ExpandoTableModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
    • getCtCollectionId

      @JSON public long getCtCollectionId()
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.expando.kernel.model.ExpandoTable>
      Specified by:
      getCtCollectionId in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.expando.kernel.model.ExpandoTable>
      Specified by:
      setCtCollectionId in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • getTableId

      @JSON public long getTableId()
      Specified by:
      getTableId in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • setTableId

      public void setTableId(long tableId)
      Specified by:
      setTableId in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • getCompanyId

      @JSON public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.expando.kernel.model.ExpandoTableModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Specified by:
      setCompanyId in interface com.liferay.expando.kernel.model.ExpandoTableModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
    • getOriginalCompanyId

      @Deprecated public long getOriginalCompanyId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface com.liferay.expando.kernel.model.ExpandoTableModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • getClassNameId

      @JSON public long getClassNameId()
      Specified by:
      getClassNameId in interface com.liferay.expando.kernel.model.ExpandoTableModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Specified by:
      setClassNameId in interface com.liferay.expando.kernel.model.ExpandoTableModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • getOriginalClassNameId

      @Deprecated public long getOriginalClassNameId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getName

      @JSON public String getName()
      Specified by:
      getName in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • setName

      public void setName(String name)
      Specified by:
      setName in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • getOriginalName

      @Deprecated public String getOriginalName()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getColumnBitmask

      public long getColumnBitmask()
    • toEscapedModel

      public com.liferay.expando.kernel.model.ExpandoTable toEscapedModel()
      Specified by:
      toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Overrides:
      toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.expando.kernel.model.ExpandoTable>
    • clone

      public Object clone()
      Specified by:
      clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Specified by:
      clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.expando.kernel.model.ExpandoTable>
    • cloneWithOriginalValues

      public com.liferay.expando.kernel.model.ExpandoTable cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Specified by:
      cloneWithOriginalValues in interface com.liferay.expando.kernel.model.ExpandoTableModel
    • compareTo

      public int compareTo(com.liferay.expando.kernel.model.ExpandoTable expandoTable)
      Specified by:
      compareTo in interface Comparable<com.liferay.expando.kernel.model.ExpandoTable>
    • equals

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

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

      @Deprecated public boolean isEntityCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
    • isFinderCacheEnabled

      @Deprecated public boolean isFinderCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
    • resetOriginalValues

      public void resetOriginalValues()
      Specified by:
      resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Overrides:
      resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.expando.kernel.model.ExpandoTable>
    • toCacheModel

      public com.liferay.portal.kernel.model.CacheModel<com.liferay.expando.kernel.model.ExpandoTable> toCacheModel()
      Specified by:
      toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.expando.kernel.model.ExpandoTable>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.expando.kernel.model.ExpandoTable>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColumnValue

      public <T> T getColumnValue(String columnName)
    • getColumnOriginalValue

      public <T> T getColumnOriginalValue(String columnName)
    • getColumnBitmask

      public static long getColumnBitmask(String columnName)