public class TransformationLicense extends java.lang.Object implements ITransformationLicense
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
A_LICENSE_ID
Define the XML attributes for license element.
|
protected static java.lang.String |
A_LICENSE_VERSION |
Constructor and Description |
---|
TransformationLicense(org.eclipse.core.runtime.IConfigurationElement element)
Configuration Element Constructor for a Transformation License.
|
TransformationLicense(java.lang.String licenseId,
java.lang.String licenseVersion)
Complete Constructor for a Transformation License.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLicenseId()
Return the license identifier of the license.
|
java.lang.String |
getLicenseVersion()
Return the license version of the license.
|
protected static final java.lang.String A_LICENSE_ID
protected static final java.lang.String A_LICENSE_VERSION
public TransformationLicense(org.eclipse.core.runtime.IConfigurationElement element)
element
- the Eclipse configuration elementpublic TransformationLicense(java.lang.String licenseId, java.lang.String licenseVersion)
licenseId
- the license identifierlicenseVersion
- the license version numberpublic java.lang.String getLicenseId()
ITransformationLicense
getLicenseId
in interface ITransformationLicense
public java.lang.String getLicenseVersion()
ITransformationLicense
getLicenseVersion
in interface ITransformationLicense