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 LicenseType
public boolean isLicenseRequired()
isLicenseRequired
in interface LicenseType
public String getId()
getId
in interface IdDecoratedMetadata
public String getLicReqId()
getLicReqId
in interface LicenseType
public LicenseType merge(MergeableMetadata<?> jmd) throws Exception
merge
in interface MergeableMetadata<LicenseType>
Exception
public CopyableMetaData copy()
copy
in interface CopyableMetaData
Copyright © 2021 JBoss by Red Hat. All rights reserved.