Class WrapperDefinitionImpl

  • All Implemented Interfaces:
    WrapperDefinition

    public class WrapperDefinitionImpl
    extends Object
    implements WrapperDefinition
    Implementation class for a wrapper definition. A wrapper definition combines related implementation, node type, optional interface(s) and optional factory classes.
    Author:
    sanderj
    • Constructor Detail

      • WrapperDefinitionImpl

        public WrapperDefinitionImpl​(String factory,
                                     String implementation,
                                     String[] interfaces,
                                     String nodeType,
                                     String contentType)
        Constructor for a WrapperDefinitionImpl object instance based on a factory, fully qualified name of an implementation class, an arry of integers and a fully qualified name of a jcr nodetype.
        Parameters:
        factory - Fully qualified classname of the factory from which instances of the implementation class can be retrieved
        implementation - Fully qualified classname of an implementation class
        interfaces - Array of fully qualified classnames of interfaces
        nodeType - Fully qualified nodetype name
    • Method Detail

      • getFactory

        public String getFactory()
        Description copied from interface: WrapperDefinition
        Returns the fully qualified classname of the factory from which instances of the class can be retrieved. If there is no factory then null is returned.
        Specified by:
        getFactory in interface WrapperDefinition
        Returns:
        null or the fully qualified classname of the factory class
      • getImplementation

        public String getImplementation()
        Description copied from interface: WrapperDefinition
        Returns null or the fully qualified classname of the implementation class.
        Specified by:
        getImplementation in interface WrapperDefinition
        Returns:
        null or the fully qualified classname of the implementation class
      • getInterfaces

        public String[] getInterfaces()
        Description copied from interface: WrapperDefinition
        Returns null or an array of fully qualified classnames of the interfaces.
        Specified by:
        getInterfaces in interface WrapperDefinition
        Returns:
        null or an array of fully qualified classnames of the interfaces
      • getNodeType

        public String getNodeType()
        Description copied from interface: WrapperDefinition
        Returns null or the fully qualified nodetype name.
        Specified by:
        getNodeType in interface WrapperDefinition
        Returns:
        null or the fully qualified nodetype name
      • getContentType

        public String getContentType()
        Description copied from interface: WrapperDefinition
        Returns the content type assosiated with the implementation class
        Specified by:
        getContentType in interface WrapperDefinition
        Returns:
        the content type assosiated with the implementation class