@ProviderType public class AccountWrapper extends java.lang.Object implements Account, ModelWrapper<Account>
This class is a wrapper for Account.
Account,
Serialized Form| Constructor and Description |
|---|
AccountWrapper(Account account) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Account account) |
boolean |
equals(java.lang.Object obj) |
long |
getAccountId()
Returns the account ID of this account.
|
long |
getCompanyId()
Returns the company ID of this account.
|
java.util.Date |
getCreateDate()
Returns the create date of this account.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.lang.String |
getIndustry()
Returns the industry of this account.
|
java.lang.String |
getLegalId()
Returns the legal ID of this account.
|
java.lang.String |
getLegalName()
Returns the legal name of this account.
|
java.lang.String |
getLegalType()
Returns the legal type of this account.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this account.
|
java.lang.String |
getName()
Returns the name of this account.
|
long |
getParentAccountId()
Returns the parent account ID of this account.
|
long |
getPrimaryKey()
Returns the primary key of this account.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
java.lang.String |
getSicCode()
Returns the sic code of this account.
|
java.lang.String |
getSize()
Returns the size of this account.
|
java.lang.String |
getTickerSymbol()
Returns the ticker symbol of this account.
|
java.lang.String |
getType()
Returns the type of this account.
|
long |
getUserId()
Returns the user ID of this account.
|
java.lang.String |
getUserName()
Returns the user name of this account.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this account.
|
Account |
getWrappedAccount()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
Account |
getWrappedModel() |
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 |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setAccountId(long accountId)
Sets the account ID of this account.
|
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 account.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this account.
|
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 |
setIndustry(java.lang.String industry)
Sets the industry of this account.
|
void |
setLegalId(java.lang.String legalId)
Sets the legal ID of this account.
|
void |
setLegalName(java.lang.String legalName)
Sets the legal name of this account.
|
void |
setLegalType(java.lang.String legalType)
Sets the legal type of this account.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this account.
|
void |
setName(java.lang.String name)
Sets the name of this account.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setParentAccountId(long parentAccountId)
Sets the parent account ID of this account.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this account.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setSicCode(java.lang.String sicCode)
Sets the sic code of this account.
|
void |
setSize(java.lang.String size)
Sets the size of this account.
|
void |
setTickerSymbol(java.lang.String tickerSymbol)
Sets the ticker symbol of this account.
|
void |
setType(java.lang.String type)
Sets the type of this account.
|
void |
setUserId(long userId)
Sets the user ID of this account.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this account.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this account.
|
CacheModel<Account> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
Account |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
Account |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public AccountWrapper(Account account)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<Account>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<Account>public long getPrimaryKey()
getPrimaryKey in interface AccountModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AccountModelprimaryKey - the primary key of this accountpublic long getAccountId()
getAccountId in interface AccountModelpublic void setAccountId(long accountId)
setAccountId in interface AccountModelaccountId - the account ID of this accountpublic long getCompanyId()
getCompanyId in interface AccountModelgetCompanyId in interface AuditedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AccountModelsetCompanyId in interface AuditedModelcompanyId - the company ID of this accountpublic long getUserId()
getUserId in interface AccountModelgetUserId in interface AuditedModelpublic void setUserId(long userId)
setUserId in interface AccountModelsetUserId in interface AuditedModeluserId - the user ID of this accountpublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AccountModelgetUserUuid in interface AuditedModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AccountModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this accountpublic java.lang.String getUserName()
getUserName in interface AccountModelgetUserName in interface AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface AccountModelsetUserName in interface AuditedModeluserName - the user name of this accountpublic java.util.Date getCreateDate()
getCreateDate in interface AccountModelgetCreateDate in interface AuditedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AccountModelsetCreateDate in interface AuditedModelcreateDate - the create date of this accountpublic java.util.Date getModifiedDate()
getModifiedDate in interface AccountModelgetModifiedDate in interface AuditedModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AccountModelsetModifiedDate in interface AuditedModelmodifiedDate - the modified date of this accountpublic long getParentAccountId()
getParentAccountId in interface AccountModelpublic void setParentAccountId(long parentAccountId)
setParentAccountId in interface AccountModelparentAccountId - the parent account ID of this accountpublic java.lang.String getName()
getName in interface AccountModelpublic void setName(java.lang.String name)
setName in interface AccountModelname - the name of this accountpublic java.lang.String getLegalName()
getLegalName in interface AccountModelpublic void setLegalName(java.lang.String legalName)
setLegalName in interface AccountModellegalName - the legal name of this accountpublic java.lang.String getLegalId()
getLegalId in interface AccountModelpublic void setLegalId(java.lang.String legalId)
setLegalId in interface AccountModellegalId - the legal ID of this accountpublic java.lang.String getLegalType()
getLegalType in interface AccountModelpublic void setLegalType(java.lang.String legalType)
setLegalType in interface AccountModellegalType - the legal type of this accountpublic java.lang.String getSicCode()
getSicCode in interface AccountModelpublic void setSicCode(java.lang.String sicCode)
setSicCode in interface AccountModelsicCode - the sic code of this accountpublic java.lang.String getTickerSymbol()
getTickerSymbol in interface AccountModelpublic void setTickerSymbol(java.lang.String tickerSymbol)
setTickerSymbol in interface AccountModeltickerSymbol - the ticker symbol of this accountpublic java.lang.String getIndustry()
getIndustry in interface AccountModelpublic void setIndustry(java.lang.String industry)
setIndustry in interface AccountModelindustry - the industry of this accountpublic java.lang.String getType()
getType in interface AccountModelpublic void setType(java.lang.String type)
setType in interface AccountModeltype - the type of this accountpublic java.lang.String getSize()
getSize in interface AccountModelpublic void setSize(java.lang.String size)
setSize in interface AccountModelsize - the size of this accountpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface AccountModelisNew in interface BaseModel<Account>true if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface AccountModelsetNew in interface BaseModel<Account>n - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface AccountModelisCachedModel in interface BaseModel<Account>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface AccountModelsetCachedModel in interface BaseModel<Account>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface AccountModelisEscapedModel in interface BaseModel<Account>true if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface AccountModelgetPrimaryKeyObj in interface BaseModel<Account>getPrimaryKeyObj in interface ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface AccountModelsetPrimaryKeyObj in interface BaseModel<Account>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface AccountModelgetExpandoBridge in interface BaseModel<Account>getExpandoBridge in interface ClassedModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface BaseModel<Account>public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface BaseModel<Account>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface BaseModel<Account>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface AccountModelclone in interface BaseModel<Account>clone in class java.lang.Objectpublic int compareTo(Account account)
compareTo in interface AccountModelcompareTo in interface java.lang.Comparable<Account>public int hashCode()
hashCode in interface AccountModelhashCode in class java.lang.Objectpublic CacheModel<Account> toCacheModel()
BaseModeltoCacheModel in interface AccountModeltoCacheModel in interface BaseModel<Account>public Account toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface AccountModeltoEscapedModel in interface BaseModel<Account>AutoEscapeBeanHandlerpublic Account toUnescapedModel()
toUnescapedModel in interface AccountModeltoUnescapedModel in interface BaseModel<Account>public java.lang.String toString()
toString in interface AccountModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface AccountModeltoXmlString in interface BaseModel<Account>public void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Account getWrappedAccount()
getWrappedModel()public Account getWrappedModel()
getWrappedModel in interface ModelWrapper<Account>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<Account>