org.seasar.toplink.jpa.metadata
クラス TopLinkAttributeDesc

java.lang.Object
  上位を拡張 org.seasar.toplink.jpa.metadata.TopLinkAttributeDesc
すべての実装されたインタフェース:
AttributeDesc

public class TopLinkAttributeDesc
extends Object
implements AttributeDesc

TopLink Essentials用のAttributeDesc実装です。

作成者:
Hidenoshin Yoshida

フィールドの概要
protected  boolean association
           
protected  TopLinkAttributeDesc[] childAttributeDescs
           
protected  Map<String,TopLinkAttributeDesc> childAttributeMap
           
protected  boolean collection
           
protected  boolean component
           
protected  Class<?> elementType
           
protected  boolean id
           
protected  oracle.toplink.essentials.mappings.DatabaseMapping mapping
          DatabaseMappingオブジェクト
protected  String name
           
protected  oracle.toplink.essentials.threetier.ServerSession serverSession
          ServerSessionオブジェクト
protected  int sqlType
           
protected  TemporalType temporalType
           
protected  Class<?> type
           
protected  boolean version
           
 
コンストラクタの概要
TopLinkAttributeDesc(oracle.toplink.essentials.mappings.DatabaseMapping mapping, oracle.toplink.essentials.threetier.ServerSession serverSession)
          コンストラクタ
 
メソッドの概要
 TopLinkAttributeDesc getChildAttributeDesc(String name)
           
 TopLinkAttributeDesc[] getChildAttributeDescs()
           
 Class<?> getElementType()
           
 oracle.toplink.essentials.mappings.DatabaseMapping getMapping()
          DatabaseMappingを返します。
 String getName()
           
 int getSqlType()
           
 TemporalType getTemporalType()
           
 Class<?> getType()
           
 Object getValue(Object entity)
           
 boolean isAssociation()
           
 boolean isCollection()
           
 boolean isComponent()
           
 boolean isId()
           
 boolean isVersion()
           
 void setValue(Object entity, Object value)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

serverSession

protected oracle.toplink.essentials.threetier.ServerSession serverSession
ServerSessionオブジェクト


mapping

protected oracle.toplink.essentials.mappings.DatabaseMapping mapping
DatabaseMappingオブジェクト


elementType

protected Class<?> elementType

name

protected String name

sqlType

protected int sqlType

temporalType

protected TemporalType temporalType

type

protected Class<?> type

association

protected boolean association

collection

protected boolean collection

component

protected boolean component

id

protected boolean id

version

protected boolean version

childAttributeDescs

protected TopLinkAttributeDesc[] childAttributeDescs

childAttributeMap

protected Map<String,TopLinkAttributeDesc> childAttributeMap
コンストラクタの詳細

TopLinkAttributeDesc

public TopLinkAttributeDesc(oracle.toplink.essentials.mappings.DatabaseMapping mapping,
                            oracle.toplink.essentials.threetier.ServerSession serverSession)
コンストラクタ

パラメータ:
mapping - DatabaseMappingオブジェクト
serverSession - ServerSessionオブジェクト
メソッドの詳細

getElementType

public Class<?> getElementType()
定義:
インタフェース AttributeDesc 内の getElementType
関連項目:
AttributeDesc.getElementType()

getName

public String getName()
定義:
インタフェース AttributeDesc 内の getName
関連項目:
AttributeDesc.getName()

getSqlType

public int getSqlType()
定義:
インタフェース AttributeDesc 内の getSqlType
関連項目:
AttributeDesc.getSqlType()

getTemporalType

public TemporalType getTemporalType()
定義:
インタフェース AttributeDesc 内の getTemporalType
関連項目:
AttributeDesc.getTemporalType()

getType

public Class<?> getType()
定義:
インタフェース AttributeDesc 内の getType
関連項目:
AttributeDesc.getType()

getValue

public Object getValue(Object entity)
定義:
インタフェース AttributeDesc 内の getValue
関連項目:
AttributeDesc.getValue(java.lang.Object)

isAssociation

public boolean isAssociation()
定義:
インタフェース AttributeDesc 内の isAssociation
関連項目:
AttributeDesc.isAssociation()

isCollection

public boolean isCollection()
定義:
インタフェース AttributeDesc 内の isCollection
関連項目:
AttributeDesc.isCollection()

isComponent

public boolean isComponent()
定義:
インタフェース AttributeDesc 内の isComponent
関連項目:
AttributeDesc.isComponent()

isId

public boolean isId()
定義:
インタフェース AttributeDesc 内の isId
関連項目:
AttributeDesc.isId()

isVersion

public boolean isVersion()
定義:
インタフェース AttributeDesc 内の isVersion
関連項目:
AttributeDesc.isVersion()

setValue

public void setValue(Object entity,
                     Object value)
定義:
インタフェース AttributeDesc 内の setValue
関連項目:
AttributeDesc.setValue(java.lang.Object, java.lang.Object)

getChildAttributeDesc

public TopLinkAttributeDesc getChildAttributeDesc(String name)
定義:
インタフェース AttributeDesc 内の getChildAttributeDesc
関連項目:
AttributeDesc.getChildAttributeDesc(java.lang.String)

getChildAttributeDescs

public TopLinkAttributeDesc[] getChildAttributeDescs()
定義:
インタフェース AttributeDesc 内の getChildAttributeDescs
関連項目:
AttributeDesc.getChildAttributeDescs()

getMapping

public oracle.toplink.essentials.mappings.DatabaseMapping getMapping()
DatabaseMappingを返します。

戻り値:
DatabaseMapping


Copyright © 2006-2008 The Seasar Foundation. All Rights Reserved.