org.seasar.robot.db.bsentity
クラス BsAccessResult

java.lang.Object
  上位を拡張 org.seasar.robot.db.bsentity.BsAccessResult
すべての実装されたインタフェース:
java.io.Serializable, org.seasar.robot.dbflute.Entity
直系の既知のサブクラス:
AccessResult

public abstract class BsAccessResult
extends java.lang.Object
implements org.seasar.robot.dbflute.Entity, java.io.Serializable

The entity of ACCESS_RESULT that is TABLE.

 [primary-key]
     ID
 
 [column]
     ID, SESSION_ID, RULE_ID, URL, PARENT_URL, STATUS, HTTP_STATUS_CODE, METHOD, MIME_TYPE, CONTENT_LENGTH, EXECUTION_TIME, LAST_MODIFIED, CREATE_TIME
 
 [sequence]
     
 
 [identity]
     ID
 
 [version-no]
     
 
 [foreign-table]
     ACCESS_RESULT_DATA(AsOne)
 
 [referrer-table]
     ACCESS_RESULT_DATA
 
 [foreign-property]
     accessResultDataAsOne
 
 [referrer-property]
     
 

作成者:
DBFlute(AutoGenerator)
関連項目:
直列化された形式

入れ子のクラスの概要
 
インタフェース org.seasar.robot.dbflute.Entity から継承された入れ子のクラス/インタフェース
org.seasar.robot.dbflute.Entity.EntityModifiedProperties
 
フィールドの概要
protected  AccessResultData _accessResultDataAsOne
          ACCESS_RESULT_DATA as 'accessResultDataAsOne'.
protected  java.lang.Long _contentLength
          CONTENT_LENGTH: {NotNull : BIGINT(19)}
protected  java.sql.Timestamp _createTime
          CREATE_TIME: {NotNull : DATETIME(19)}
protected  java.lang.Integer _executionTime
          EXECUTION_TIME: {NotNull : INT(10)}
protected  java.lang.Integer _httpStatusCode
          HTTP_STATUS_CODE: {NotNull : INT(10)}
protected  java.lang.Long _id
          ID: {PK : ID : NotNull : BIGINT(19)}
protected  java.sql.Timestamp _lastModified
          LAST_MODIFIED: {NotNull : DATETIME(19)}
protected  java.lang.String _method
          METHOD: {NotNull : VARCHAR(10)}
protected  java.lang.String _mimeType
          MIME_TYPE: {NotNull : VARCHAR(100)}
protected  org.seasar.robot.dbflute.Entity.EntityModifiedProperties _modifiedProperties
          The modified properties for this entity.
protected  java.lang.String _parentUrl
          PARENT_URL: {TEXT(65535)}
protected  java.lang.String _ruleId
          RULE_ID: {VARCHAR(20)}
protected  java.lang.String _sessionId
          SESSION_ID: {NotNull : VARCHAR(20)}
protected  java.lang.Integer _status
          STATUS: {NotNull : INT(10)}
protected  java.lang.String _url
          URL: {NotNull : TEXT(65535)}
 
コンストラクタの概要
BsAccessResult()
           
 
メソッドの概要
 java.lang.String buildDisplayString(java.lang.String name, boolean column, boolean relation)
           
 void clearModifiedPropertyNames()
           
 boolean equals(java.lang.Object other)
          If the primary-key of the other is same as this one, returns true.
 AccessResultData getAccessResultDataAsOne()
          ACCESS_RESULT_DATA as 'accessResultDataAsOne'.
 java.lang.Long getContentLength()
          CONTENT_LENGTH: {NotNull : BIGINT(19)}
 java.sql.Timestamp getCreateTime()
          CREATE_TIME: {NotNull : DATETIME(19)}
 org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta()
           
 java.lang.Integer getExecutionTime()
          EXECUTION_TIME: {NotNull : INT(10)}
 java.lang.Integer getHttpStatusCode()
          HTTP_STATUS_CODE: {NotNull : INT(10)}
 java.lang.Long getId()
          ID: {PK : ID : NotNull : BIGINT(19)}
 java.sql.Timestamp getLastModified()
          LAST_MODIFIED: {NotNull : DATETIME(19)}
 java.lang.String getMethod()
          METHOD: {NotNull : VARCHAR(10)}
 java.lang.String getMimeType()
          MIME_TYPE: {NotNull : VARCHAR(100)}
 java.util.Set<java.lang.String> getModifiedPropertyNames()
           
 java.lang.String getParentUrl()
          PARENT_URL: {TEXT(65535)}
 java.lang.String getRuleId()
          RULE_ID: {VARCHAR(20)}
 java.lang.String getSessionId()
          SESSION_ID: {NotNull : VARCHAR(20)}
 java.lang.Integer getStatus()
          STATUS: {NotNull : INT(10)}
 java.lang.String getTableDbName()
           
 java.lang.String getTablePropertyName()
           
 java.lang.String getUrl()
          URL: {NotNull : TEXT(65535)}
 int hashCode()
          Calculates hash-code from primary-key.
 boolean hasModification()
           
 boolean hasPrimaryKeyValue()
           
protected  boolean helpComparingValue(java.lang.Object value1, java.lang.Object value2)
           
protected  org.seasar.robot.dbflute.Entity.EntityModifiedProperties newEntityModifiedProperties()
           
 void setAccessResultDataAsOne(AccessResultData accessResultDataAsOne)
          ACCESS_RESULT_DATA as 'accessResultDataAsOne'.
 void setContentLength(java.lang.Long contentLength)
          CONTENT_LENGTH: {NotNull : BIGINT(19)}
 void setCreateTime(java.sql.Timestamp createTime)
          CREATE_TIME: {NotNull : DATETIME(19)}
 void setExecutionTime(java.lang.Integer executionTime)
          EXECUTION_TIME: {NotNull : INT(10)}
 void setHttpStatusCode(java.lang.Integer httpStatusCode)
          HTTP_STATUS_CODE: {NotNull : INT(10)}
 void setId(java.lang.Long id)
          ID: {PK : ID : NotNull : BIGINT(19)}
 void setLastModified(java.sql.Timestamp lastModified)
          LAST_MODIFIED: {NotNull : DATETIME(19)}
 void setMethod(java.lang.String method)
          METHOD: {NotNull : VARCHAR(10)}
 void setMimeType(java.lang.String mimeType)
          MIME_TYPE: {NotNull : VARCHAR(100)}
 void setParentUrl(java.lang.String parentUrl)
          PARENT_URL: {TEXT(65535)}
 void setRuleId(java.lang.String ruleId)
          RULE_ID: {VARCHAR(20)}
 void setSessionId(java.lang.String sessionId)
          SESSION_ID: {NotNull : VARCHAR(20)}
 void setStatus(java.lang.Integer status)
          STATUS: {NotNull : INT(10)}
 void setUrl(java.lang.String url)
          URL: {NotNull : TEXT(65535)}
 java.lang.String toString()
           
 java.lang.String toStringWithRelation()
           
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

_id

protected java.lang.Long _id
ID: {PK : ID : NotNull : BIGINT(19)}


_sessionId

protected java.lang.String _sessionId
SESSION_ID: {NotNull : VARCHAR(20)}


_ruleId

protected java.lang.String _ruleId
RULE_ID: {VARCHAR(20)}


_url

protected java.lang.String _url
URL: {NotNull : TEXT(65535)}


_parentUrl

protected java.lang.String _parentUrl
PARENT_URL: {TEXT(65535)}


_status

protected java.lang.Integer _status
STATUS: {NotNull : INT(10)}


_httpStatusCode

protected java.lang.Integer _httpStatusCode
HTTP_STATUS_CODE: {NotNull : INT(10)}


_method

protected java.lang.String _method
METHOD: {NotNull : VARCHAR(10)}


_mimeType

protected java.lang.String _mimeType
MIME_TYPE: {NotNull : VARCHAR(100)}


_contentLength

protected java.lang.Long _contentLength
CONTENT_LENGTH: {NotNull : BIGINT(19)}


_executionTime

protected java.lang.Integer _executionTime
EXECUTION_TIME: {NotNull : INT(10)}


_lastModified

protected java.sql.Timestamp _lastModified
LAST_MODIFIED: {NotNull : DATETIME(19)}


_createTime

protected java.sql.Timestamp _createTime
CREATE_TIME: {NotNull : DATETIME(19)}


_modifiedProperties

protected org.seasar.robot.dbflute.Entity.EntityModifiedProperties _modifiedProperties
The modified properties for this entity.


_accessResultDataAsOne

protected AccessResultData _accessResultDataAsOne
ACCESS_RESULT_DATA as 'accessResultDataAsOne'.

コンストラクタの詳細

BsAccessResult

public BsAccessResult()
メソッドの詳細

getTableDbName

public java.lang.String getTableDbName()
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の getTableDbName

getTablePropertyName

public java.lang.String getTablePropertyName()
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の getTablePropertyName

getDBMeta

public org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta()
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の getDBMeta

getAccessResultDataAsOne

public AccessResultData getAccessResultDataAsOne()
ACCESS_RESULT_DATA as 'accessResultDataAsOne'. {without lazy-load}

戻り値:
the entity of foreign property(referrer-as-one) 'accessResultDataAsOne'. (Nullable: If the foreign key does not have 'NotNull' constraint, please check null.)

setAccessResultDataAsOne

public void setAccessResultDataAsOne(AccessResultData accessResultDataAsOne)
ACCESS_RESULT_DATA as 'accessResultDataAsOne'.

パラメータ:
accessResultDataAsOne - The entity of foreign property(referrer-as-one) 'accessResultDataAsOne'. (Nullable)

hasPrimaryKeyValue

public boolean hasPrimaryKeyValue()
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の hasPrimaryKeyValue

getModifiedPropertyNames

public java.util.Set<java.lang.String> getModifiedPropertyNames()
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の getModifiedPropertyNames

newEntityModifiedProperties

protected org.seasar.robot.dbflute.Entity.EntityModifiedProperties newEntityModifiedProperties()

clearModifiedPropertyNames

public void clearModifiedPropertyNames()
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の clearModifiedPropertyNames

hasModification

public boolean hasModification()

equals

public boolean equals(java.lang.Object other)
If the primary-key of the other is same as this one, returns true.

オーバーライド:
クラス java.lang.Object 内の equals
パラメータ:
other - Other entity.
戻り値:
Comparing result.

helpComparingValue

protected boolean helpComparingValue(java.lang.Object value1,
                                     java.lang.Object value2)

hashCode

public int hashCode()
Calculates hash-code from primary-key.

オーバーライド:
クラス java.lang.Object 内の hashCode
戻り値:
Hash-code from primary-key.

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString
戻り値:
The display string of all columns and relation existences. (NotNull)

toStringWithRelation

public java.lang.String toStringWithRelation()
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の toStringWithRelation
戻り値:
The display string of basic informations with one-nested relation values. (NotNull)

buildDisplayString

public java.lang.String buildDisplayString(java.lang.String name,
                                           boolean column,
                                           boolean relation)
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の buildDisplayString
パラメータ:
name - The name for display. (Nullable: If it's null, it does not have a name)
column - Does it contains column values or not?
relation - Does it contains relation existences or not?
戻り値:
The display string for this entity. (NotNull)

getId

public java.lang.Long getId()
ID: {PK : ID : NotNull : BIGINT(19)}

戻り値:
The value of the column 'ID'. (Nullable)

setId

public void setId(java.lang.Long id)
ID: {PK : ID : NotNull : BIGINT(19)}

パラメータ:
id - The value of the column 'ID'. (Nullable)

getSessionId

public java.lang.String getSessionId()
SESSION_ID: {NotNull : VARCHAR(20)}

戻り値:
The value of the column 'SESSION_ID'. (Nullable)

setSessionId

public void setSessionId(java.lang.String sessionId)
SESSION_ID: {NotNull : VARCHAR(20)}

パラメータ:
sessionId - The value of the column 'SESSION_ID'. (Nullable)

getRuleId

public java.lang.String getRuleId()
RULE_ID: {VARCHAR(20)}

戻り値:
The value of the column 'RULE_ID'. (Nullable)

setRuleId

public void setRuleId(java.lang.String ruleId)
RULE_ID: {VARCHAR(20)}

パラメータ:
ruleId - The value of the column 'RULE_ID'. (Nullable)

getUrl

public java.lang.String getUrl()
URL: {NotNull : TEXT(65535)}

戻り値:
The value of the column 'URL'. (Nullable)

setUrl

public void setUrl(java.lang.String url)
URL: {NotNull : TEXT(65535)}

パラメータ:
url - The value of the column 'URL'. (Nullable)

getParentUrl

public java.lang.String getParentUrl()
PARENT_URL: {TEXT(65535)}

戻り値:
The value of the column 'PARENT_URL'. (Nullable)

setParentUrl

public void setParentUrl(java.lang.String parentUrl)
PARENT_URL: {TEXT(65535)}

パラメータ:
parentUrl - The value of the column 'PARENT_URL'. (Nullable)

getStatus

public java.lang.Integer getStatus()
STATUS: {NotNull : INT(10)}

戻り値:
The value of the column 'STATUS'. (Nullable)

setStatus

public void setStatus(java.lang.Integer status)
STATUS: {NotNull : INT(10)}

パラメータ:
status - The value of the column 'STATUS'. (Nullable)

getHttpStatusCode

public java.lang.Integer getHttpStatusCode()
HTTP_STATUS_CODE: {NotNull : INT(10)}

戻り値:
The value of the column 'HTTP_STATUS_CODE'. (Nullable)

setHttpStatusCode

public void setHttpStatusCode(java.lang.Integer httpStatusCode)
HTTP_STATUS_CODE: {NotNull : INT(10)}

パラメータ:
httpStatusCode - The value of the column 'HTTP_STATUS_CODE'. (Nullable)

getMethod

public java.lang.String getMethod()
METHOD: {NotNull : VARCHAR(10)}

戻り値:
The value of the column 'METHOD'. (Nullable)

setMethod

public void setMethod(java.lang.String method)
METHOD: {NotNull : VARCHAR(10)}

パラメータ:
method - The value of the column 'METHOD'. (Nullable)

getMimeType

public java.lang.String getMimeType()
MIME_TYPE: {NotNull : VARCHAR(100)}

戻り値:
The value of the column 'MIME_TYPE'. (Nullable)

setMimeType

public void setMimeType(java.lang.String mimeType)
MIME_TYPE: {NotNull : VARCHAR(100)}

パラメータ:
mimeType - The value of the column 'MIME_TYPE'. (Nullable)

getContentLength

public java.lang.Long getContentLength()
CONTENT_LENGTH: {NotNull : BIGINT(19)}

戻り値:
The value of the column 'CONTENT_LENGTH'. (Nullable)

setContentLength

public void setContentLength(java.lang.Long contentLength)
CONTENT_LENGTH: {NotNull : BIGINT(19)}

パラメータ:
contentLength - The value of the column 'CONTENT_LENGTH'. (Nullable)

getExecutionTime

public java.lang.Integer getExecutionTime()
EXECUTION_TIME: {NotNull : INT(10)}

戻り値:
The value of the column 'EXECUTION_TIME'. (Nullable)

setExecutionTime

public void setExecutionTime(java.lang.Integer executionTime)
EXECUTION_TIME: {NotNull : INT(10)}

パラメータ:
executionTime - The value of the column 'EXECUTION_TIME'. (Nullable)

getLastModified

public java.sql.Timestamp getLastModified()
LAST_MODIFIED: {NotNull : DATETIME(19)}

戻り値:
The value of the column 'LAST_MODIFIED'. (Nullable)

setLastModified

public void setLastModified(java.sql.Timestamp lastModified)
LAST_MODIFIED: {NotNull : DATETIME(19)}

パラメータ:
lastModified - The value of the column 'LAST_MODIFIED'. (Nullable)

getCreateTime

public java.sql.Timestamp getCreateTime()
CREATE_TIME: {NotNull : DATETIME(19)}

戻り値:
The value of the column 'CREATE_TIME'. (Nullable)

setCreateTime

public void setCreateTime(java.sql.Timestamp createTime)
CREATE_TIME: {NotNull : DATETIME(19)}

パラメータ:
createTime - The value of the column 'CREATE_TIME'. (Nullable)


Copyright © 2009. All Rights Reserved.