svnno****@sourc*****
svnno****@sourc*****
2009年 4月 3日 (金) 10:21:07 JST
Revision: 3073 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3073 Author: j5ik2o Date: 2009-04-03 10:21:07 +0900 (Fri, 03 Apr 2009) Log Message: ----------- EntityMeta系のクラスを新規作成だよっ! Added Paths: ----------- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMetaFactory.java charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/impl/ -------------- next part -------------- Added: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java =================================================================== --- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java (rev 0) +++ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java 2009-04-03 01:21:07 UTC (rev 3073) @@ -0,0 +1,50 @@ +/* + * Copyright 2007-2009 Jiemamy Project and the Others. + * Created on Apr 3, 2009 + * + * This file is part of Jiemamy. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific language + * governing permissions and limitations under the License. + */ +package org.jiemamy.composer.importer.meta; + +/** + * エンティティのメタ情報を扱うクラス。 + * + * @author j5ik2o + */ +public class EntityMeta { + + /** エンティティ名 */ + protected String name; + + + /** + * エンティティ名を取得する。 + * + * @return エンティティ名 + */ + public String getName() { + return name; + } + + /** + * エンティティ名を設定する。 + * + * @param name エンティティ名 + */ + public void setName(String name) { + this.name = name; + } + +} Property changes on: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMetaFactory.java =================================================================== --- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMetaFactory.java (rev 0) +++ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMetaFactory.java 2009-04-03 01:21:07 UTC (rev 3073) @@ -0,0 +1,35 @@ +/* + * Copyright 2007-2009 Jiemamy Project and the Others. + * Created on Apr 3, 2009 + * + * This file is part of Jiemamy. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific language + * governing permissions and limitations under the License. + */ +package org.jiemamy.composer.importer.meta; + +/** + * {@link EntityMeta}のファクトリインターフェイス + * + * @author j5ik2o + */ +public interface EntityMetaFactory { + + /** + * エンティティメタデータを取得する。 + * + * @param entityClass エンティティクラス + * @return {@link EntityMeta} + */ + EntityMeta getEntityMeta(Class<?> entityClass); +} Property changes on: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMetaFactory.java ___________________________________________________________________ Added: svn:mime-type + text/plain