Interface Model

    • Method Detail

      • getTypeForName

        ModelElementType getTypeForName​(String typeName)
        Gets the defined ModelElementType for a type by its name.
        Parameters:
        typeName - the name of the type
        Returns:
        the element type or null if no type is defined for the name
      • getTypeForName

        ModelElementType getTypeForName​(String namespaceUri,
                                        String typeName)
        Gets the defined ModelElementType for a type by its name and namespace URI.
        Parameters:
        namespaceUri - the namespace URI for the type
        typeName - the name of the type
        Returns:
        the element type or null if no type is defined for the name and namespace URI
      • getModelName

        String getModelName()
        Returns the model name, which is the identifier of this model.
        Returns:
        the model name
      • getActualNamespace

        String getActualNamespace​(String alternativeNs)
        Returns the actual namespace URI for an alternative namespace URI
        Parameters:
        alternativeNs - the alternative namespace URI
        Returns:
        the actual namespace URI or null if none is set
      • getAlternativeNamespace

        String getAlternativeNamespace​(String actualNs)
        Returns the alternative namespace URI for a namespace URI
        Parameters:
        actualNs - the actual namespace URI
        Returns:
        the alternative namespace URI or null if none is set
      • getAlternativeNamespaces

        Set<String> getAlternativeNamespaces​(String actualNs)