svnno****@sourc*****
svnno****@sourc*****
2009年 3月 18日 (水) 20:14:54 JST
Revision: 2901 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=2901 Author: daisuke_m Date: 2009-03-18 20:14:54 +0900 (Wed, 18 Mar 2009) Log Message: ----------- 昔RepresentationAdapterってのを作ったのを忘れてTypicalとか作ってた。。。 Removed Paths: ------------- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/TypicalImpl.java zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/utils/Typical.java -------------- next part -------------- Deleted: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/TypicalImpl.java =================================================================== --- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/TypicalImpl.java 2009-03-17 16:46:44 UTC (rev 2900) +++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/TypicalImpl.java 2009-03-18 11:14:54 UTC (rev 2901) @@ -1,45 +0,0 @@ -/* - * Copyright 2007-2009 Jiemamy Project and the Others. - * Created on 2009/03/16 - * - * 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.utils; - -import org.apache.commons.lang.BooleanUtils; - -/** - * 代表カラムであるかどうかを表すアダプタ実装クラス。 - * - * @author daisuke - */ -public class TypicalImpl implements Typical { - - private Boolean typical; - - - public Boolean isTypical() { - return typical; - } - - public void setTypical(Boolean typical) { - this.typical = typical; - } - - @Override - public String toString() { - return BooleanUtils.toString(typical, "", "typical", ""); - } -} Deleted: zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/utils/Typical.java =================================================================== --- zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/utils/Typical.java 2009-03-17 16:46:44 UTC (rev 2900) +++ zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/utils/Typical.java 2009-03-18 11:14:54 UTC (rev 2901) @@ -1,51 +0,0 @@ -/* - * Copyright 2007-2009 Jiemamy Project and the Others. - * Created on 2009/03/16 - * - * 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.utils; - -import org.jiemamy.model.Adapter; -import org.jiemamy.model.AdapterType; - -/** - * 代表カラムであるかどうかを表すアダプタインターフェイス。 - * - * @author daisuke - * @since 0.2 - */ - @ Adapter(AdapterType.MODEL) -public interface Typical { - - /** - * 代表カラムかどうかを取得する。 - * - * @return 代表カラムかどうか. 未設定の場合は{@code null} - * @since 0.2 - */ - Boolean isTypical(); - - /** - * 代表カラムかどうかを設定する。 - * - * <p>未設定とする場合は{@code null}を与える。</p> - * - * @param typical 代表カラムかどうか - * @since 0.2 - */ - void setTypical(Boolean typical); - -}