[seek-dev] RE: source code area structure
Jing Tao
tao at nceas.ucsb.edu
Wed Sep 17 16:45:40 PDT 2003
Hi, Bing:
On Wed, 17 Sep 2003, Bing Zhu wrote:
> Jing,
>
> 1. I guess you already have the file 'QueryType.java'? It will be easier for
> me if you send me the file.
> Or you can point to me where is it in dev.nceas.ucsb.edu.
> (Sure I can check the tree out and run ant to create it. But check the
> (2)).
The attached java files are QueryType.java and relative file in stub.
> 2. Since you have much experience with OGSA, you are in charge of it. Since
> we are using OGSA
> as a common layer for both Metacat and SRB, our OGSA-based query will
> create Metacat and SRB
> query object and get results back. In this picture, I currently just
> need to concentrate on creating
> a SRB query object which accepts argument of type QueryType and get the
> search result from SRB
> system. For this I can treat it as a standalone object and have a small
> test main to test my code.
> Once it is done, I just need to plug my SrbSeekQuery into your OGSA
> service.
To my understanding, Metacat and SRB need setup grid service
seperately. They have seperate implementation and using differenct url. I
don't think we put them into one class. (I am sorry I missunderstood your
last email).
What I did in OGSA is try to setup build file and help us to generate
grid service from a given Impl class(for example either metacat or srb)
and wsdl file(actully it is gwsdl file). The wsdl file is same to metacat
and srb. But the implementation for metacat and srb is different. You
might take a look the MetacatImpl class and it has one method named query.
This method should have one input - a QueryType object and a return -
AnyRecordType (oh, I need to change it to ResultSetType). In
implemenation, we need to figureout how to transfer QueryType java object
to Ecogrid query xml file(SRB and Metacat can share it). Then base the
ecogrid query xml, metacat(or SRB) will transfer it to its native query.
To the result, we need figure out how to transform our native result to
ecogrid result format and then transform the ecogrid result format xml
file to AnyRecordType(Resultset Type) java object. Now I am working
how to transform QueryType java object to ecogrid query xml and transfer
ecogrid xml result set to java object.
If it is possible, could you give me a call tomorrow?
Thanks.
Jing
> Bing
>
>
>
> -----Original Message-----
> From: Jing Tao [mailto:tao at nceas.ucsb.edu]
> Sent: Tuesday, September 16, 2003 6:53 PM
> To: Bing Zhu
> Cc: Seek-Dev
> Subject: Re: source code area structure
>
>
> On Tue, 16 Sep 2003, Bing Zhu wrote:
>
> > Jing,
> >
> > Following the last mail, where is the code of 'QueryType.java'?
> > I saw the following line.
> > import org.ecoinformatics.ecogrid.QueryType
>
> It is a stubs file which you need run ant in ecogrid directory to get it.
> It is in build/stubs after you running ant.
> >
> > I think we need to move the 'impl' and 'client' under EcoGrid rather
> > than having them under EcoGrid/Metacat since the Ecogrid query service
> > will submit queries to both Metacat and SRB. Namely,
> > seek/projects/ecogrid/src/org/ecoinformatics/ecogrid/client/Client.java
> > seek/projects/ecogrid/src/org/ecoinformatics/ecogrid/impl/QueryImpl.java
> > etc.
> >
> > And then we have java code from Metacat and SRB for EcoGrid stored in
> > seek/projects/ecogrid/src/org/ecoinformatics/ecogrid/metacat
> > and
> > seek/projects/ecogrid/src/org/ecoinformatics/ecogrid/srb.
> >
> > Thus the package can have consistent names such as
> > import org.ecoinformatics.ecogrid.srb.MetacatQuery
> > and
> > import org.ecoinformatics.ecogrid.srb.SrbQuery
> > .
>
> It is a good idea. But there is some name depency in globus, so I do this
> way.
>
> >
> > Cheers,
> > Bing
> >
>
>
> Thanks.
>
> Jing
>
> --
> Jing Tao
> National Center for Ecological
> Analysis and Synthesis (NCEAS)
> 735 State St. Suite 204
> Santa Barbara, CA 93101
>
--
Jing Tao
National Center for Ecological
Analysis and Synthesis (NCEAS)
735 State St. Suite 204
Santa Barbara, CA 93101
-------------- next part --------------
/**
* ANDType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package org.ecoinformatics.ecogrid;
public class ANDType implements java.io.Serializable {
private org.ecoinformatics.ecogrid.ANDType AND;
private org.ecoinformatics.ecogrid.ORType OR;
private org.ecoinformatics.ecogrid.ConditionType condition;
public ANDType() {
}
public org.ecoinformatics.ecogrid.ANDType getAND() {
return AND;
}
public void setAND(org.ecoinformatics.ecogrid.ANDType AND) {
this.AND = AND;
}
public org.ecoinformatics.ecogrid.ORType getOR() {
return OR;
}
public void setOR(org.ecoinformatics.ecogrid.ORType OR) {
this.OR = OR;
}
public org.ecoinformatics.ecogrid.ConditionType getCondition() {
return condition;
}
public void setCondition(org.ecoinformatics.ecogrid.ConditionType condition) {
this.condition = condition;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ANDType)) return false;
ANDType other = (ANDType) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.AND==null && other.getAND()==null) ||
(this.AND!=null &&
this.AND.equals(other.getAND()))) &&
((this.OR==null && other.getOR()==null) ||
(this.OR!=null &&
this.OR.equals(other.getOR()))) &&
((this.condition==null && other.getCondition()==null) ||
(this.condition!=null &&
this.condition.equals(other.getCondition())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAND() != null) {
_hashCode += getAND().hashCode();
}
if (getOR() != null) {
_hashCode += getOR().hashCode();
}
if (getCondition() != null) {
_hashCode += getCondition().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ANDType.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ANDType"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("AND");
elemField.setXmlName(new javax.xml.namespace.QName("", "AND"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ANDType"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("OR");
elemField.setXmlName(new javax.xml.namespace.QName("", "OR"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ORType"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("condition");
elemField.setXmlName(new javax.xml.namespace.QName("", "condition"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ConditionType"));
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
-------------- next part --------------
/**
* ConditionType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package org.ecoinformatics.ecogrid;
public class ConditionType implements java.io.Serializable, org.apache.axis.encoding.SimpleType {
private java.lang.String value;
private org.ecoinformatics.ecogrid.OperatorType operator; // attribute
private java.lang.String concept; // attribute
public ConditionType() {
}
// Simple Types must have a String constructor
public ConditionType(java.lang.String value) {
this.value = value;
}
// Simple Types must have a toString for serializing the value
public java.lang.String toString() {
return value;
}
public java.lang.String getValue() {
return value;
}
public void setValue(java.lang.String value) {
this.value = value;
}
public org.ecoinformatics.ecogrid.OperatorType getOperator() {
return operator;
}
public void setOperator(org.ecoinformatics.ecogrid.OperatorType operator) {
this.operator = operator;
}
public java.lang.String getConcept() {
return concept;
}
public void setConcept(java.lang.String concept) {
this.concept = concept;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ConditionType)) return false;
ConditionType other = (ConditionType) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.value==null && other.getValue()==null) ||
(this.value!=null &&
this.value.equals(other.getValue()))) &&
((this.operator==null && other.getOperator()==null) ||
(this.operator!=null &&
this.operator.equals(other.getOperator()))) &&
((this.concept==null && other.getConcept()==null) ||
(this.concept!=null &&
this.concept.equals(other.getConcept())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getValue() != null) {
_hashCode += getValue().hashCode();
}
if (getOperator() != null) {
_hashCode += getOperator().hashCode();
}
if (getConcept() != null) {
_hashCode += getConcept().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ConditionType.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ConditionType"));
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("operator");
attrField.setXmlName(new javax.xml.namespace.QName("", "operator"));
attrField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "OperatorType"));
typeDesc.addFieldDesc(attrField);
attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("concept");
attrField.setXmlName(new javax.xml.namespace.QName("", "concept"));
attrField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(attrField);
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("value");
elemField.setXmlName(new javax.xml.namespace.QName("", "value"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.SimpleSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.SimpleDeserializer(
_javaType, _xmlType, typeDesc);
}
}
-------------- next part --------------
/**
* ORType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package org.ecoinformatics.ecogrid;
public class ORType implements java.io.Serializable {
private org.ecoinformatics.ecogrid.ANDType AND;
private org.ecoinformatics.ecogrid.ORType OR;
private org.ecoinformatics.ecogrid.ConditionType condition;
public ORType() {
}
public org.ecoinformatics.ecogrid.ANDType getAND() {
return AND;
}
public void setAND(org.ecoinformatics.ecogrid.ANDType AND) {
this.AND = AND;
}
public org.ecoinformatics.ecogrid.ORType getOR() {
return OR;
}
public void setOR(org.ecoinformatics.ecogrid.ORType OR) {
this.OR = OR;
}
public org.ecoinformatics.ecogrid.ConditionType getCondition() {
return condition;
}
public void setCondition(org.ecoinformatics.ecogrid.ConditionType condition) {
this.condition = condition;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ORType)) return false;
ORType other = (ORType) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.AND==null && other.getAND()==null) ||
(this.AND!=null &&
this.AND.equals(other.getAND()))) &&
((this.OR==null && other.getOR()==null) ||
(this.OR!=null &&
this.OR.equals(other.getOR()))) &&
((this.condition==null && other.getCondition()==null) ||
(this.condition!=null &&
this.condition.equals(other.getCondition())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAND() != null) {
_hashCode += getAND().hashCode();
}
if (getOR() != null) {
_hashCode += getOR().hashCode();
}
if (getCondition() != null) {
_hashCode += getCondition().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ORType.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ORType"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("AND");
elemField.setXmlName(new javax.xml.namespace.QName("", "AND"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ANDType"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("OR");
elemField.setXmlName(new javax.xml.namespace.QName("", "OR"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ORType"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("condition");
elemField.setXmlName(new javax.xml.namespace.QName("", "condition"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ConditionType"));
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
-------------- next part --------------
/**
* QueryType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package org.ecoinformatics.ecogrid;
public class QueryType implements java.io.Serializable {
private org.ecoinformatics.ecogrid.QueryType_namespace[] namespace;
private java.lang.String[] title;
private org.ecoinformatics.ecogrid.ANDType AND;
private org.ecoinformatics.ecogrid.ORType OR;
private org.ecoinformatics.ecogrid.ConditionType condition;
private java.lang.String queryId; // attribute
private org.apache.axis.types.URI system; // attribute
public QueryType() {
}
public org.ecoinformatics.ecogrid.QueryType_namespace[] getNamespace() {
return namespace;
}
public void setNamespace(org.ecoinformatics.ecogrid.QueryType_namespace[] namespace) {
this.namespace = namespace;
}
public org.ecoinformatics.ecogrid.QueryType_namespace getNamespace(int i) {
return namespace[i];
}
public void setNamespace(int i, org.ecoinformatics.ecogrid.QueryType_namespace value) {
this.namespace[i] = value;
}
public java.lang.String[] getTitle() {
return title;
}
public void setTitle(java.lang.String[] title) {
this.title = title;
}
public java.lang.String getTitle(int i) {
return title[i];
}
public void setTitle(int i, java.lang.String value) {
this.title[i] = value;
}
public org.ecoinformatics.ecogrid.ANDType getAND() {
return AND;
}
public void setAND(org.ecoinformatics.ecogrid.ANDType AND) {
this.AND = AND;
}
public org.ecoinformatics.ecogrid.ORType getOR() {
return OR;
}
public void setOR(org.ecoinformatics.ecogrid.ORType OR) {
this.OR = OR;
}
public org.ecoinformatics.ecogrid.ConditionType getCondition() {
return condition;
}
public void setCondition(org.ecoinformatics.ecogrid.ConditionType condition) {
this.condition = condition;
}
public java.lang.String getQueryId() {
return queryId;
}
public void setQueryId(java.lang.String queryId) {
this.queryId = queryId;
}
public org.apache.axis.types.URI getSystem() {
return system;
}
public void setSystem(org.apache.axis.types.URI system) {
this.system = system;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof QueryType)) return false;
QueryType other = (QueryType) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.namespace==null && other.getNamespace()==null) ||
(this.namespace!=null &&
java.util.Arrays.equals(this.namespace, other.getNamespace()))) &&
((this.title==null && other.getTitle()==null) ||
(this.title!=null &&
java.util.Arrays.equals(this.title, other.getTitle()))) &&
((this.AND==null && other.getAND()==null) ||
(this.AND!=null &&
this.AND.equals(other.getAND()))) &&
((this.OR==null && other.getOR()==null) ||
(this.OR!=null &&
this.OR.equals(other.getOR()))) &&
((this.condition==null && other.getCondition()==null) ||
(this.condition!=null &&
this.condition.equals(other.getCondition()))) &&
((this.queryId==null && other.getQueryId()==null) ||
(this.queryId!=null &&
this.queryId.equals(other.getQueryId()))) &&
((this.system==null && other.getSystem()==null) ||
(this.system!=null &&
this.system.equals(other.getSystem())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getNamespace() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getNamespace());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getNamespace(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getTitle() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getTitle());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getTitle(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getAND() != null) {
_hashCode += getAND().hashCode();
}
if (getOR() != null) {
_hashCode += getOR().hashCode();
}
if (getCondition() != null) {
_hashCode += getCondition().hashCode();
}
if (getQueryId() != null) {
_hashCode += getQueryId().hashCode();
}
if (getSystem() != null) {
_hashCode += getSystem().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(QueryType.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "QueryType"));
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("queryId");
attrField.setXmlName(new javax.xml.namespace.QName("", "queryId"));
attrField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(attrField);
attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("system");
attrField.setXmlName(new javax.xml.namespace.QName("", "system"));
attrField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyURI"));
typeDesc.addFieldDesc(attrField);
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("namespace");
elemField.setXmlName(new javax.xml.namespace.QName("", "namespace"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "QueryType>namespace"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("title");
elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("AND");
elemField.setXmlName(new javax.xml.namespace.QName("", "AND"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ANDType"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("OR");
elemField.setXmlName(new javax.xml.namespace.QName("", "OR"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ORType"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("condition");
elemField.setXmlName(new javax.xml.namespace.QName("", "condition"));
elemField.setXmlType(new javax.xml.namespace.QName("ecogrid://ecoinformatics.org/ecogrid-query-1.0.0alpha1", "ConditionType"));
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
More information about the Seek-dev
mailing list