Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class DummyImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Dummy>
      extended by com.liferay.portal.model.impl.DummyImpl
All Implemented Interfaces:
BaseModel<Dummy>, ClassedModel, Dummy, DummyModel, Serializable, Cloneable, Comparable<Dummy>

public class DummyImpl
extends BaseModelImpl<Dummy>
implements Dummy

See Also:
Serialized Form

Constructor Summary
DummyImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Dummy dummy)
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean isEntityCacheEnabled()
          Returns true if this model's entity cache is enabled.
 boolean isFinderCacheEnabled()
          Returns true if this model's finder cache is enabled.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getExpandoBridge, getLocale, getModelAttributes, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, toCacheModel, toEscapedModel, toUnescapedModel
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getExpandoBridge, getModelAttributes, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, toCacheModel, toEscapedModel, toUnescapedModel
 

Constructor Detail

DummyImpl

public DummyImpl()
Method Detail

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Dummy>
Specified by:
clone in class BaseModelImpl<Dummy>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(Dummy dummy)
Specified by:
compareTo in interface Comparable<Dummy>

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Dummy>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Returns:
the primary key of this model instance

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's entity cache is enabled.

Specified by:
isEntityCacheEnabled in interface BaseModel<Dummy>
Returns:
true if this model's entity cache is enabled; false otherwise

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's finder cache is enabled.

Specified by:
isFinderCacheEnabled in interface BaseModel<Dummy>
Returns:
true if this model's finder cache is enabled; false otherwise

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<Dummy>
Overrides:
resetOriginalValues in class BaseModelImpl<Dummy>

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<Dummy>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Parameters:
primaryKeyObj - the primary key of this model instance

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Dummy>
Returns:
the XML representation of this model instance

Liferay 7.0-ce-b4