Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatamapping.model
Class DDMStructureVersionWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.model.DDMStructureVersionWrapper
All Implemented Interfaces:
BaseModel<DDMStructureVersion>, ClassedModel, LocalizedModel, ModelWrapper<DDMStructureVersion>, PersistedModel, DDMStructureVersion, DDMStructureVersionModel, Serializable, Cloneable, Comparable<DDMStructureVersion>

@ProviderType
public class DDMStructureVersionWrapper
extends Object
implements DDMStructureVersion, ModelWrapper<DDMStructureVersion>

This class is a wrapper for DDMStructureVersion.

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

Constructor Summary
DDMStructureVersionWrapper(DDMStructureVersion ddmStructureVersion)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DDMStructureVersion ddmStructureVersion)
           
 boolean equals(Object obj)
           
 String[] getAvailableLanguageIds()
           
 long getCompanyId()
          Returns the company ID of this d d m structure version.
 Date getCreateDate()
          Returns the create date of this d d m structure version.
 String getDefaultLanguageId()
           
 String getDefinition()
          Returns the definition of this d d m structure version.
 String getDescription()
          Returns the description of this d d m structure version.
 String getDescription(Locale locale)
          Returns the localized description of this d d m structure version in the language.
 String getDescription(Locale locale, boolean useDefault)
          Returns the localized description of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.
 String getDescription(String languageId)
          Returns the localized description of this d d m structure version in the language.
 String getDescription(String languageId, boolean useDefault)
          Returns the localized description of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.
 String getDescriptionCurrentLanguageId()
           
 String getDescriptionCurrentValue()
           
 Map<Locale,String> getDescriptionMap()
          Returns a map of the locales and localized descriptions of this d d m structure version.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this d d m structure version.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 String getName()
          Returns the name of this d d m structure version.
 String getName(Locale locale)
          Returns the localized name of this d d m structure version in the language.
 String getName(Locale locale, boolean useDefault)
          Returns the localized name of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.
 String getName(String languageId)
          Returns the localized name of this d d m structure version in the language.
 String getName(String languageId, boolean useDefault)
          Returns the localized name of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.
 String getNameCurrentLanguageId()
           
 String getNameCurrentValue()
           
 Map<Locale,String> getNameMap()
          Returns a map of the locales and localized names of this d d m structure version.
 long getPrimaryKey()
          Returns the primary key of this d d m structure version.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getStorageType()
          Returns the storage type of this d d m structure version.
 long getStructureId()
          Returns the structure ID of this d d m structure version.
 long getStructureVersionId()
          Returns the structure version ID of this d d m structure version.
 int getType()
          Returns the type of this d d m structure version.
 long getUserId()
          Returns the user ID of this d d m structure version.
 String getUserName()
          Returns the user name of this d d m structure version.
 String getUserUuid()
          Returns the user uuid of this d d m structure version.
 String getVersion()
          Returns the version of this d d m structure version.
 DDMStructureVersion getWrappedDDMStructureVersion()
          Deprecated. As of 6.1.0, replaced by getWrappedModel()
 DDMStructureVersion getWrappedModel()
           
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEntityCacheEnabled()
          Returns true if this model's entity cache is enabled.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isFinderCacheEnabled()
          Returns true if this model's finder cache is enabled.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void prepareLocalizedFieldsForImport()
           
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
          Sets the company ID of this d d m structure version.
 void setCreateDate(Date createDate)
          Sets the create date of this d d m structure version.
 void setDefinition(String definition)
          Sets the definition of this d d m structure version.
 void setDescription(String description)
          Sets the description of this d d m structure version.
 void setDescription(String description, Locale locale)
          Sets the localized description of this d d m structure version in the language.
 void setDescription(String description, Locale locale, Locale defaultLocale)
          Sets the localized description of this d d m structure version in the language, and sets the default locale.
 void setDescriptionCurrentLanguageId(String languageId)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap)
          Sets the localized descriptions of this d d m structure version from the map of locales and localized descriptions.
 void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
          Sets the localized descriptions of this d d m structure version from the map of locales and localized descriptions, and sets the default locale.
 void setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group ID of this d d m structure version.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setName(String name)
          Sets the name of this d d m structure version.
 void setName(String name, Locale locale)
          Sets the localized name of this d d m structure version in the language.
 void setName(String name, Locale locale, Locale defaultLocale)
          Sets the localized name of this d d m structure version in the language, and sets the default locale.
 void setNameCurrentLanguageId(String languageId)
           
 void setNameMap(Map<Locale,String> nameMap)
          Sets the localized names of this d d m structure version from the map of locales and localized names.
 void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
          Sets the localized names of this d d m structure version from the map of locales and localized names, and sets the default locale.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this d d m structure version.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setStorageType(String storageType)
          Sets the storage type of this d d m structure version.
 void setStructureId(long structureId)
          Sets the structure ID of this d d m structure version.
 void setStructureVersionId(long structureVersionId)
          Sets the structure version ID of this d d m structure version.
 void setType(int type)
          Sets the type of this d d m structure version.
 void setUserId(long userId)
          Sets the user ID of this d d m structure version.
 void setUserName(String userName)
          Sets the user name of this d d m structure version.
 void setUserUuid(String userUuid)
          Sets the user uuid of this d d m structure version.
 void setVersion(String version)
          Sets the version of this d d m structure version.
 CacheModel<DDMStructureVersion> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DDMStructureVersion toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 DDMStructureVersion toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DDMStructureVersionWrapper

public DDMStructureVersionWrapper(DDMStructureVersion ddmStructureVersion)
Method Detail

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<DDMStructureVersion>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DDMStructureVersion>

clone

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

Specified by:
clone in interface BaseModel<DDMStructureVersion>
Specified by:
clone in interface DDMStructureVersionModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DDMStructureVersion ddmStructureVersion)
Specified by:
compareTo in interface DDMStructureVersionModel
Specified by:
compareTo in interface Comparable<DDMStructureVersion>

getAvailableLanguageIds

public String[] getAvailableLanguageIds()
Specified by:
getAvailableLanguageIds in interface LocalizedModel
Specified by:
getAvailableLanguageIds in interface DDMStructureVersionModel

getCompanyId

public long getCompanyId()
Returns the company ID of this d d m structure version.

Specified by:
getCompanyId in interface DDMStructureVersionModel
Returns:
the company ID of this d d m structure version

getCreateDate

public Date getCreateDate()
Returns the create date of this d d m structure version.

Specified by:
getCreateDate in interface DDMStructureVersionModel
Returns:
the create date of this d d m structure version

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface LocalizedModel
Specified by:
getDefaultLanguageId in interface DDMStructureVersionModel

getDefinition

public String getDefinition()
Returns the definition of this d d m structure version.

Specified by:
getDefinition in interface DDMStructureVersionModel
Returns:
the definition of this d d m structure version

getDescription

public String getDescription()
Returns the description of this d d m structure version.

Specified by:
getDescription in interface DDMStructureVersionModel
Returns:
the description of this d d m structure version

getDescription

public String getDescription(String languageId)
Returns the localized description of this d d m structure version in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getDescription in interface DDMStructureVersionModel
Parameters:
languageId - the ID of the language
Returns:
the localized description of this d d m structure version

getDescription

public String getDescription(String languageId,
                             boolean useDefault)
Returns the localized description of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getDescription in interface DDMStructureVersionModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized description of this d d m structure version

getDescription

public String getDescription(Locale locale)
Returns the localized description of this d d m structure version in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getDescription in interface DDMStructureVersionModel
Parameters:
locale - the locale of the language
Returns:
the localized description of this d d m structure version

getDescription

public String getDescription(Locale locale,
                             boolean useDefault)
Returns the localized description of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getDescription in interface DDMStructureVersionModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized description of this d d m structure version. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getDescriptionCurrentLanguageId

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface DDMStructureVersionModel

getDescriptionCurrentValue

public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface DDMStructureVersionModel

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Returns a map of the locales and localized descriptions of this d d m structure version.

Specified by:
getDescriptionMap in interface DDMStructureVersionModel
Returns:
the locales and localized descriptions of this d d m structure version

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<DDMStructureVersion>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DDMStructureVersionModel
Returns:
the expando bridge for this model instance

getGroupId

public long getGroupId()
Returns the group ID of this d d m structure version.

Specified by:
getGroupId in interface DDMStructureVersionModel
Returns:
the group ID of this d d m structure version

getName

public String getName()
Returns the name of this d d m structure version.

Specified by:
getName in interface DDMStructureVersionModel
Returns:
the name of this d d m structure version

getName

public String getName(String languageId)
Returns the localized name of this d d m structure version in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getName in interface DDMStructureVersionModel
Parameters:
languageId - the ID of the language
Returns:
the localized name of this d d m structure version

getName

public String getName(String languageId,
                      boolean useDefault)
Returns the localized name of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getName in interface DDMStructureVersionModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized name of this d d m structure version

getName

public String getName(Locale locale)
Returns the localized name of this d d m structure version in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getName in interface DDMStructureVersionModel
Parameters:
locale - the locale of the language
Returns:
the localized name of this d d m structure version

getName

public String getName(Locale locale,
                      boolean useDefault)
Returns the localized name of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getName in interface DDMStructureVersionModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized name of this d d m structure version. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getNameCurrentLanguageId

public String getNameCurrentLanguageId()
Specified by:
getNameCurrentLanguageId in interface DDMStructureVersionModel

getNameCurrentValue

public String getNameCurrentValue()
Specified by:
getNameCurrentValue in interface DDMStructureVersionModel

getNameMap

public Map<Locale,String> getNameMap()
Returns a map of the locales and localized names of this d d m structure version.

Specified by:
getNameMap in interface DDMStructureVersionModel
Returns:
the locales and localized names of this d d m structure version

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this d d m structure version.

Specified by:
getPrimaryKey in interface DDMStructureVersionModel
Returns:
the primary key of this d d m structure version

getPrimaryKeyObj

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

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

getStorageType

public String getStorageType()
Returns the storage type of this d d m structure version.

Specified by:
getStorageType in interface DDMStructureVersionModel
Returns:
the storage type of this d d m structure version

getStructureId

public long getStructureId()
Returns the structure ID of this d d m structure version.

Specified by:
getStructureId in interface DDMStructureVersionModel
Returns:
the structure ID of this d d m structure version

getStructureVersionId

public long getStructureVersionId()
Returns the structure version ID of this d d m structure version.

Specified by:
getStructureVersionId in interface DDMStructureVersionModel
Returns:
the structure version ID of this d d m structure version

getType

public int getType()
Returns the type of this d d m structure version.

Specified by:
getType in interface DDMStructureVersionModel
Returns:
the type of this d d m structure version

getUserId

public long getUserId()
Returns the user ID of this d d m structure version.

Specified by:
getUserId in interface DDMStructureVersionModel
Returns:
the user ID of this d d m structure version

getUserName

public String getUserName()
Returns the user name of this d d m structure version.

Specified by:
getUserName in interface DDMStructureVersionModel
Returns:
the user name of this d d m structure version

getUserUuid

public String getUserUuid()
Returns the user uuid of this d d m structure version.

Specified by:
getUserUuid in interface DDMStructureVersionModel
Returns:
the user uuid of this d d m structure version

getVersion

public String getVersion()
Returns the version of this d d m structure version.

Specified by:
getVersion in interface DDMStructureVersionModel
Returns:
the version of this d d m structure version

hashCode

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

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<DDMStructureVersion>
Specified by:
isCachedModel in interface DDMStructureVersionModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<DDMStructureVersion>
Specified by:
isEscapedModel in interface DDMStructureVersionModel
Returns:
true if this model instance is escaped; false otherwise

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<DDMStructureVersion>
Specified by:
isNew in interface DDMStructureVersionModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

persist

public void persist()
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport()
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface LocalizedModel
Specified by:
prepareLocalizedFieldsForImport in interface DDMStructureVersionModel
Throws:
LocaleException

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface LocalizedModel
Specified by:
prepareLocalizedFieldsForImport in interface DDMStructureVersionModel
Throws:
LocaleException

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<DDMStructureVersion>
Specified by:
setCachedModel in interface DDMStructureVersionModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this d d m structure version.

Specified by:
setCompanyId in interface DDMStructureVersionModel
Parameters:
companyId - the company ID of this d d m structure version

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this d d m structure version.

Specified by:
setCreateDate in interface DDMStructureVersionModel
Parameters:
createDate - the create date of this d d m structure version

setDefinition

public void setDefinition(String definition)
Sets the definition of this d d m structure version.

Specified by:
setDefinition in interface DDMStructureVersionModel
Parameters:
definition - the definition of this d d m structure version

setDescription

public void setDescription(String description)
Sets the description of this d d m structure version.

Specified by:
setDescription in interface DDMStructureVersionModel
Parameters:
description - the description of this d d m structure version

setDescription

public void setDescription(String description,
                           Locale locale)
Sets the localized description of this d d m structure version in the language.

Specified by:
setDescription in interface DDMStructureVersionModel
Parameters:
description - the localized description of this d d m structure version
locale - the locale of the language

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Sets the localized description of this d d m structure version in the language, and sets the default locale.

Specified by:
setDescription in interface DDMStructureVersionModel
Parameters:
description - the localized description of this d d m structure version
locale - the locale of the language
defaultLocale - the default locale

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface DDMStructureVersionModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this d d m structure version from the map of locales and localized descriptions.

Specified by:
setDescriptionMap in interface DDMStructureVersionModel
Parameters:
descriptionMap - the locales and localized descriptions of this d d m structure version

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap,
                              Locale defaultLocale)
Sets the localized descriptions of this d d m structure version from the map of locales and localized descriptions, and sets the default locale.

Specified by:
setDescriptionMap in interface DDMStructureVersionModel
Parameters:
descriptionMap - the locales and localized descriptions of this d d m structure version
defaultLocale - the default locale

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DDMStructureVersion>
Specified by:
setExpandoBridgeAttributes in interface DDMStructureVersionModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DDMStructureVersion>
Specified by:
setExpandoBridgeAttributes in interface DDMStructureVersionModel

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<DDMStructureVersion>
Specified by:
setExpandoBridgeAttributes in interface DDMStructureVersionModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this d d m structure version.

Specified by:
setGroupId in interface DDMStructureVersionModel
Parameters:
groupId - the group ID of this d d m structure version

setName

public void setName(String name)
Sets the name of this d d m structure version.

Specified by:
setName in interface DDMStructureVersionModel
Parameters:
name - the name of this d d m structure version

setName

public void setName(String name,
                    Locale locale)
Sets the localized name of this d d m structure version in the language.

Specified by:
setName in interface DDMStructureVersionModel
Parameters:
name - the localized name of this d d m structure version
locale - the locale of the language

setName

public void setName(String name,
                    Locale locale,
                    Locale defaultLocale)
Sets the localized name of this d d m structure version in the language, and sets the default locale.

Specified by:
setName in interface DDMStructureVersionModel
Parameters:
name - the localized name of this d d m structure version
locale - the locale of the language
defaultLocale - the default locale

setNameCurrentLanguageId

public void setNameCurrentLanguageId(String languageId)
Specified by:
setNameCurrentLanguageId in interface DDMStructureVersionModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this d d m structure version from the map of locales and localized names.

Specified by:
setNameMap in interface DDMStructureVersionModel
Parameters:
nameMap - the locales and localized names of this d d m structure version

setNameMap

public void setNameMap(Map<Locale,String> nameMap,
                       Locale defaultLocale)
Sets the localized names of this d d m structure version from the map of locales and localized names, and sets the default locale.

Specified by:
setNameMap in interface DDMStructureVersionModel
Parameters:
nameMap - the locales and localized names of this d d m structure version
defaultLocale - the default locale

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<DDMStructureVersion>
Specified by:
setNew in interface DDMStructureVersionModel
Parameters:
n - whether this model instance does not yet exist in the database

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this d d m structure version.

Specified by:
setPrimaryKey in interface DDMStructureVersionModel
Parameters:
primaryKey - the primary key of this d d m structure version

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

setStorageType

public void setStorageType(String storageType)
Sets the storage type of this d d m structure version.

Specified by:
setStorageType in interface DDMStructureVersionModel
Parameters:
storageType - the storage type of this d d m structure version

setStructureId

public void setStructureId(long structureId)
Sets the structure ID of this d d m structure version.

Specified by:
setStructureId in interface DDMStructureVersionModel
Parameters:
structureId - the structure ID of this d d m structure version

setStructureVersionId

public void setStructureVersionId(long structureVersionId)
Sets the structure version ID of this d d m structure version.

Specified by:
setStructureVersionId in interface DDMStructureVersionModel
Parameters:
structureVersionId - the structure version ID of this d d m structure version

setType

public void setType(int type)
Sets the type of this d d m structure version.

Specified by:
setType in interface DDMStructureVersionModel
Parameters:
type - the type of this d d m structure version

setUserId

public void setUserId(long userId)
Sets the user ID of this d d m structure version.

Specified by:
setUserId in interface DDMStructureVersionModel
Parameters:
userId - the user ID of this d d m structure version

setUserName

public void setUserName(String userName)
Sets the user name of this d d m structure version.

Specified by:
setUserName in interface DDMStructureVersionModel
Parameters:
userName - the user name of this d d m structure version

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this d d m structure version.

Specified by:
setUserUuid in interface DDMStructureVersionModel
Parameters:
userUuid - the user uuid of this d d m structure version

setVersion

public void setVersion(String version)
Sets the version of this d d m structure version.

Specified by:
setVersion in interface DDMStructureVersionModel
Parameters:
version - the version of this d d m structure version

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<DDMStructureVersion>
Specified by:
toCacheModel in interface DDMStructureVersionModel
Returns:
the cache model object

toEscapedModel

public DDMStructureVersion 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<DDMStructureVersion>
Specified by:
toEscapedModel in interface DDMStructureVersionModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

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

toUnescapedModel

public DDMStructureVersion toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DDMStructureVersion>
Specified by:
toUnescapedModel in interface DDMStructureVersionModel

toXmlString

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

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

equals

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

getWrappedDDMStructureVersion

@Deprecated
public DDMStructureVersion getWrappedDDMStructureVersion()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public DDMStructureVersion getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<DDMStructureVersion>

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<DDMStructureVersion>
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<DDMStructureVersion>
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<DDMStructureVersion>

Liferay 7.0-ce-m3