public class LicenseTypeImpl extends java.lang.Object implements LicenseType
Constructor and Description |
---|
LicenseTypeImpl(java.util.List<LocalizedXsdString> description,
boolean licenseRequired,
java.lang.String id,
java.lang.String lrid)
Constructor
|
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 LicenseTypeImpl(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 java.util.List<LocalizedXsdString> getDescriptions()
getDescriptions
in interface LicenseType
public boolean isLicenseRequired()
isLicenseRequired
in interface LicenseType
public java.lang.String getId()
getId
in interface IdDecoratedMetadata
public java.lang.String getLicReqId()
getLicReqId
in interface LicenseType
public LicenseType merge(MergeableMetadata<?> jmd) throws java.lang.Exception
merge
in interface MergeableMetadata<LicenseType>
jmd
- The vendor metadatajava.lang.Exception
- Thrown if an error occurspublic CopyableMetaData copy()
copy
in interface CopyableMetaData
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)