Package org.ametys.core.model.type
Class AbstractModelItemType
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.model.type.AbstractModelItemType
- All Implemented Interfaces:
ModelItemType
,LogEnabled
,PluginAware
- Direct Known Subclasses:
AbstractElementType
,CompositeRepositoryModelItemType
,RepeaterRepositoryModelItemType
Abstract class for model group item types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Retrieves the identifier of the parameter typevoid
setPluginInfo
(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.runtime.model.type.ModelItemType
valueToJSONForClient, valueToJSONForClient, valueToJSONForEdition, valueToSAX, valueToSAX, valueToSAXForEdition
-
Constructor Details
-
AbstractModelItemType
public AbstractModelItemType()
-
-
Method Details
-
setPluginInfo
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
getId
Description copied from interface:ModelItemType
Retrieves the identifier of the parameter type- Specified by:
getId
in interfaceModelItemType
- Returns:
- the identifier of the parameter type
-