com.ebmwebsourcing.wsstar.qml.impl
Class ConstraintImpl

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<ConstraintType>
      extended by com.ebmwebsourcing.wsstar.qml.impl.ConstraintImpl
All Implemented Interfaces:
Constraint, java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement

public class ConstraintImpl
extends org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<ConstraintType>
implements Constraint

Version:
1.0
Author:
Le Duc Bao - France Telecom
See Also:
Serialized Form

Field Summary
protected  java.net.URI baseURI
          the baseUri
protected  java.util.Map<WSQMLReader.FeatureConstants,java.lang.Object> features
          Features
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
ConstraintImpl(ConstraintType model, org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl parent)
           
ConstraintImpl(java.net.URI baseURI, ConstraintType model, java.util.Map<WSQMLReader.FeatureConstants,java.lang.Object> features)
           
 
Method Summary
 java.net.URI getDocumentBaseURI()
          methods for baseURI
 java.lang.String getOperator()
           
 javax.xml.namespace.QName getTagQName()
           
 Value getValue()
           
 Value newValue()
           
 void setDocumentBaseURI(java.net.URI documentBaseURI)
          Set the document base URI of this definition.
 void setOperator(java.lang.String op)
           
 void setTagQName(javax.xml.namespace.QName name)
           
 void setValue(Value val)
           
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
createDocumentation, getDocumentation, getModel, getOtherAttributes, getParent, getSchema, getTopParent, setDocumentation, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseURI

protected java.net.URI baseURI
the baseUri


features

protected java.util.Map<WSQMLReader.FeatureConstants,java.lang.Object> features
Features

Constructor Detail

ConstraintImpl

public ConstraintImpl(java.net.URI baseURI,
                      ConstraintType model,
                      java.util.Map<WSQMLReader.FeatureConstants,java.lang.Object> features)
               throws WSQMLException
Throws:
WSQMLException

ConstraintImpl

public ConstraintImpl(ConstraintType model,
                      org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl parent)
               throws WSQMLException
Throws:
WSQMLException
Method Detail

getTagQName

public javax.xml.namespace.QName getTagQName()
Specified by:
getTagQName in interface Constraint

setTagQName

public void setTagQName(javax.xml.namespace.QName name)
Specified by:
setTagQName in interface Constraint

getDocumentBaseURI

public java.net.URI getDocumentBaseURI()
methods for baseURI

Specified by:
getDocumentBaseURI in interface Constraint
Returns:
the document base URI

setDocumentBaseURI

public void setDocumentBaseURI(java.net.URI documentBaseURI)
Description copied from interface: Constraint
Set the document base URI of this definition. Can be used to represent the origin of the Definition, and can be exploited when resolving relative URIs (e.g. in <import>s).

Specified by:
setDocumentBaseURI in interface Constraint
Parameters:
documentBaseURI - the document base URI of this definition

getOperator

public java.lang.String getOperator()
Specified by:
getOperator in interface Constraint

getValue

public Value getValue()
Specified by:
getValue in interface Constraint

setOperator

public void setOperator(java.lang.String op)
Specified by:
setOperator in interface Constraint

setValue

public void setValue(Value val)
Specified by:
setValue in interface Constraint

newValue

public Value newValue()
               throws WSQMLException
Specified by:
newValue in interface Constraint
Throws:
WSQMLException


Copyright © 2009 eBM Websourcing. All Rights Reserved.