org.jboss.jca.common.api.metadata

## Interface CopyableMetaData

- All Superinterfaces:
    java.lang.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

      public interface CopyableMetaData
      extends java.lang.Cloneable

  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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CopyableMetaData` | `copy()` Creates and returns a copy of this object.

- - ### Method Detail

    - #### 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.

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)