Class CTSchemaVersionWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTSchemaVersion>
com.liferay.change.tracking.model.CTSchemaVersionWrapper
All Implemented Interfaces:
CTSchemaVersion, CTSchemaVersionModel, com.liferay.portal.kernel.model.BaseModel<CTSchemaVersion>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CTSchemaVersion>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CTSchemaVersion>

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

This class is a wrapper for CTSchemaVersion.

See Also:
Generated:
  • Field Summary

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

    model

    Fields inherited from interface com.liferay.change.tracking.model.CTSchemaVersion

    SCHEMA_VERSION_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this ct schema version.
     
    long
    Returns the mvcc version of this ct schema version.
    long
    Returns the primary key of this ct schema version.
    Returns the schema context of this ct schema version.
    long
    Returns the schema version ID of this ct schema version.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this ct schema version.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this ct schema version.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this ct schema version.
    void
    Sets the schema context of this ct schema version.
    void
    setSchemaVersionId(long schemaVersionId)
    Sets the schema version ID of this ct schema version.
     
    wrap(CTSchemaVersion ctSchemaVersion)
     

    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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, 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

    • CTSchemaVersionWrapper

      public CTSchemaVersionWrapper(CTSchemaVersion ctSchemaVersion)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this ct schema version.
      Specified by:
      getCompanyId in interface CTSchemaVersionModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this ct schema version
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this ct schema version.
      Specified by:
      getMvccVersion in interface CTSchemaVersionModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this ct schema version
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this ct schema version.
      Specified by:
      getPrimaryKey in interface CTSchemaVersionModel
      Returns:
      the primary key of this ct schema version
    • getSchemaContext

      public Map<String,Serializable> getSchemaContext()
      Returns the schema context of this ct schema version.
      Specified by:
      getSchemaContext in interface CTSchemaVersionModel
      Returns:
      the schema context of this ct schema version
    • getSchemaVersionId

      public long getSchemaVersionId()
      Returns the schema version ID of this ct schema version.
      Specified by:
      getSchemaVersionId in interface CTSchemaVersionModel
      Returns:
      the schema version ID of this ct schema version
    • 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 ct schema version.
      Specified by:
      setCompanyId in interface CTSchemaVersionModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this ct schema version
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this ct schema version.
      Specified by:
      setMvccVersion in interface CTSchemaVersionModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this ct schema version
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this ct schema version.
      Specified by:
      setPrimaryKey in interface CTSchemaVersionModel
      Parameters:
      primaryKey - the primary key of this ct schema version
    • setSchemaContext

      public void setSchemaContext(Map<String,Serializable> schemaContext)
      Sets the schema context of this ct schema version.
      Specified by:
      setSchemaContext in interface CTSchemaVersionModel
      Parameters:
      schemaContext - the schema context of this ct schema version
    • setSchemaVersionId

      public void setSchemaVersionId(long schemaVersionId)
      Sets the schema version ID of this ct schema version.
      Specified by:
      setSchemaVersionId in interface CTSchemaVersionModel
      Parameters:
      schemaVersionId - the schema version ID of this ct schema version
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CTSchemaVersionModel
    • wrap

      protected CTSchemaVersionWrapper wrap(CTSchemaVersion ctSchemaVersion)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTSchemaVersion>