Liferay 6.1.2-ce-ga3

com.liferay.portlet.softwarecatalog.model.impl
Class SCFrameworkVersionModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<SCFrameworkVersion>
      extended by com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<SCFrameworkVersion>, ClassedModel, GroupedModel, SCFrameworkVersionModel, Serializable, Cloneable, Comparable<SCFrameworkVersion>
Direct Known Subclasses:
SCFrameworkVersionBaseImpl

@JSON(strict=true)
public class SCFrameworkVersionModelImpl
extends BaseModelImpl<SCFrameworkVersion>
implements SCFrameworkVersionModel

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

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

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

Field Summary
static long ACTIVE_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED_SCFRAMEWORKVERSI_SCPRODUCTVERS
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static Object[][] MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_COLUMNS
           
static String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_NAME
           
static String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_SQL_CREATE
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
SCFrameworkVersionModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCFrameworkVersion scFrameworkVersion)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Returns the active of this s c framework version.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this s c framework version.
 Date getCreateDate()
          Returns the create date of this s c framework version.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getFrameworkVersionId()
          Returns the framework version ID of this s c framework version.
 long getGroupId()
          Returns the group ID of this s c framework version.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this s c framework version.
 String getName()
          Returns the name of this s c framework version.
 boolean getOriginalActive()
           
 long getOriginalCompanyId()
           
 long getOriginalGroupId()
           
 long getPrimaryKey()
          Returns the primary key of this s c framework version.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 int getPriority()
          Returns the priority of this s c framework version.
 String getUrl()
          Returns the url of this s c framework version.
 long getUserId()
          Returns the user ID of this s c framework version.
 String getUserName()
          Returns the user name of this s c framework version.
 String getUserUuid()
          Returns the user uuid of this s c framework version.
 int hashCode()
           
 boolean isActive()
          Returns true if this s c framework version is active.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setActive(boolean active)
          Sets whether this s c framework version is active.
 void setCompanyId(long companyId)
          Sets the company ID of this s c framework version.
 void setCreateDate(Date createDate)
          Sets the create date of this s c framework version.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFrameworkVersionId(long frameworkVersionId)
          Sets the framework version ID of this s c framework version.
 void setGroupId(long groupId)
          Sets the group ID of this s c framework version.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this s c framework version.
 void setName(String name)
          Sets the name of this s c framework version.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this s c framework version.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setPriority(int priority)
          Sets the priority of this s c framework version.
 void setUrl(String url)
          Sets the url of this s c framework version.
 void setUserId(long userId)
          Sets the user ID of this s c framework version.
 void setUserName(String userName)
          Sets the user name of this s c framework version.
 void setUserUuid(String userUuid)
          Sets the user uuid of this s c framework version.
 CacheModel<SCFrameworkVersion> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 SCFrameworkVersion toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static SCFrameworkVersion toModel(SCFrameworkVersionSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<SCFrameworkVersion> toModels(SCFrameworkVersionSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 SCFrameworkVersion 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.softwarecatalog.model.SCFrameworkVersionModel
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

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

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

ACTIVE_COLUMN_BITMASK

public static long ACTIVE_COLUMN_BITMASK

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_NAME

public static final String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_COLUMNS

public static final Object[][] MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_COLUMNS

MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_SQL_CREATE

public static final String MAPPING_TABLE_SCFRAMEWORKVERSI_SCPRODUCTVERS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_SCFRAMEWORKVERSI_SCPRODUCTVERS

public static final boolean FINDER_CACHE_ENABLED_SCFRAMEWORKVERSI_SCPRODUCTVERS

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

SCFrameworkVersionModelImpl

public SCFrameworkVersionModelImpl()
Method Detail

toModel

public static SCFrameworkVersion toModel(SCFrameworkVersionSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<SCFrameworkVersion> toModels(SCFrameworkVersionSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: SCFrameworkVersionModel
Returns the primary key of this s c framework version.

Specified by:
getPrimaryKey in interface SCFrameworkVersionModel
Returns:
the primary key of this s c framework version

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: SCFrameworkVersionModel
Sets the primary key of this s c framework version.

Specified by:
setPrimaryKey in interface SCFrameworkVersionModel
Parameters:
primaryKey - the primary key of this s c framework version

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<SCFrameworkVersion>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Overrides:
getModelAttributes in class BaseModelImpl<SCFrameworkVersion>

setModelAttributes

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

getFrameworkVersionId

@JSON
public long getFrameworkVersionId()
Description copied from interface: SCFrameworkVersionModel
Returns the framework version ID of this s c framework version.

Specified by:
getFrameworkVersionId in interface SCFrameworkVersionModel
Returns:
the framework version ID of this s c framework version

setFrameworkVersionId

public void setFrameworkVersionId(long frameworkVersionId)
Description copied from interface: SCFrameworkVersionModel
Sets the framework version ID of this s c framework version.

Specified by:
setFrameworkVersionId in interface SCFrameworkVersionModel
Parameters:
frameworkVersionId - the framework version ID of this s c framework version

getGroupId

@JSON
public long getGroupId()
Description copied from interface: SCFrameworkVersionModel
Returns the group ID of this s c framework version.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface SCFrameworkVersionModel
Returns:
the group ID of this s c framework version

setGroupId

public void setGroupId(long groupId)
Description copied from interface: SCFrameworkVersionModel
Sets the group ID of this s c framework version.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface SCFrameworkVersionModel
Parameters:
groupId - the group ID of this s c framework version

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: SCFrameworkVersionModel
Returns the company ID of this s c framework version.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface SCFrameworkVersionModel
Returns:
the company ID of this s c framework version

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: SCFrameworkVersionModel
Sets the company ID of this s c framework version.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface SCFrameworkVersionModel
Parameters:
companyId - the company ID of this s c framework version

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: SCFrameworkVersionModel
Returns the user ID of this s c framework version.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface SCFrameworkVersionModel
Returns:
the user ID of this s c framework version

setUserId

public void setUserId(long userId)
Description copied from interface: SCFrameworkVersionModel
Sets the user ID of this s c framework version.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface SCFrameworkVersionModel
Parameters:
userId - the user ID of this s c framework version

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: SCFrameworkVersionModel
Returns the user uuid of this s c framework version.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface SCFrameworkVersionModel
Returns:
the user uuid of this s c framework version
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: SCFrameworkVersionModel
Sets the user uuid of this s c framework version.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface SCFrameworkVersionModel
Parameters:
userUuid - the user uuid of this s c framework version

getUserName

@JSON
public String getUserName()
Description copied from interface: SCFrameworkVersionModel
Returns the user name of this s c framework version.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface SCFrameworkVersionModel
Returns:
the user name of this s c framework version

setUserName

public void setUserName(String userName)
Description copied from interface: SCFrameworkVersionModel
Sets the user name of this s c framework version.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface SCFrameworkVersionModel
Parameters:
userName - the user name of this s c framework version

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: SCFrameworkVersionModel
Returns the create date of this s c framework version.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface SCFrameworkVersionModel
Returns:
the create date of this s c framework version

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: SCFrameworkVersionModel
Sets the create date of this s c framework version.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface SCFrameworkVersionModel
Parameters:
createDate - the create date of this s c framework version

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: SCFrameworkVersionModel
Returns the modified date of this s c framework version.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface SCFrameworkVersionModel
Returns:
the modified date of this s c framework version

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: SCFrameworkVersionModel
Sets the modified date of this s c framework version.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface SCFrameworkVersionModel
Parameters:
modifiedDate - the modified date of this s c framework version

getName

@JSON
public String getName()
Description copied from interface: SCFrameworkVersionModel
Returns the name of this s c framework version.

Specified by:
getName in interface SCFrameworkVersionModel
Returns:
the name of this s c framework version

setName

public void setName(String name)
Description copied from interface: SCFrameworkVersionModel
Sets the name of this s c framework version.

Specified by:
setName in interface SCFrameworkVersionModel
Parameters:
name - the name of this s c framework version

getUrl

@JSON
public String getUrl()
Description copied from interface: SCFrameworkVersionModel
Returns the url of this s c framework version.

Specified by:
getUrl in interface SCFrameworkVersionModel
Returns:
the url of this s c framework version

setUrl

public void setUrl(String url)
Description copied from interface: SCFrameworkVersionModel
Sets the url of this s c framework version.

Specified by:
setUrl in interface SCFrameworkVersionModel
Parameters:
url - the url of this s c framework version

getActive

@JSON
public boolean getActive()
Description copied from interface: SCFrameworkVersionModel
Returns the active of this s c framework version.

Specified by:
getActive in interface SCFrameworkVersionModel
Returns:
the active of this s c framework version

isActive

public boolean isActive()
Description copied from interface: SCFrameworkVersionModel
Returns true if this s c framework version is active.

Specified by:
isActive in interface SCFrameworkVersionModel
Returns:
true if this s c framework version is active; false otherwise

setActive

public void setActive(boolean active)
Description copied from interface: SCFrameworkVersionModel
Sets whether this s c framework version is active.

Specified by:
setActive in interface SCFrameworkVersionModel
Parameters:
active - the active of this s c framework version

getOriginalActive

public boolean getOriginalActive()

getPriority

@JSON
public int getPriority()
Description copied from interface: SCFrameworkVersionModel
Returns the priority of this s c framework version.

Specified by:
getPriority in interface SCFrameworkVersionModel
Returns:
the priority of this s c framework version

setPriority

public void setPriority(int priority)
Description copied from interface: SCFrameworkVersionModel
Sets the priority of this s c framework version.

Specified by:
setPriority in interface SCFrameworkVersionModel
Parameters:
priority - the priority of this s c framework version

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<SCFrameworkVersion>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SCFrameworkVersionModel
Overrides:
getExpandoBridge in class BaseModelImpl<SCFrameworkVersion>
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<SCFrameworkVersion>
Specified by:
setExpandoBridgeAttributes in interface SCFrameworkVersionModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<SCFrameworkVersion>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public SCFrameworkVersion 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<SCFrameworkVersion>
Specified by:
toEscapedModel in interface SCFrameworkVersionModel
Overrides:
toEscapedModel in class BaseModelImpl<SCFrameworkVersion>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public SCFrameworkVersion toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SCFrameworkVersion>
Specified by:
toUnescapedModel in interface SCFrameworkVersionModel
Overrides:
toUnescapedModel in class BaseModelImpl<SCFrameworkVersion>

clone

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

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

compareTo

public int compareTo(SCFrameworkVersion scFrameworkVersion)
Specified by:
compareTo in interface SCFrameworkVersionModel
Specified by:
compareTo in interface Comparable<SCFrameworkVersion>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Overrides:
resetOriginalValues in class BaseModelImpl<SCFrameworkVersion>

toCacheModel

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

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

toString

public String toString()
Specified by:
toString in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
toXmlString in interface SCFrameworkVersionModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3