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