axis2_wsdl4c_constraint.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016  
00017  #ifndef AXIS2_WSDL4C_CONSTRAINT_H
00018  #define AXIS2_WSDL4C_CONSTRAINT_H
00019  
00024 #include <axis2_array_list.h>
00025 #include <axis2_allocator.h>
00026 #include <axis2_env.h>
00027 #include <axis2_error.h>
00028 #ifdef __cplusplus
00029 extern "C"
00030 {
00031 #endif
00032 
00038     enum axis2_wsdl4c_constraints
00039     {
00040         AXIS2_WSDL4C_KEY,
00041         AXIS2_WSLD4C_KEYREF,
00042         AXIS2_WSDL4C_UNIQUE
00043     };
00044    
00045     typedef enum axis2_wsdl4c_constraints axis2_wsdl4c_constraints_t;
00046 
00047     void *
00048     axis2_wsdl4c_constraint_create(axis2_wsdl4c_constraints_t constraints);
00049 
00050     char *
00051     axis2_wsdl4c_constraint_get_name(void *constraint);
00052 
00053     void
00054     axis2_wsdl4c_constraint_set_name(void *constraint, 
00055                                         char *name);
00056 
00062     void
00063     axis2_wsdl4c_constraint_set_selector(void *constraint, 
00064                                             char *xpath); 
00065 
00066     void
00067     axis2_wsdl4c_constraint_add_field(void *constraint, 
00068                                         char *xpath);
00069 
00070     char *
00071     axis2_wsdl4c_constraint_selector(void *constraint); 
00072 
00073 
00074     axis2_array_list_t *
00075     axis2_wsdl4c_constraint_fields(void *constraint);
00076 
00077 
00078     void
00079     axis2_wsdl4c_constraint_set_annotation(void *constraint, 
00080                                             char *s);
00081  
00084 #ifdef __cplusplus
00085 }
00086 #endif
00087 #endif  /* AXIS2_WSDL4C_CONSTRAINT_H */

Generated on Thu Oct 26 21:00:11 2006 for Axis2/C by  doxygen 1.4.7