nl.gx.webmanager.wcb.foundation
Class ComponentBundleDefinitionImpl

java.lang.Object
  extended by nl.gx.webmanager.wcb.foundation.ComponentBundleDefinitionImpl
All Implemented Interfaces:
ComponentBundleDefinition

public class ComponentBundleDefinitionImpl
extends java.lang.Object
implements ComponentBundleDefinition

Simple bean class that descibes the configuration of a ComponentBundle.

Author:
bramk

Constructor Summary
ComponentBundleDefinitionImpl()
           
 
Method Summary
 org.osgi.framework.BundleContext getBundleContext()
           
 ComponentDefinition[] getComponentDefinitions()
           
 java.lang.String getDescription()
           
 java.lang.String getDomain()
          Return the Domain of this WCB
 java.lang.String getId()
           
 java.lang.String[] getLanguageResources()
          default getter
 java.lang.String getName()
           
 java.lang.String getNameSpace()
          Returns the namespace of this WCB
 Version getVersion()
           
 java.lang.String getWCBId()
          Return the WCB ID of this WCB
 java.lang.String getWCBKey()
          Return the WCB key for this WCB
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 void setComponentDefinitions(ComponentDefinition[] componentDefinitions)
           
 void setDescription(java.lang.String description)
          basis setter.
 void setDomain(java.lang.String domain)
          Sets the Domain of this WCB
 void setId(java.lang.String id)
          basis setter.
 void setLanguageResources(java.lang.String[] languageResources)
          set the languageResouces for this bundle optional, by default all the files from the messages dir are used
 void setName(java.lang.String name)
          basis setter.
 void setNameSpace(java.lang.String nameSpace)
          Sets the namespace of this WCB
 void setVersion(Version commercialVersion)
          basis setter.
 void setWCBId(java.lang.String wcbId)
          Sets the WCB ID of this WCB
 void setWCBKey(java.lang.String wcbKey)
          Sets the key for the WCB ID of this ComponentBundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentBundleDefinitionImpl

public ComponentBundleDefinitionImpl()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface ComponentBundleDefinition
Returns:

setId

public void setId(java.lang.String id)
basis setter.

Parameters:
id -

getWCBId

public java.lang.String getWCBId()
Return the WCB ID of this WCB

Specified by:
getWCBId in interface ComponentBundleDefinition
Returns:
the WCB ID

setWCBId

public void setWCBId(java.lang.String wcbId)
Sets the WCB ID of this WCB

Parameters:
wcbId - the WCB ID to set

getWCBKey

public java.lang.String getWCBKey()
Return the WCB key for this WCB

Specified by:
getWCBKey in interface ComponentBundleDefinition
Returns:
the WCB Key

setWCBKey

public void setWCBKey(java.lang.String wcbKey)
Sets the key for the WCB ID of this ComponentBundle.

Parameters:
wcbKey - the key for the WCB ID

getDomain

public java.lang.String getDomain()
Return the Domain of this WCB

Specified by:
getDomain in interface ComponentBundleDefinition
Returns:
the Domain

setDomain

public void setDomain(java.lang.String domain)
Sets the Domain of this WCB

Parameters:
domain - the Domain to set

getName

public java.lang.String getName()
Specified by:
getName in interface ComponentBundleDefinition
Returns:

setName

public void setName(java.lang.String name)
basis setter.

Parameters:
name - the name

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ComponentBundleDefinition
Returns:

setDescription

public void setDescription(java.lang.String description)
basis setter.

Parameters:
description - the description

getVersion

public Version getVersion()
Specified by:
getVersion in interface ComponentBundleDefinition
Returns:
the commercial version

setVersion

public void setVersion(Version commercialVersion)
basis setter.

Parameters:
commercialVersion - the commercial version

setLanguageResources

public void setLanguageResources(java.lang.String[] languageResources)
Description copied from interface: ComponentBundleDefinition
set the languageResouces for this bundle optional, by default all the files from the messages dir are used

Specified by:
setLanguageResources in interface ComponentBundleDefinition
Parameters:
languageResources - language resources

getLanguageResources

public java.lang.String[] getLanguageResources()
Description copied from interface: ComponentBundleDefinition
default getter

Specified by:
getLanguageResources in interface ComponentBundleDefinition
Returns:
language resources for this bundle

setComponentDefinitions

public void setComponentDefinitions(ComponentDefinition[] componentDefinitions)
Parameters:
componentDefinitions - the componentDefinitions

getComponentDefinitions

public ComponentDefinition[] getComponentDefinitions()
Specified by:
getComponentDefinitions in interface ComponentBundleDefinition
Returns:

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Specified by:
setBundleContext in interface ComponentBundleDefinition

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()
Specified by:
getBundleContext in interface ComponentBundleDefinition

getNameSpace

public java.lang.String getNameSpace()
Returns the namespace of this WCB

Specified by:
getNameSpace in interface ComponentBundleDefinition
Returns:
The namespace of this WCB

setNameSpace

public void setNameSpace(java.lang.String nameSpace)
Sets the namespace of this WCB

Specified by:
setNameSpace in interface ComponentBundleDefinition
Parameters:
nameSpace - to set


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.