KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > orb > ParserDataBase


1 /*
2  * @(#)ParserDataBase.java 1.5 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.impl.orb ;
9
10 import com.sun.corba.se.spi.orb.ParserData ;
11 import com.sun.corba.se.spi.orb.Operation ;
12
13 public abstract class ParserDataBase implements ParserData {
14     private String JavaDoc propertyName ;
15     private Operation operation ;
16     private String JavaDoc fieldName ;
17     private Object JavaDoc defaultValue ;
18     private Object JavaDoc testValue ;
19
20     protected ParserDataBase( String JavaDoc propertyName,
21     Operation operation, String JavaDoc fieldName, Object JavaDoc defaultValue,
22     Object JavaDoc testValue )
23     {
24     this.propertyName = propertyName ;
25     this.operation = operation ;
26     this.fieldName = fieldName ;
27     this.defaultValue = defaultValue ;
28     this.testValue = testValue ;
29     }
30
31     public String JavaDoc getPropertyName() { return propertyName ; }
32     public Operation getOperation() { return operation ; }
33     public String JavaDoc getFieldName() { return fieldName ; }
34     public Object JavaDoc getDefaultValue() { return defaultValue ; }
35     public Object JavaDoc getTestValue() { return testValue ; }
36 }
37
Popular Tags