Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.model.impl
Class DDMStorageLinkModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DDMStorageLink>
      extended by com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl
All Implemented Interfaces:
AttachedModel, BaseModel<DDMStorageLink>, ClassedModel, DDMStorageLinkModel, Serializable, Cloneable, Comparable<DDMStorageLink>
Direct Known Subclasses:
DDMStorageLinkBaseImpl

public class DDMStorageLinkModelImpl
extends BaseModelImpl<DDMStorageLink>
implements DDMStorageLinkModel

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

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

See Also:
DDMStorageLinkImpl, DDMStorageLink, DDMStorageLinkModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String SESSION_FACTORY
           
static long STRUCTUREID_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
DDMStorageLinkModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DDMStorageLink ddmStorageLink)
           
 boolean equals(Object obj)
           
 String getClassName()
          Returns the fully qualified class name of this d d m storage link.
 long getClassNameId()
          Returns the class name ID of this d d m storage link.
 long getClassPK()
          Returns the class p k of this d d m storage link.
 long getColumnBitmask()
           
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getOriginalClassPK()
           
 long getOriginalStructureId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this d d m storage link.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getStorageLinkId()
          Returns the storage link ID of this d d m storage link.
 long getStructureId()
          Returns the structure ID of this d d m storage link.
 String getUuid()
          Returns the uuid of this d d m storage link.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this d d m storage link.
 void setClassPK(long classPK)
          Sets the class p k of this d d m storage link.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this d d m storage link.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setStorageLinkId(long storageLinkId)
          Sets the storage link ID of this d d m storage link.
 void setStructureId(long structureId)
          Sets the structure ID of this d d m storage link.
 void setUuid(String uuid)
          Sets the uuid of this d d m storage link.
 CacheModel<DDMStorageLink> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DDMStorageLink toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 DDMStorageLink toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.dynamicdatamapping.model.DDMStorageLinkModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final 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

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

STRUCTUREID_COLUMN_BITMASK

public static long STRUCTUREID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DDMStorageLinkModelImpl

public DDMStorageLinkModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: DDMStorageLinkModel
Returns the primary key of this d d m storage link.

Specified by:
getPrimaryKey in interface DDMStorageLinkModel
Returns:
the primary key of this d d m storage link

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: DDMStorageLinkModel
Sets the primary key of this d d m storage link.

Specified by:
setPrimaryKey in interface DDMStorageLinkModel
Parameters:
primaryKey - the primary key of this d d m storage link

getPrimaryKeyObj

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

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

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<DDMStorageLink>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DDMStorageLinkModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

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

getModelClassName

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

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<DDMStorageLink>
Overrides:
getModelAttributes in class BaseModelImpl<DDMStorageLink>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DDMStorageLink>
Overrides:
setModelAttributes in class BaseModelImpl<DDMStorageLink>

getUuid

public String getUuid()
Description copied from interface: DDMStorageLinkModel
Returns the uuid of this d d m storage link.

Specified by:
getUuid in interface DDMStorageLinkModel
Returns:
the uuid of this d d m storage link

setUuid

public void setUuid(String uuid)
Description copied from interface: DDMStorageLinkModel
Sets the uuid of this d d m storage link.

Specified by:
setUuid in interface DDMStorageLinkModel
Parameters:
uuid - the uuid of this d d m storage link

getOriginalUuid

public String getOriginalUuid()

getStorageLinkId

public long getStorageLinkId()
Description copied from interface: DDMStorageLinkModel
Returns the storage link ID of this d d m storage link.

Specified by:
getStorageLinkId in interface DDMStorageLinkModel
Returns:
the storage link ID of this d d m storage link

setStorageLinkId

public void setStorageLinkId(long storageLinkId)
Description copied from interface: DDMStorageLinkModel
Sets the storage link ID of this d d m storage link.

Specified by:
setStorageLinkId in interface DDMStorageLinkModel
Parameters:
storageLinkId - the storage link ID of this d d m storage link

getClassName

public String getClassName()
Description copied from interface: DDMStorageLinkModel
Returns the fully qualified class name of this d d m storage link.

Specified by:
getClassName in interface AttachedModel
Specified by:
getClassName in interface DDMStorageLinkModel
Returns:
the fully qualified class name of this d d m storage link

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface DDMStorageLinkModel

getClassNameId

public long getClassNameId()
Description copied from interface: DDMStorageLinkModel
Returns the class name ID of this d d m storage link.

Specified by:
getClassNameId in interface AttachedModel
Specified by:
getClassNameId in interface DDMStorageLinkModel
Returns:
the class name ID of this d d m storage link

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: DDMStorageLinkModel
Sets the class name ID of this d d m storage link.

Specified by:
setClassNameId in interface AttachedModel
Specified by:
setClassNameId in interface DDMStorageLinkModel
Parameters:
classNameId - the class name ID of this d d m storage link

getClassPK

public long getClassPK()
Description copied from interface: DDMStorageLinkModel
Returns the class p k of this d d m storage link.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface DDMStorageLinkModel
Returns:
the class p k of this d d m storage link

setClassPK

public void setClassPK(long classPK)
Description copied from interface: DDMStorageLinkModel
Sets the class p k of this d d m storage link.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface DDMStorageLinkModel
Parameters:
classPK - the class p k of this d d m storage link

getOriginalClassPK

public long getOriginalClassPK()

getStructureId

public long getStructureId()
Description copied from interface: DDMStorageLinkModel
Returns the structure ID of this d d m storage link.

Specified by:
getStructureId in interface DDMStorageLinkModel
Returns:
the structure ID of this d d m storage link

setStructureId

public void setStructureId(long structureId)
Description copied from interface: DDMStorageLinkModel
Sets the structure ID of this d d m storage link.

Specified by:
setStructureId in interface DDMStorageLinkModel
Parameters:
structureId - the structure ID of this d d m storage link

getOriginalStructureId

public long getOriginalStructureId()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<DDMStorageLink>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DDMStorageLinkModel
Overrides:
getExpandoBridge in class BaseModelImpl<DDMStorageLink>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<DDMStorageLink>
Specified by:
setExpandoBridgeAttributes in interface DDMStorageLinkModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DDMStorageLink>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public DDMStorageLink toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<DDMStorageLink>
Specified by:
toEscapedModel in interface DDMStorageLinkModel
Overrides:
toEscapedModel in class BaseModelImpl<DDMStorageLink>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DDMStorageLink toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DDMStorageLink>
Specified by:
toUnescapedModel in interface DDMStorageLinkModel
Overrides:
toUnescapedModel in class BaseModelImpl<DDMStorageLink>

clone

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

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

compareTo

public int compareTo(DDMStorageLink ddmStorageLink)
Specified by:
compareTo in interface DDMStorageLinkModel
Specified by:
compareTo in interface Comparable<DDMStorageLink>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface DDMStorageLinkModel
Overrides:
hashCode in class Object

resetOriginalValues

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

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

toCacheModel

public CacheModel<DDMStorageLink> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<DDMStorageLink>
Specified by:
toCacheModel in interface DDMStorageLinkModel
Overrides:
toCacheModel in class BaseModelImpl<DDMStorageLink>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface DDMStorageLinkModel
Overrides:
toString in class Object

toXmlString

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

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

Liferay 6.1.2-ce-ga3