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.portal.model.BaseModel<com.liferay.counter.model.Counter>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.counter.model.Counter>
Direct Known Subclasses:
CounterImpl

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

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the Counter table in the database.

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

Field Summary
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.String getName()
           
 java.lang.String getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 int hashCode()
           
 void setCurrentId(long currentId)
           
 void setName(java.lang.String name)
           
 void setPrimaryKey(java.lang.String pk)
           
 com.liferay.counter.model.Counter toEscapedModel()
           
static com.liferay.counter.model.Counter toModel(com.liferay.counter.model.CounterSoap soapModel)
           
static java.util.List<com.liferay.counter.model.Counter> toModels(com.liferay.counter.model.CounterSoap[] soapModels)
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setExpandoBridgeAttributes, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

CounterModelImpl

public CounterModelImpl()
Method Detail

toModel

public static com.liferay.counter.model.Counter toModel(com.liferay.counter.model.CounterSoap soapModel)

toModels

public static java.util.List<com.liferay.counter.model.Counter> toModels(com.liferay.counter.model.CounterSoap[] soapModels)

getPrimaryKey

public java.lang.String getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(java.lang.String pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getCurrentId

public long getCurrentId()

setCurrentId

public void setCurrentId(long currentId)

toEscapedModel

public com.liferay.counter.model.Counter toEscapedModel()

clone

public java.lang.Object clone()
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)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()