Class WrapperDefinitionImpl
- java.lang.Object
-
- nl.gx.webmanager.services.wrapper.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 Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
Returns the content type assosiated with the implementation classString
getFactory()
Returns the fully qualified classname of the factory from which instances of the class can be retrieved.String
getImplementation()
Returns null or the fully qualified classname of the implementation class.String[]
getInterfaces()
Returns null or an array of fully qualified classnames of the interfaces.String
getNodeType()
Returns null or the fully qualified nodetype name.
-
-
-
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 retrievedimplementation
- Fully qualified classname of an implementation classinterfaces
- Array of fully qualified classnames of interfacesnodeType
- 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 interfaceWrapperDefinition
- 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 interfaceWrapperDefinition
- 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 interfaceWrapperDefinition
- 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 interfaceWrapperDefinition
- 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 interfaceWrapperDefinition
- Returns:
- the content type assosiated with the implementation class
-
-