Class LabeledDefinition

java.lang.Object
com._1c.g5.aef2.standard.definitions.AbstractDefinition
com._1c.g5.aef2.standard.definitions.LabeledDefinition
All Implemented Interfaces:
IComponentFactory, IDefinition, ILabeledDefinition
Direct Known Subclasses:
FieldDefinition, OperationFieldDefinition, StringFieldDefinition

public class LabeledDefinition extends AbstractDefinition implements ILabeledDefinition
The ILabeledDefinition implementation that allows to set and retrieve a label over the basic definition functionality.
  • Constructor Details

    • LabeledDefinition

      public LabeledDefinition(IDefinitionIdentifier id, Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label)
      Creates a new instance with the given arguments.
      Parameters:
      id - the definition identifier, cannot be null.
      componentClass - the class of the component, cannot be null.
      parameterization - the parameterization, cannot be null.
      label - the label, cannot be null.
  • Method Details

    • setLabel

      public void setLabel(String label)
      Sets the label.
      Parameters:
      label - the label, cannot be null.
    • getLabel

      public String getLabel()
      Description copied from interface: ILabeledDefinition
      Returns the label.
      Specified by:
      getLabel in interface ILabeledDefinition
      Returns:
      the label.