Class LicenseTypeImpl
- java.lang.Object
-
- org.jboss.jca.common.metadata.spec.LicenseTypeImpl
-
- All Implemented Interfaces:
Serializable,Cloneable,CopyableMetaData,JCAMetadata,IdDecoratedMetadata,LicenseType,MergeableMetadata<LicenseType>
public class LicenseTypeImpl extends Object implements LicenseType
A LicenseType implementation- Author:
- Stefano Maestri, Jesper Pedersen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicenseTypeImpl(List<LocalizedXsdString> description, boolean licenseRequired, String id, String lrid)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyableMetaDatacopy()booleanequals(Object obj)List<LocalizedXsdString>getDescriptions()StringgetId()StringgetLicReqId()inthashCode()booleanisLicenseRequired()LicenseTypemerge(MergeableMetadata<?> jmd)StringtoString()
-
-
-
Constructor Detail
-
LicenseTypeImpl
public LicenseTypeImpl(List<LocalizedXsdString> description, boolean licenseRequired, String id, String lrid)
Constructor- Parameters:
description- description of the licenselicenseRequired- mandatory boolena valueid- XML IDlrid- id of licenseRequired element
-
-
Method Detail
-
getDescriptions
public List<LocalizedXsdString> getDescriptions()
- Specified by:
getDescriptionsin interfaceLicenseType
-
isLicenseRequired
public boolean isLicenseRequired()
- Specified by:
isLicenseRequiredin interfaceLicenseType
-
getId
public String getId()
- Specified by:
getIdin interfaceIdDecoratedMetadata
-
getLicReqId
public String getLicReqId()
- Specified by:
getLicReqIdin interfaceLicenseType
-
merge
public LicenseType merge(MergeableMetadata<?> jmd) throws Exception
- Specified by:
mergein interfaceMergeableMetadata<LicenseType>- Throws:
Exception
-
copy
public CopyableMetaData copy()
- Specified by:
copyin interfaceCopyableMetaData
-
-