Liferay 6.1.0

com.liferay.portlet.social.model
Class SocialEquityAssetEntryWrapper

java.lang.Object
  extended by com.liferay.portlet.social.model.SocialEquityAssetEntryWrapper
All Implemented Interfaces:
BaseModel<SocialEquityAssetEntry>, ClassedModel, SocialEquityAssetEntry, SocialEquityAssetEntryModel, Serializable, Cloneable, Comparable<SocialEquityAssetEntry>

public class SocialEquityAssetEntryWrapper
extends Object
implements SocialEquityAssetEntry

This class is a wrapper for SocialEquityAssetEntry.

See Also:
SocialEquityAssetEntry, Serialized Form

Constructor Summary
SocialEquityAssetEntryWrapper(SocialEquityAssetEntry socialEquityAssetEntry)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SocialEquityAssetEntry socialEquityAssetEntry)
           
 long getAssetEntryId()
          Returns the asset entry ID of this social equity asset entry.
 long getCompanyId()
          Returns the company ID of this social equity asset entry.
 long getEquityAssetEntryId()
          Returns the equity asset entry ID of this social equity asset entry.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this social equity asset entry.
 double getInformationB()
          Returns the information b of this social equity asset entry.
 double getInformationK()
          Returns the information k of this social equity asset entry.
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getPrimaryKey()
          Returns the primary key of this social equity asset entry.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getUserId()
          Returns the user ID of this social equity asset entry.
 String getUserUuid()
          Returns the user uuid of this social equity asset entry.
 SocialEquityAssetEntry getWrappedSocialEquityAssetEntry()
           
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAssetEntryId(long assetEntryId)
          Sets the asset entry ID of this social equity asset entry.
 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 social equity asset entry.
 void setEquityAssetEntryId(long equityAssetEntryId)
          Sets the equity asset entry ID of this social equity asset entry.
 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 social equity asset entry.
 void setInformationB(double informationB)
          Sets the information b of this social equity asset entry.
 void setInformationK(double informationK)
          Sets the information k of this social equity asset entry.
 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 social equity asset entry.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setUserId(long userId)
          Sets the user ID of this social equity asset entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this social equity asset entry.
 CacheModel<SocialEquityAssetEntry> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 SocialEquityAssetEntry toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocialEquityAssetEntryWrapper

public SocialEquityAssetEntryWrapper(SocialEquityAssetEntry socialEquityAssetEntry)
Method Detail

getModelClass

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

getModelClassName

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

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this social equity asset entry.

Specified by:
getPrimaryKey in interface SocialEquityAssetEntryModel
Returns:
the primary key of this social equity asset entry

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this social equity asset entry.

Specified by:
setPrimaryKey in interface SocialEquityAssetEntryModel
Parameters:
primaryKey - the primary key of this social equity asset entry

getEquityAssetEntryId

public long getEquityAssetEntryId()
Returns the equity asset entry ID of this social equity asset entry.

Specified by:
getEquityAssetEntryId in interface SocialEquityAssetEntryModel
Returns:
the equity asset entry ID of this social equity asset entry

setEquityAssetEntryId

public void setEquityAssetEntryId(long equityAssetEntryId)
Sets the equity asset entry ID of this social equity asset entry.

Specified by:
setEquityAssetEntryId in interface SocialEquityAssetEntryModel
Parameters:
equityAssetEntryId - the equity asset entry ID of this social equity asset entry

getGroupId

public long getGroupId()
Returns the group ID of this social equity asset entry.

Specified by:
getGroupId in interface SocialEquityAssetEntryModel
Returns:
the group ID of this social equity asset entry

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this social equity asset entry.

Specified by:
setGroupId in interface SocialEquityAssetEntryModel
Parameters:
groupId - the group ID of this social equity asset entry

getCompanyId

public long getCompanyId()
Returns the company ID of this social equity asset entry.

Specified by:
getCompanyId in interface SocialEquityAssetEntryModel
Returns:
the company ID of this social equity asset entry

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this social equity asset entry.

Specified by:
setCompanyId in interface SocialEquityAssetEntryModel
Parameters:
companyId - the company ID of this social equity asset entry

getUserId

public long getUserId()
Returns the user ID of this social equity asset entry.

Specified by:
getUserId in interface SocialEquityAssetEntryModel
Returns:
the user ID of this social equity asset entry

setUserId

public void setUserId(long userId)
Sets the user ID of this social equity asset entry.

Specified by:
setUserId in interface SocialEquityAssetEntryModel
Parameters:
userId - the user ID of this social equity asset entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this social equity asset entry.

Specified by:
getUserUuid in interface SocialEquityAssetEntryModel
Returns:
the user uuid of this social equity asset entry
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this social equity asset entry.

Specified by:
setUserUuid in interface SocialEquityAssetEntryModel
Parameters:
userUuid - the user uuid of this social equity asset entry

getAssetEntryId

public long getAssetEntryId()
Returns the asset entry ID of this social equity asset entry.

Specified by:
getAssetEntryId in interface SocialEquityAssetEntryModel
Returns:
the asset entry ID of this social equity asset entry

setAssetEntryId

public void setAssetEntryId(long assetEntryId)
Sets the asset entry ID of this social equity asset entry.

Specified by:
setAssetEntryId in interface SocialEquityAssetEntryModel
Parameters:
assetEntryId - the asset entry ID of this social equity asset entry

getInformationK

public double getInformationK()
Returns the information k of this social equity asset entry.

Specified by:
getInformationK in interface SocialEquityAssetEntryModel
Returns:
the information k of this social equity asset entry

setInformationK

public void setInformationK(double informationK)
Sets the information k of this social equity asset entry.

Specified by:
setInformationK in interface SocialEquityAssetEntryModel
Parameters:
informationK - the information k of this social equity asset entry

getInformationB

public double getInformationB()
Returns the information b of this social equity asset entry.

Specified by:
getInformationB in interface SocialEquityAssetEntryModel
Returns:
the information b of this social equity asset entry

setInformationB

public void setInformationB(double informationB)
Sets the information b of this social equity asset entry.

Specified by:
setInformationB in interface SocialEquityAssetEntryModel
Parameters:
informationB - the information b of this social equity asset entry

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<SocialEquityAssetEntry>
Specified by:
isNew in interface SocialEquityAssetEntryModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

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<SocialEquityAssetEntry>
Specified by:
setNew in interface SocialEquityAssetEntryModel
Parameters:
n - whether this model instance does not yet exist in the database

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<SocialEquityAssetEntry>
Specified by:
isCachedModel in interface SocialEquityAssetEntryModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

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<SocialEquityAssetEntry>
Specified by:
setCachedModel in interface SocialEquityAssetEntryModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

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

getPrimaryKeyObj

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

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

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<SocialEquityAssetEntry>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SocialEquityAssetEntryModel
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<SocialEquityAssetEntry>
Specified by:
setExpandoBridgeAttributes in interface SocialEquityAssetEntryModel
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

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

compareTo

public int compareTo(SocialEquityAssetEntry socialEquityAssetEntry)
Specified by:
compareTo in interface SocialEquityAssetEntryModel
Specified by:
compareTo in interface Comparable<SocialEquityAssetEntry>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<SocialEquityAssetEntry>
Specified by:
toCacheModel in interface SocialEquityAssetEntryModel
Returns:
the cache model object

toEscapedModel

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

toString

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

getWrappedSocialEquityAssetEntry

public SocialEquityAssetEntry getWrappedSocialEquityAssetEntry()

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<SocialEquityAssetEntry>

Liferay 6.1.0