@OpenApiAll
public class XmiExporterDescription
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
XmiExporterDescription(java.lang.String name,
FormatVersion formatVersion)
Constructor
|
XmiExporterDescription(java.lang.String name,
FormatVersion formatVersion,
java.lang.String umlURI)
Constructor
|
XmiExporterDescription(java.lang.String name,
java.lang.String version)
Deprecated.
use constructor with FileFormat arguments
|
XmiExporterDescription(java.lang.String name,
java.lang.String version,
java.lang.String umlURI)
Deprecated.
use constructor with FileFormat arguments
|
Modifier and Type | Method and Description |
---|---|
void |
addRequiredPlugin(java.lang.String name,
java.lang.String version)
Adds required plugin into map.
|
void |
addRequiredResource(java.lang.String suggestedId,
java.lang.String name,
java.lang.String value)
Adds resource as required for project.
|
boolean |
equals(java.lang.Object o) |
FormatVersion |
getFormatVersion() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.String> |
getRequiredPluginMap()
Returns list of map which plugins and version, which are required for project loading.
|
java.util.List<com.nomagic.persistence.RequiredResourceDescriptor> |
getRequiredResources()
Returns list of required resources IDs
|
java.lang.String |
getUMLNamespaceURI() |
java.lang.String |
getVersion() |
int |
hashCode() |
void |
setRequiredPluginMap(java.util.Map<java.lang.String,java.lang.String> requiredPlugins)
Set required plugins information
|
void |
setRequiredResources(java.util.List<com.nomagic.persistence.RequiredResourceDescriptor> requiredResources)
Set required resources
|
void |
setUMLNamespaceURI(java.lang.String umlNamespaceURI) |
java.lang.String |
toString() |
public XmiExporterDescription(java.lang.String name, java.lang.String version)
name
- exporter nameversion
- exported versionpublic XmiExporterDescription(java.lang.String name, java.lang.String version, @CheckForNull java.lang.String umlURI)
name
- exported nameversion
- exported versionumlURI
- uml metamodel uripublic XmiExporterDescription(java.lang.String name, FormatVersion formatVersion)
name
- exported nameformatVersion
- fileFormat versionpublic XmiExporterDescription(java.lang.String name, FormatVersion formatVersion, @CheckForNull java.lang.String umlURI)
name
- exported nameformatVersion
- fileFormat versionumlURI
- uml metamodel uripublic java.lang.String getName()
public java.lang.String getVersion()
public java.util.Map<java.lang.String,java.lang.String> getRequiredPluginMap()
public void setRequiredPluginMap(java.util.Map<java.lang.String,java.lang.String> requiredPlugins)
requiredPlugins
- required pluginspublic void addRequiredPlugin(java.lang.String name, java.lang.String version)
name
- name of pluginversion
- required version of plugin.public java.util.List<com.nomagic.persistence.RequiredResourceDescriptor> getRequiredResources()
public void setRequiredResources(java.util.List<com.nomagic.persistence.RequiredResourceDescriptor> requiredResources)
requiredResources
- required resourcespublic void addRequiredResource(java.lang.String suggestedId, java.lang.String name, java.lang.String value)
suggestedId
- id of resource.name
- name of resource.value
- value of resource.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
@CheckForNull public java.lang.String getUMLNamespaceURI()
public void setUMLNamespaceURI(java.lang.String umlNamespaceURI)
public FormatVersion getFormatVersion()