org.apache.tuscany.sca.interfacedef.wsdl
Interface XSDefinition


public interface XSDefinition

Represents an XML Schema definition.

Version:
$Rev: 537390 $ $Date: 2007-05-12 12:30:20 +0100 (Sat, 12 May 2007) $

Method Summary
 java.lang.String getNamespace()
          Returns the namespace of this XmlSchema definition.
 org.apache.ws.commons.schema.XmlSchema getSchema()
          Returns the XmlSchema definition model
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setNamespace(java.lang.String namespace)
          Sets the namespace of this XmlSchema definition.
 void setSchema(org.apache.ws.commons.schema.XmlSchema definition)
          Sets the XmlSchema definition model
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 

Method Detail

getSchema

org.apache.ws.commons.schema.XmlSchema getSchema()
Returns the XmlSchema definition model

Returns:
the XmlSchema definition model

setSchema

void setSchema(org.apache.ws.commons.schema.XmlSchema definition)
Sets the XmlSchema definition model

Parameters:
definition - the XmlSchema definition model

getNamespace

java.lang.String getNamespace()
Returns the namespace of this XmlSchema definition.

Returns:
the namespace of this XmlSchema definition

setNamespace

void setNamespace(java.lang.String namespace)
Sets the namespace of this XmlSchema definition.

Parameters:
namespace - the namespace of this XmlSchema definition

isUnresolved

boolean isUnresolved()
Returns true if the model element is unresolved.

Returns:
true if the model element is unresolved.

setUnresolved

void setUnresolved(boolean unresolved)
Sets whether the model element is unresolved.

Parameters:
unresolved - whether the model element is unresolved