KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > jdo > jdoql > TypeAccess


1 package org.apache.ojb.jdo.jdoql;
2
3 /* Copyright 2003-2005 The Apache Software Foundation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17
18 /**
19  * A type access expression. Note that this expression type can only be
20  * present in a query tree after resolving it.
21  *
22  * @author <a HREF="mailto:tomdz@apache.org">Thomas Dudziak</a>
23  */

24 public class TypeAccess extends NameExpression
25 {
26     /**
27      * Creates a new type access object.
28      *
29      * @param base The base expression (can be <code>null</code>)
30      * @param name The type's name
31      */

32     public TypeAccess(Expression base, String JavaDoc name)
33     {
34         super(base, name);
35     }
36
37     /* (non-Javadoc)
38      * @see org.apache.ojb.jdo.jdoql.Acceptor#accept(org.apache.ojb.jdo.jdoql.Visitor)
39      */

40     public void accept(Visitor visitor)
41     {
42         visitor.visit(this);
43     }
44 }
45
Popular Tags