@ProviderType public interface AccountModel extends AuditedModel, BaseModel<Account>, MVCCModel, ShardedModel
This interface and its corresponding implementation AccountModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AccountImpl
.
Account
,
AccountImpl
,
AccountModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Account account) |
long |
getAccountId()
Returns the account ID of this account.
|
long |
getCompanyId()
Returns the company ID of this account.
|
Date |
getCreateDate()
Returns the create date of this account.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getIndustry()
Returns the industry of this account.
|
String |
getLegalId()
Returns the legal ID of this account.
|
String |
getLegalName()
Returns the legal name of this account.
|
String |
getLegalType()
Returns the legal type of this account.
|
Date |
getModifiedDate()
Returns the modified date of this account.
|
long |
getMvccVersion()
Returns the mvcc version of this account.
|
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.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
String |
getSicCode()
Returns the sic code of this account.
|
String |
getSize()
Returns the size of this account.
|
String |
getTickerSymbol()
Returns the ticker symbol of this account.
|
String |
getType()
Returns the type of this account.
|
long |
getUserId()
Returns the user ID of this account.
|
String |
getUserName()
Returns the user name of this account.
|
String |
getUserUuid()
Returns the user uuid of this account.
|
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 |
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(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(String industry)
Sets the industry of this account.
|
void |
setLegalId(String legalId)
Sets the legal ID of this account.
|
void |
setLegalName(String legalName)
Sets the legal name of this account.
|
void |
setLegalType(String legalType)
Sets the legal type of this account.
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this account.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this account.
|
void |
setName(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(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setSicCode(String sicCode)
Sets the sic code of this account.
|
void |
setSize(String size)
Sets the size of this account.
|
void |
setTickerSymbol(String tickerSymbol)
Sets the ticker symbol of this account.
|
void |
setType(String type)
Sets the type of this account.
|
void |
setUserId(long userId)
Sets the user ID of this account.
|
void |
setUserName(String userName)
Sets the user name of this account.
|
void |
setUserUuid(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 . |
String |
toString() |
Account |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this accountlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this accountlong getAccountId()
void setAccountId(long accountId)
accountId
- the account ID of this accountlong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this accountlong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this accountString getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this account@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this accountDate getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this accountDate getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date of this accountlong getParentAccountId()
void setParentAccountId(long parentAccountId)
parentAccountId
- the parent account ID of this account@AutoEscape String getName()
void setName(String name)
name
- the name of this account@AutoEscape String getLegalName()
void setLegalName(String legalName)
legalName
- the legal name of this account@AutoEscape String getLegalId()
void setLegalId(String legalId)
legalId
- the legal ID of this account@AutoEscape String getLegalType()
void setLegalType(String legalType)
legalType
- the legal type of this account@AutoEscape String getSicCode()
void setSicCode(String sicCode)
sicCode
- the sic code of this account@AutoEscape String getTickerSymbol()
void setTickerSymbol(String tickerSymbol)
tickerSymbol
- the ticker symbol of this account@AutoEscape String getIndustry()
void setIndustry(String industry)
industry
- the industry of this account@AutoEscape String getType()
void setType(String type)
type
- the type of this account@AutoEscape String getSize()
void setSize(String size)
size
- the size of this accountboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModel
boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<Account>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Account>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<Account>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Account>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Account>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Account>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Account>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Account>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Account>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
int hashCode()
hashCode
in class Object
CacheModel<Account> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Account>
Account toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<Account>
AutoEscapeBeanHandler
Account toUnescapedModel()
toUnescapedModel
in interface BaseModel<Account>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Account>