View Javadoc

1   /*
2    * Copyright 2004-2006 the Seasar Foundation and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.seasar.tuigwaa.model.common;
17  
18  import org.seasar.tuigwaa.model.core.impl.BooleanAttribute;
19  import org.seasar.tuigwaa.model.core.impl.DateAttribute;
20  import org.seasar.tuigwaa.model.core.impl.DoubleAttribute;
21  import org.seasar.tuigwaa.model.core.impl.FileAttribute;
22  import org.seasar.tuigwaa.model.core.impl.FkAttribute;
23  import org.seasar.tuigwaa.model.core.impl.FloatAttribute;
24  import org.seasar.tuigwaa.model.core.impl.IntegerAttribute;
25  import org.seasar.tuigwaa.model.core.impl.LongAttribute;
26  import org.seasar.tuigwaa.model.core.impl.SecurityAttribute;
27  import org.seasar.tuigwaa.model.core.impl.SelfAttribute;
28  import org.seasar.tuigwaa.model.core.impl.SetAttribute;
29  import org.seasar.tuigwaa.model.core.impl.StringAttribute;
30  import org.seasar.tuigwaa.model.core.impl.TimestampAttribute;
31  
32  public interface TgwAttributeVisitor {
33  
34  	public Object visit(StringAttribute field, Object data);
35  
36  	public Object visit(IntegerAttribute field, Object data);
37  
38  	public Object visit(LongAttribute field, Object data);
39  
40  	public Object visit(FloatAttribute field, Object data);
41  
42  	public Object visit(DoubleAttribute field, Object data);
43  
44  	public Object visit(BooleanAttribute field, Object data);
45  
46  	public Object visit(DateAttribute field, Object data);
47  
48  	public Object visit(FkAttribute field, Object data);
49  
50  	public Object visit(FileAttribute field, Object data);
51  	
52  	public Object visit(TimestampAttribute field, Object data);
53  
54  	public Object visit(SetAttribute field, Object data);
55  
56  	public Object visit(SelfAttribute field, Object data);
57  
58  	public Object visit(SecurityAttribute field, Object data);
59  }