//CQueryImpl.java //Gerard Rodriguez, January 1998, Stanford University //This file does not implement a CQuery. The purpose of this class //is to make the java compiler happy by means of implementing all the //inherited methods in the object type CQuery. import CosPropertyService.*; import IDLInterchange.*; public class CQueryImpl extends IDLInterchange._CQueryImplBase { private java.lang.String[] properties = new java.lang.String[5]; //CosPropertyService.PropertySet public void define_property( java.lang.String property_name, CosPropertyService.Any property_value) throws CosPropertyService.InvalidPropertyName, CosPropertyService.ConflictingProperty, CosPropertyService.UnsupportedTypeCode, CosPropertyService.UnsupportedProperty, CosPropertyService.ReadOnlyProperty { //Not implemented here return; } public void define_properties( CosPropertyService.Property[] nproperties) throws CosPropertyService.MultipleExceptions { //Not implemented here return; } public int get_number_of_properties() { //Not implemented here return(0); } public void get_all_property_names( int how_many, CosPropertyService.PropertyNamesHolder property_names, CosPropertyService.PropertyNamesIteratorHolder rest) { //Not implemented here return; } public CosPropertyService.Any get_property_value( java.lang.String property_name) throws CosPropertyService.PropertyNotFound, CosPropertyService.InvalidPropertyName { //Not implemented here CosPropertyService.Any any = new CosPropertyService.Any(); any.a_long(0); return(any); } public boolean get_properties( java.lang.String[] property_names, CosPropertyService.PropertiesHolder nproperties) { //Not implemented here return(false); } public void get_all_properties( int how_many, CosPropertyService.PropertiesHolder nproperties, CosPropertyService.PropertiesIteratorHolder rest) { //Not implemented here return; } public void delete_property( java.lang.String property_name) throws CosPropertyService.PropertyNotFound, CosPropertyService.InvalidPropertyName, CosPropertyService.FixedProperty { //Not implemented here return; } public void delete_properties( java.lang.String[] property_names) throws CosPropertyService.MultipleExceptions { //Not implemented here return; } public boolean delete_all_properties() { //Not implemented here return(false); } public boolean is_property_defined( java.lang.String property_name) throws CosPropertyService.InvalidPropertyName { //Not implemented here return(false); } //IDLInterchange.CQuery public CQueryImpl () { super(); for(int i=0; i < properties.length; i++) properties[i]=""; } public CQueryImpl (String name) { super(name); for(int i=0; i < properties.length; i++) properties[i]=""; } public IDLInterchange.TQuerySummary GetSummary() { //Not implemented here return(null); } public IDLInterchange.TQueryDescription GetQueryDescription() { //Not implemented here return(null); } public void SetQueryDescription( IDLInterchange.TQueryDescription pQueryDescription) { //Not implemented here return; } public java.lang.String[] GetItemPropertyNames() { return(this.properties); } public void SetItemPropertyNames( java.lang.String[] pItemPropertyNames) { for(int i=0; i < pItemPropertyNames.length ; i++) { //System.out.println(pItemPropertyNames[i]); properties[i] = pItemPropertyNames[i]; } return; } }