Class CTScoreWrapper

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

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

This class is a wrapper for CTScore.

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.CTScore

    CT_SCORE_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this ct score.
    long
    Returns the ct collection ID of this ct score.
    long
    Returns the ct score ID of this ct score.
     
    long
    Returns the mvcc version of this ct score.
    long
    Returns the primary key of this ct score.
    int
    Returns the score of this ct score.
     
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this ct score.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this ct score.
    void
    setCtScoreId(long ctScoreId)
    Sets the ct score ID of this ct score.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this ct score.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this ct score.
    void
    setScore(int score)
    Sets the score of this ct score.
     
    protected CTScoreWrapper
    wrap(CTScore ctScore)
     

    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

    • CTScoreWrapper

      public CTScoreWrapper(CTScore ctScore)
  • Method Details

    • getModelAttributes

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

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

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

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

      public long getCtCollectionId()
      Returns the ct collection ID of this ct score.
      Specified by:
      getCtCollectionId in interface CTScoreModel
      Returns:
      the ct collection ID of this ct score
    • getCtScoreId

      public long getCtScoreId()
      Returns the ct score ID of this ct score.
      Specified by:
      getCtScoreId in interface CTScoreModel
      Returns:
      the ct score ID of this ct score
    • getMvccVersion

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

      public long getPrimaryKey()
      Returns the primary key of this ct score.
      Specified by:
      getPrimaryKey in interface CTScoreModel
      Returns:
      the primary key of this ct score
    • getScore

      public int getScore()
      Returns the score of this ct score.
      Specified by:
      getScore in interface CTScoreModel
      Returns:
      the score of this ct score
    • getSizeClassification

      public String getSizeClassification()
      Specified by:
      getSizeClassification in interface CTScore
    • 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 score.
      Specified by:
      setCompanyId in interface CTScoreModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this ct score
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ct score.
      Specified by:
      setCtCollectionId in interface CTScoreModel
      Parameters:
      ctCollectionId - the ct collection ID of this ct score
    • setCtScoreId

      public void setCtScoreId(long ctScoreId)
      Sets the ct score ID of this ct score.
      Specified by:
      setCtScoreId in interface CTScoreModel
      Parameters:
      ctScoreId - the ct score ID of this ct score
    • setMvccVersion

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this ct score.
      Specified by:
      setPrimaryKey in interface CTScoreModel
      Parameters:
      primaryKey - the primary key of this ct score
    • setScore

      public void setScore(int score)
      Sets the score of this ct score.
      Specified by:
      setScore in interface CTScoreModel
      Parameters:
      score - the score of this ct score
    • toXmlString

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

      protected CTScoreWrapper wrap(CTScore ctScore)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTScore>