svnno****@sourc*****
svnno****@sourc*****
2009年 4月 6日 (月) 01:31:42 JST
Revision: 3123 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3123 Author: j5ik2o Date: 2009-04-06 01:31:42 +0900 (Mon, 06 Apr 2009) Log Message: ----------- インターフェイスを追加しました。 Added Paths: ----------- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMetaFactory.java charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/PropertyMetaFactory.java -------------- next part -------------- Added: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMetaFactory.java =================================================================== --- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMetaFactory.java (rev 0) +++ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMetaFactory.java 2009-04-05 16:31:42 UTC (rev 3123) @@ -0,0 +1,40 @@ +/* + * Copyright 2007-2009 Jiemamy Project and the Others. + * Created on Apr 5, 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; + +import java.lang.reflect.Field; + +/** + * TODO for junichi + * + * @author junichi + */ +public interface ColumnMetaFactory { + + /** + * TODO for junichi + * + * @param field + * @param entityMeta + * @param propertyMeta + * @return + */ + ColumnMeta createColumnMeta(Field field, EntityMeta entityMeta, PropertyMeta propertyMeta); + +} Property changes on: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMetaFactory.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/PropertyMetaFactory.java =================================================================== --- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/PropertyMetaFactory.java (rev 0) +++ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/PropertyMetaFactory.java 2009-04-05 16:31:42 UTC (rev 3123) @@ -0,0 +1,39 @@ +/* + * Copyright 2007-2009 Jiemamy Project and the Others. + * Created on Apr 5, 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; + +import java.lang.reflect.Field; + +/** + * {@link PropertyMeta}のファクトリインターフェイス。 + * + * @author j5ik2o + */ +public interface PropertyMetaFactory { + + /** + * {@link PropertyMeta}を生成する。 + * + * @param entityMeta {@link EntityMeta} + * @param field 対象となるフィールド + * @return {@link PropertyMeta} + */ + PropertyMeta createPropertyMeta(EntityMeta entityMeta, Field field); + +} Property changes on: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/PropertyMetaFactory.java ___________________________________________________________________ Added: svn:mime-type + text/plain