public class LicenseType extends Object implements IdDecoratedMetadata, MergeableMetadata<LicenseType>, CopyableMetaData
| Modifier and Type | Class and Description |
|---|---|
static class |
LicenseType.Attribute
A Attribute.
|
static class |
LicenseType.Tag
A Tag.
|
| Constructor and Description |
|---|
LicenseType(List<LocalizedXsdString> description,
boolean licenseRequired,
String id) |
LicenseType(List<LocalizedXsdString> description,
boolean licenseRequired,
String id,
String lrid) |
| Modifier and Type | Method and Description |
|---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(Object obj) |
List<LocalizedXsdString> |
getDescriptions() |
String |
getId()
Return the String representing xml ID
|
String |
getLicReqId() |
int |
hashCode() |
boolean |
isLicenseRequired() |
LicenseType |
merge(MergeableMetadata<?> jmd)
Merge specification metadata with vendor metadata
|
String |
toString() |
public LicenseType(List<LocalizedXsdString> description, boolean licenseRequired, String id, String lrid)
description - description of the licenselicenseRequired - mandatory boolena valueid - XML IDlrid - id of licenseRequired elementpublic LicenseType(List<LocalizedXsdString> description, boolean licenseRequired, String id)
description - description of the licenselicenseRequired - mandatory boolena valueid - XML IDpublic List<LocalizedXsdString> getDescriptions()
public boolean isLicenseRequired()
public String getId()
getId in interface IdDecoratedMetadataIdDecoratedMetadata.getId()public String getLicReqId()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()public LicenseType merge(MergeableMetadata<?> jmd) throws Exception
MergeableMetadatamerge in interface MergeableMetadata<LicenseType>jmd - The vendor metadataException - Thrown if an error occurspublic CopyableMetaData copy()
CopyableMetaDatacopy in interface CopyableMetaDataCopyright © 2013 IronJacamar (http://www.ironjacamar.org)