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

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

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

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

フィールドの詳細

_id

protected Long _id
ID: {PK, ID, NotNull, BIGINT(19)}


_sessionId

protected String _sessionId
SESSION_ID: {IX, NotNull, VARCHAR(20)}


_ruleId

protected String _ruleId
RULE_ID: {VARCHAR(20)}


_url

protected String _url
URL: {IX+, NotNull, TEXT(65535)}


_parentUrl

protected String _parentUrl
PARENT_URL: {TEXT(65535)}


_status

protected Integer _status
STATUS: {NotNull, INT(10)}


_httpStatusCode

protected Integer _httpStatusCode
HTTP_STATUS_CODE: {NotNull, INT(10)}


_method

protected String _method
METHOD: {NotNull, VARCHAR(10)}


_mimeType

protected String _mimeType
MIME_TYPE: {NotNull, VARCHAR(100)}


_contentLength

protected Long _contentLength
CONTENT_LENGTH: {NotNull, BIGINT(19)}


_executionTime

protected Integer _executionTime
EXECUTION_TIME: {NotNull, INT(10)}


_lastModified

protected Timestamp _lastModified
LAST_MODIFIED: {NotNull, DATETIME(19)}


_createTime

protected Timestamp _createTime
CREATE_TIME: {IX+, NotNull, DATETIME(19)}


__modifiedProperties

protected final 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 String getTableDbName()

定義:
インタフェース org.seasar.robot.dbflute.Entity 内の getTableDbName

getTablePropertyName

public String getTablePropertyName()

定義:
インタフェース org.seasar.robot.dbflute.Entity 内の getTablePropertyName

getDBMeta

public org.seasar.robot.dbflute.dbmeta.DBMeta getDBMeta()

定義:
インタフェース org.seasar.robot.dbflute.Entity 内の getDBMeta

hasPrimaryKeyValue

public boolean hasPrimaryKeyValue()

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

getAccessResultDataAsOne

public AccessResultData getAccessResultDataAsOne()
ACCESS_RESULT_DATA as 'accessResultDataAsOne'.

戻り値:
the entity of foreign property(referrer-as-one) 'accessResultDataAsOne'. (NullAllowed: 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'. (NullAllowed)

modifiedProperties

public Set<String> modifiedProperties()

定義:
インタフェース org.seasar.robot.dbflute.Entity 内の modifiedProperties

clearModifiedInfo

public void clearModifiedInfo()

定義:
インタフェース org.seasar.robot.dbflute.Entity 内の clearModifiedInfo

hasModification

public boolean hasModification()

定義:
インタフェース org.seasar.robot.dbflute.Entity 内の hasModification

newModifiedProperties

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

equals

public boolean equals(Object other)
If primary-keys or columns of the other are same as this one, returns true.

オーバーライド:
クラス Object 内の equals
パラメータ:
other - The other entity. (NullAllowed)
戻り値:
Comparing result.

xSV

protected boolean xSV(Object value1,
                      Object value2)

hashCode

public int hashCode()
Calculates the hash-code from primary-keys or columns.

オーバーライド:
クラス Object 内の hashCode
戻り値:
The hash-code from primary-key or columns.

xCH

protected int xCH(int result,
                  Object value)

toString

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

toStringWithRelation

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

xbRDS

protected String xbRDS(org.seasar.robot.dbflute.Entity e,
                       String name)

buildDisplayString

public String buildDisplayString(String name,
                                 boolean column,
                                 boolean relation)
定義:
インタフェース org.seasar.robot.dbflute.Entity 内の buildDisplayString
パラメータ:
name - The name for display. (NullAllowed: 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)

buildColumnString

protected String buildColumnString()

buildRelationString

protected String buildRelationString()

getId

public Long getId()
[get] ID: {PK, ID, NotNull, BIGINT(19)}

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

setId

public void setId(Long id)
[set] ID: {PK, ID, NotNull, BIGINT(19)}

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

getSessionId

public String getSessionId()
[get] SESSION_ID: {IX, NotNull, VARCHAR(20)}

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

setSessionId

public void setSessionId(String sessionId)
[set] SESSION_ID: {IX, NotNull, VARCHAR(20)}

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

getRuleId

public String getRuleId()
[get] RULE_ID: {VARCHAR(20)}

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

setRuleId

public void setRuleId(String ruleId)
[set] RULE_ID: {VARCHAR(20)}

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

getUrl

public String getUrl()
[get] URL: {IX+, NotNull, TEXT(65535)}

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

setUrl

public void setUrl(String url)
[set] URL: {IX+, NotNull, TEXT(65535)}

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

getParentUrl

public String getParentUrl()
[get] PARENT_URL: {TEXT(65535)}

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

setParentUrl

public void setParentUrl(String parentUrl)
[set] PARENT_URL: {TEXT(65535)}

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

getStatus

public Integer getStatus()
[get] STATUS: {NotNull, INT(10)}

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

setStatus

public void setStatus(Integer status)
[set] STATUS: {NotNull, INT(10)}

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

getHttpStatusCode

public Integer getHttpStatusCode()
[get] HTTP_STATUS_CODE: {NotNull, INT(10)}

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

setHttpStatusCode

public void setHttpStatusCode(Integer httpStatusCode)
[set] HTTP_STATUS_CODE: {NotNull, INT(10)}

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

getMethod

public String getMethod()
[get] METHOD: {NotNull, VARCHAR(10)}

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

setMethod

public void setMethod(String method)
[set] METHOD: {NotNull, VARCHAR(10)}

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

getMimeType

public String getMimeType()
[get] MIME_TYPE: {NotNull, VARCHAR(100)}

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

setMimeType

public void setMimeType(String mimeType)
[set] MIME_TYPE: {NotNull, VARCHAR(100)}

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

getContentLength

public Long getContentLength()
[get] CONTENT_LENGTH: {NotNull, BIGINT(19)}

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

setContentLength

public void setContentLength(Long contentLength)
[set] CONTENT_LENGTH: {NotNull, BIGINT(19)}

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

getExecutionTime

public Integer getExecutionTime()
[get] EXECUTION_TIME: {NotNull, INT(10)}

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

setExecutionTime

public void setExecutionTime(Integer executionTime)
[set] EXECUTION_TIME: {NotNull, INT(10)}

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

getLastModified

public Timestamp getLastModified()
[get] LAST_MODIFIED: {NotNull, DATETIME(19)}

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

setLastModified

public void setLastModified(Timestamp lastModified)
[set] LAST_MODIFIED: {NotNull, DATETIME(19)}

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

getCreateTime

public Timestamp getCreateTime()
[get] CREATE_TIME: {IX+, NotNull, DATETIME(19)}

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

setCreateTime

public void setCreateTime(Timestamp createTime)
[set] CREATE_TIME: {IX+, NotNull, DATETIME(19)}

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


Copyright © 2012. All Rights Reserved.