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

public abstract class AbstractModelItemType extends AbstractLogEnabled implements ModelItemType
Abstract class for model group item types
  • Constructor Details

  • Method Details

    • setPluginInfo

      public void setPluginInfo(String pluginName, String featureName, String id)
      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 interface PluginAware
      Parameters:
      pluginName - Unique identifier for the plugin hosting the extension
      featureName - Unique feature identifier (unique for a given pluginName)
      id - Unique identifier of this component
    • getId

      public String getId()
      Description copied from interface: ModelItemType
      Retrieves the identifier of the parameter type
      Specified by:
      getId in interface ModelItemType
      Returns:
      the identifier of the parameter type
    • _getContextAttributes

      protected AttributesImpl _getContextAttributes(DataContext context, boolean saxModel)
      Retrieves the attributes of the context value to SAX
      Parameters:
      context - The context of the data to SAX
      saxModel - true to sax the context model attributes
      Returns:
      the attributes