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