Interface ClassNameModel

All Superinterfaces:
BaseModel<ClassName>, ClassedModel, Cloneable, Comparable<ClassName>, MVCCModel, Serializable, TypedModel
All Known Subinterfaces:
ClassName
All Known Implementing Classes:
ClassNameWrapper

@ProviderType public interface ClassNameModel extends BaseModel<ClassName>, MVCCModel, TypedModel
The base model interface for the ClassName service. Represents a row in the "ClassName_" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portal.model.impl.ClassNameModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.ClassNameImpl.

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

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this class name.
      Returns:
      the primary key of this class name
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this class name.
      Parameters:
      primaryKey - the primary key of this class name
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this class name.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this class name
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this class name.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this class name
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this class name.
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this class name
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this class name.
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this class name
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this class name.
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this class name
    • getValue

      @AutoEscape String getValue()
      Returns the value of this class name.
      Returns:
      the value of this class name
    • setValue

      void setValue(String value)
      Sets the value of this class name.
      Parameters:
      value - the value of this class name
    • cloneWithOriginalValues

      ClassName cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<ClassName>
    • toXmlString

      default String toXmlString()