com.liferay.counter.model.impl
Class CounterModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>
      extended by com.liferay.counter.model.impl.CounterModelImpl
All Implemented Interfaces:
com.liferay.counter.model.CounterModel, com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>, com.liferay.portal.model.ClassedModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.counter.model.Counter>
Direct Known Subclasses:
CounterBaseImpl

public class CounterModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>
implements com.liferay.counter.model.CounterModel

The base model implementation for the Counter service. Represents a row in the "Counter" database table, with each column mapped to a property of this class.

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

Author:
Brian Wing Shun Chan
See Also:
CounterImpl, Counter, CounterModel, Serialized Form
Generated:

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static java.lang.String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
 
Constructor Summary
CounterModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.counter.model.Counter counter)
           
 boolean equals(java.lang.Object obj)
           
 long getCurrentId()
           
 java.lang.Class<?> getModelClass()
           
 java.lang.String getModelClassName()
           
 java.lang.String getName()
           
 java.lang.String getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 int hashCode()
           
 void resetOriginalValues()
           
 void setCurrentId(long currentId)
           
 void setName(java.lang.String name)
           
 void setPrimaryKey(java.lang.String primaryKey)
           
 void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
           
 com.liferay.portal.model.CacheModel<com.liferay.counter.model.Counter> toCacheModel()
           
 com.liferay.counter.model.Counter toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.counter.model.CounterModel
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setNew
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

CounterModelImpl

public CounterModelImpl()
Method Detail

getPrimaryKey

public java.lang.String getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.counter.model.CounterModel

setPrimaryKey

public void setPrimaryKey(java.lang.String primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.counter.model.CounterModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.counter.model.CounterModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel

setPrimaryKeyObj

public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.counter.model.CounterModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel

getModelClass

public java.lang.Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel

getModelClassName

public java.lang.String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel

getName

public java.lang.String getName()
Specified by:
getName in interface com.liferay.counter.model.CounterModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface com.liferay.counter.model.CounterModel

getCurrentId

public long getCurrentId()
Specified by:
getCurrentId in interface com.liferay.counter.model.CounterModel

setCurrentId

public void setCurrentId(long currentId)
Specified by:
setCurrentId in interface com.liferay.counter.model.CounterModel

toEscapedModel

public com.liferay.counter.model.Counter toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.counter.model.CounterModel
Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>
Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.counter.model.CounterModel
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>

compareTo

public int compareTo(com.liferay.counter.model.Counter counter)
Specified by:
compareTo in interface com.liferay.counter.model.CounterModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.counter.model.Counter>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.counter.model.CounterModel
Overrides:
hashCode in class java.lang.Object

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>
Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>

toCacheModel

public com.liferay.portal.model.CacheModel<com.liferay.counter.model.Counter> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.counter.model.CounterModel
Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>
Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>

toString

public java.lang.String toString()
Specified by:
toString in interface com.liferay.counter.model.CounterModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface com.liferay.counter.model.CounterModel
Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>