public class PepperModuleDesc extends Object implements Comparable<PepperModuleDesc>
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.common.util.URI |
hp |
protected org.eclipse.emf.common.util.URI |
supplierContact |
| Constructor and Description |
|---|
PepperModuleDesc() |
| Modifier and Type | Method and Description |
|---|---|
FormatDesc |
addSupportedFormat(String formatName,
String formatVersion,
org.eclipse.emf.common.util.URI formatReference)
Creates a new
FormatDesc object containing the passed name,
version and reference to the list of of FormatDesc objects
describing all formats supported by the Pepper module, this object
describes. |
int |
compareTo(PepperModuleDesc o)
Compares the passed
PepperModuleDesc object with this. |
boolean |
equals(Object obj)
This method was overwritten because of a findbugs warning
|
String |
getDesc()
Returns a short description of this module.
|
MODULE_TYPE |
getModuleType()
Returns the type of this module.
|
String |
getName()
Returns the name of a Pepper module described by this
PepperModuleDesc object. |
PepperModuleProperties |
getProperties()
Returns a
PepperModuleProperties object containing properties to
customize the behavior of this PepperModule. |
org.eclipse.emf.common.util.URI |
getSupplierContact()
Returns a uri where to find more information about this module and where
to find some contact information to contact the supllier.
|
org.eclipse.emf.common.util.URI |
getSupplierHomepage()
Sets the
URI to the homepage describing the functionality of the
module. |
List<FormatDesc> |
getSupportedFormats()
Returns a list of
FormatDesc objects describing all formats
supported by the Pepper module, this object describes. |
String |
getVersion()
Returns the version of a Pepper module described by this
PepperModuleDesc object. |
int |
hashCode()
This method was overwritten because of a findbugs warning
|
void |
setDesc(String desc)
Sets a short description of this module.
|
void |
setModuleType(MODULE_TYPE moduleType)
Sets the type of this module.
|
void |
setName(String moduleName)
Sets the name of a Pepper module described by this
PepperModuleDesc object. |
void |
setProperties(PepperModuleProperties properties)
Sets the
PepperModuleProperties object containing properties to
customize the behavior of this PepperModule. |
void |
setSupplierContact(org.eclipse.emf.common.util.URI supplierContact)
Sets a uri where to find more information about this module and where to
find some contact information to contact the supllier.
|
void |
setSupplierHomepage(org.eclipse.emf.common.util.URI hp)
Returns the
URI to the homepage describing the functionality of
the module. |
void |
setVersion(String version)
Sets the version of a Pepper module described by this
PepperModuleDesc object. |
String |
toString()
Returns a String representation of this object.
|
protected org.eclipse.emf.common.util.URI supplierContact
protected org.eclipse.emf.common.util.URI hp
public String getName()
PepperModuleDesc object.public void setName(String moduleName)
PepperModuleDesc object.moduleName - name of the Pepper modulepublic String getVersion()
PepperModuleDesc object.public void setVersion(String version)
PepperModuleDesc object.version - of the Pepper modulepublic MODULE_TYPE getModuleType()
public void setModuleType(MODULE_TYPE moduleType)
moduleType - type of modulepublic String getDesc()
public void setDesc(String desc)
desc - a short description of the task of this modulepublic org.eclipse.emf.common.util.URI getSupplierContact()
public void setSupplierContact(org.eclipse.emf.common.util.URI supplierContact)
uri - contact address like eMail address or homepage addresspublic org.eclipse.emf.common.util.URI getSupplierHomepage()
URI to the homepage describing the functionality of the
module.URI to the homepagepublic void setSupplierHomepage(org.eclipse.emf.common.util.URI hp)
URI to the homepage describing the functionality of
the module.hp - URI to the homepagepublic List<FormatDesc> getSupportedFormats()
FormatDesc objects describing all formats
supported by the Pepper module, this object describes.public FormatDesc addSupportedFormat(String formatName, String formatVersion, org.eclipse.emf.common.util.URI formatReference)
FormatDesc object containing the passed name,
version and reference to the list of of FormatDesc objects
describing all formats supported by the Pepper module, this object
describes.formatName - name of the supported formatformatVersion - version of the supported formatformatReference - a reference for information about the format if existFormatDescpublic PepperModuleProperties getProperties()
PepperModuleProperties object containing properties to
customize the behavior of this PepperModule.public void setProperties(PepperModuleProperties properties)
PepperModuleProperties object containing properties to
customize the behavior of this PepperModule. Please make sure,
that this method is called in constructor of your module. If not, a
general PepperModuleProperties object is created by the pepper
framework and will be initialized. This means, when calling this method
later, all properties for customizing the module will be overridden.properties - public String toString()
public int compareTo(PepperModuleDesc o)
PepperModuleDesc object with this. The
sorting order follows the rules:
and ascending name inside the three types.compareTo in interface Comparable<PepperModuleDesc>public boolean equals(Object obj)
Copyright © 2009–2018 Humboldt-Universität zu Berlin, INRIA. All rights reserved.