jadex.bridge.component.ISubcomponentsFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.
package jadex.bridge.component;
/**
* Allows a component to have subcomponents.
*/
public interface ISubcomponentsFeature extends IExternalSubcomponentsFeature
{
// /**
// * Create a subcomponent.
// * @param component The instance info.
// */
// public IFuture createChild(ComponentInstanceInfo component);
// /**
// * Add a new component as subcomponent of this component.
// * @param component The model or pojo of the component.
// */
// public IFuture createComponent(Object component, CreationInfo info, IResultListener>> resultlistener);
//
// /**
// * Add a new component as subcomponent of this component.
// * @param component The model or pojo of the component.
// */
// public ISubscriptionIntermediateFuture createComponentWithResults(Object component, CreationInfo info);
//
// /**
// * Create a new component on the platform.
// * @param name The component name or null for automatic generation.
// * @param model The model identifier (e.g. file name).
// * @param info Additional start information such as parent component or arguments (optional).
// * @return The id of the component and the results after the component has been killed.
// */
// public ITuple2Future> createComponent(Object component, CreationInfo info);
/**
* Get the local type name of this component as defined in the parent.
* @return The type of this component type.
*/
public String getLocalType();
/**
* Get the file name of a component type.
* @param ctype The component type.
* @return The file name of this component type.
*/
public String getComponentFilename(final String ctype);
/**
* Get the childcount.
* @return the childcount.
*/
public int getChildcount();
//
// /**
// * Inc the child count.
// */
// public int incChildcount();
//
// /**
// * Dec the child count.
// */
// public int decChildcount();
}