com.ebmwebsourcing.geasyschema.domain
Class Schema

java.lang.Object
  extended by com.ebmwebsourcing.geasyschema.domain.Schema
All Implemented Interfaces:
com.ebmwebsourcing.geasyschema.domain.api.ISchema, com.ebmwebsourcing.geasyschema.domain.api.ISchemaElement, java.io.Serializable

public class Schema
extends java.lang.Object
implements com.ebmwebsourcing.geasyschema.domain.api.ISchema

See Also:
Serialized Form

Constructor Summary
Schema()
           
 
Method Summary
 void addElement(com.ebmwebsourcing.geasyschema.domain.api.IElement element)
           
 void addImport(com.ebmwebsourcing.geasyschema.domain.api.ISchema schema)
           
 boolean equals(java.lang.Object o)
           
 com.ebmwebsourcing.geasyschema.domain.api.IElement findElementInSchemas(java.lang.String tns, java.lang.String name)
           
 com.ebmwebsourcing.geasyschema.domain.api.IElement getElement(java.lang.String name)
           
 java.util.Set<com.ebmwebsourcing.geasyschema.domain.api.IElement> getElements()
           
 java.util.Set<com.ebmwebsourcing.geasyschema.domain.api.ISchema> getImports()
           
 java.lang.String getTargetNamespace()
           
 int hashCode()
           
 void setTargetNamespace(java.lang.String namespace)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema

public Schema()
Method Detail

addElement

public void addElement(com.ebmwebsourcing.geasyschema.domain.api.IElement element)
Specified by:
addElement in interface com.ebmwebsourcing.geasyschema.domain.api.ISchema

getElement

public com.ebmwebsourcing.geasyschema.domain.api.IElement getElement(java.lang.String name)
Specified by:
getElement in interface com.ebmwebsourcing.geasyschema.domain.api.ISchema

getElements

public java.util.Set<com.ebmwebsourcing.geasyschema.domain.api.IElement> getElements()
Specified by:
getElements in interface com.ebmwebsourcing.geasyschema.domain.api.ISchema

getTargetNamespace

public java.lang.String getTargetNamespace()
Specified by:
getTargetNamespace in interface com.ebmwebsourcing.geasyschema.domain.api.ISchema

setTargetNamespace

public void setTargetNamespace(java.lang.String namespace)
Specified by:
setTargetNamespace in interface com.ebmwebsourcing.geasyschema.domain.api.ISchema

getImports

public java.util.Set<com.ebmwebsourcing.geasyschema.domain.api.ISchema> getImports()
Specified by:
getImports in interface com.ebmwebsourcing.geasyschema.domain.api.ISchema

addImport

public void addImport(com.ebmwebsourcing.geasyschema.domain.api.ISchema schema)
Specified by:
addImport in interface com.ebmwebsourcing.geasyschema.domain.api.ISchema

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

findElementInSchemas

public com.ebmwebsourcing.geasyschema.domain.api.IElement findElementInSchemas(java.lang.String tns,
                                                                               java.lang.String name)
Specified by:
findElementInSchemas in interface com.ebmwebsourcing.geasyschema.domain.api.ISchema


Copyright © 2011 eBM WebSourcing. All Rights Reserved.