Class LicenseTypeImpl
java.lang.Object
org.jboss.jca.common.metadata.spec.LicenseTypeImpl
- All Implemented Interfaces:
Serializable,Cloneable,CopyableMetaData,JCAMetadata,IdDecoratedMetadata,LicenseType,MergeableMetadata<LicenseType>
A LicenseType implementation
- Author:
- Stefano Maestri, Jesper Pedersen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLicenseTypeImpl(List<LocalizedXsdString> description, boolean licenseRequired, String id, String lrid) Constructor -
Method Summary
-
Constructor Details
-
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 Details
-
getDescriptions
- Specified by:
getDescriptionsin interfaceLicenseType
-
isLicenseRequired
public boolean isLicenseRequired()- Specified by:
isLicenseRequiredin interfaceLicenseType
-
getId
- Specified by:
getIdin interfaceIdDecoratedMetadata
-
getLicReqId
- Specified by:
getLicReqIdin interfaceLicenseType
-
merge
- Specified by:
mergein interfaceMergeableMetadata<LicenseType>- Throws:
Exception
-
copy
- Specified by:
copyin interfaceCopyableMetaData
-
hashCode
public int hashCode() -
equals
-
toString
-