public class LicenseTypeImpl extends Object implements LicenseType
| Constructor and Description |
|---|
LicenseTypeImpl(List<LocalizedXsdString> description,
boolean licenseRequired,
String id,
String lrid)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CopyableMetaData |
copy() |
boolean |
equals(Object obj) |
List<LocalizedXsdString> |
getDescriptions() |
String |
getId() |
String |
getLicReqId() |
int |
hashCode() |
boolean |
isLicenseRequired() |
LicenseType |
merge(MergeableMetadata<?> jmd) |
String |
toString() |
public LicenseTypeImpl(List<LocalizedXsdString> description, boolean licenseRequired, String id, String lrid)
description - description of the licenselicenseRequired - mandatory boolena valueid - XML IDlrid - id of licenseRequired elementpublic List<LocalizedXsdString> getDescriptions()
getDescriptions in interface LicenseTypepublic boolean isLicenseRequired()
isLicenseRequired in interface LicenseTypepublic String getId()
getId in interface IdDecoratedMetadatapublic String getLicReqId()
getLicReqId in interface LicenseTypepublic LicenseType merge(MergeableMetadata<?> jmd) throws Exception
merge in interface MergeableMetadata<LicenseType>Exceptionpublic CopyableMetaData copy()
copy in interface CopyableMetaDataCopyright © 2021 JBoss by Red Hat. All rights reserved.