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
TheILabeledDefinitionimplementation that allows to set and retrieve a label over the basic definition functionality.
-
-
Constructor Summary
Constructors Constructor Description LabeledDefinition(IDefinitionIdentifier id, Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label)Creates a new instance with the given arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()Returns the label.voidsetLabel(String label)Sets the label.-
Methods inherited from class com._1c.g5.aef2.standard.definitions.AbstractDefinition
createComponent, equals, getComponentClass, getConstructor, getId, getLayoutData, getParametrization, getParent, hashCode, setComponentClass, setComponentFactory, setLayoutData, setModelFactory, setParameterization, setParent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IComponentFactory
createComponent
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IDefinition
getComponentClass, getId, getLayoutData, getParametrization, getParent
-
-
-
-
Constructor Detail
-
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 benull.componentClass- the class of the component, cannot benull.parameterization- the parameterization, cannot benull.label- the label, cannot benull.
-
-
Method Detail
-
setLabel
public void setLabel(String label)
Sets the label.- Parameters:
label- the label, cannot benull.
-
getLabel
public String getLabel()
Description copied from interface:ILabeledDefinitionReturns the label.- Specified by:
getLabelin interfaceILabeledDefinition- Returns:
- the label.
-
-