Interface CopyableMetaData
- All Superinterfaces:
Cloneable
- All Known Subinterfaces:
Activationspec,AdminObject,AuthenticationMechanism,ConfigProperty,ConnectionDefinition,Connector,Icon,InboundResourceAdapter,LicenseType,Messageadapter,MessageListener,OutboundResourceAdapter,RequiredConfigProperty,ResourceAdapter,SecurityPermission
- All Known Implementing Classes:
LocalizedXsdString,XsdString
A CopyableMetaData.
This interface force implementors to override
copy() method.
On the presence of this method are based some assumption to use generics during clone deep into the metadatas
members.- Author:
- Stefano Maestri
-
Method Summary
-
Method Details
-
copy
CopyableMetaData copy()Creates and returns a copy of this object. Ther copy is done in deep of all elements. It isn't formally a clone of the instance since it does not respect the assumption for which returned clone of cloneMethod are instance of Object- Returns:
- a copy of this instance.
-