|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.seasar.eclipselink.jpa.metadata.EclipseLinkEntityDesc
public class EclipseLinkEntityDesc
EclipseLink用のEntityDesc実装です。
フィールドの概要 | |
---|---|
protected Map<String,EclipseLinkAttributeDesc> |
attributeDescMap
フィールド名をキー、EclipseLinkAttributeDescを値に持つMap |
protected EclipseLinkAttributeDesc[] |
attributeDescs
このオブジェクトに関連するEclipseLinkAttributeDesc配列 |
protected String[] |
attributeNames
このオブジェクトに関連するEclipseLinkAttributeDesc名 |
protected ClassDescriptor |
classDescriptor
ClassDescriptorオブジェクト |
protected EclipseLinkAttributeDesc |
idAttributeDesc
このオブジェクトに関連するEntityクラスのIDフィールドを表すAttributeDesc |
protected ServerSession |
serverSession
ServerSessionオブジェクト |
protected List<String> |
tableNames
このオブジェクトに関連するEntityクラスがマッピングされているテーブル名のList |
コンストラクタの概要 | |
---|---|
EclipseLinkEntityDesc(Class<?> entityClass,
ServerSession serverSession)
コンストラクタ。 |
メソッドの概要 | |
---|---|
EclipseLinkAttributeDesc |
getAttributeDesc(String attributeName)
|
EclipseLinkAttributeDesc[] |
getAttributeDescs()
|
String[] |
getAttributeNames()
|
Class<?> |
getEntityClass()
|
String |
getEntityName()
|
EclipseLinkAttributeDesc |
getIdAttributeDesc()
|
InheritancePolicy |
getInheritancePolicy()
ClassDescriptorからInheritancePolicyを取得して返します。 |
ServerSession |
getServerSession()
ServerSessionを返します。 |
List<String> |
getTableNames()
テーブル名一覧のListを返します。 |
boolean |
hasDiscriminatorColumn()
ClassDescriptorがInheritancePolicyを保持していた場合trueを返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected ClassDescriptor classDescriptor
protected ServerSession serverSession
protected Map<String,EclipseLinkAttributeDesc> attributeDescMap
protected EclipseLinkAttributeDesc[] attributeDescs
protected String[] attributeNames
protected EclipseLinkAttributeDesc idAttributeDesc
protected List<String> tableNames
コンストラクタの詳細 |
---|
public EclipseLinkEntityDesc(Class<?> entityClass, ServerSession serverSession)
entityClass
- EntityクラスのクラスオブジェクトserverSession
- ServerSessionメソッドの詳細 |
---|
public EclipseLinkAttributeDesc getAttributeDesc(String attributeName)
EntityDesc
内の getAttributeDesc
EntityDesc.getAttributeDesc(java.lang.String)
public EclipseLinkAttributeDesc[] getAttributeDescs()
EntityDesc
内の getAttributeDescs
EntityDesc.getAttributeDescs()
public String[] getAttributeNames()
EntityDesc
内の getAttributeNames
EntityDesc.getAttributeNames()
public Class<?> getEntityClass()
EntityDesc
内の getEntityClass
EntityDesc.getEntityClass()
public String getEntityName()
EntityDesc
内の getEntityName
EntityDesc.getEntityName()
public EclipseLinkAttributeDesc getIdAttributeDesc()
EntityDesc
内の getIdAttributeDesc
EntityDesc.getIdAttributeDesc()
public List<String> getTableNames()
public ServerSession getServerSession()
public boolean hasDiscriminatorColumn()
public InheritancePolicy getInheritancePolicy()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |