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.TgwDomain;
19  import org.seasar.tuigwaa.model.core.TgwEntity;
20  import org.seasar.tuigwaa.model.core.impl.BooleanAttribute;
21  import org.seasar.tuigwaa.model.core.impl.DateAttribute;
22  import org.seasar.tuigwaa.model.core.impl.DoubleAttribute;
23  import org.seasar.tuigwaa.model.core.impl.FileAttribute;
24  import org.seasar.tuigwaa.model.core.impl.FkAttribute;
25  import org.seasar.tuigwaa.model.core.impl.FloatAttribute;
26  import org.seasar.tuigwaa.model.core.impl.IntegerAttribute;
27  import org.seasar.tuigwaa.model.core.impl.LongAttribute;
28  import org.seasar.tuigwaa.model.core.impl.SecurityAttribute;
29  import org.seasar.tuigwaa.model.core.impl.SelfAttribute;
30  import org.seasar.tuigwaa.model.core.impl.SetAttribute;
31  import org.seasar.tuigwaa.model.core.impl.StringAttribute;
32  import org.seasar.tuigwaa.model.core.impl.TimestampAttribute;
33  
34  
35  public interface TgwElementVisitor {
36  
37  	public Object visit(IntegerAttribute field, Object data);
38  
39  	public Object visit(LongAttribute field, Object data);
40  
41  	public Object visit(FloatAttribute field, Object data);
42  
43  	public Object visit(BooleanAttribute field, Object data);
44  
45  	public Object visit(StringAttribute field, Object data);
46  
47  	public Object visit(DateAttribute field, Object data);
48  
49  	public Object visit(FkAttribute field, Object data);
50  
51  	public Object visit(FileAttribute field, Object data);
52  	
53  	public Object visit(DoubleAttribute field, Object data);
54  
55  	public Object visit(TimestampAttribute field, Object data);
56  
57  	public Object visit(SecurityAttribute field, Object data);
58  
59  	public Object visit(SetAttribute field, Object data);
60  
61  	public Object visit(SelfAttribute field, Object data);
62  
63  	public Object visit(TgwEntity entity, Object data);
64  
65  	public Object visit(TgwDomain domain, Object data);
66  }