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
The
ILabeledDefinition
implementation that allows to set
and retrieve a label over the basic definition functionality.-
Constructor Summary
ConstructorsConstructorDescriptionLabeledDefinition
(IDefinitionIdentifier id, Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label) Creates a new instance with the given arguments. -
Method Summary
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 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 benull
.componentClass
- the class of the component, cannot benull
.parameterization
- the parameterization, cannot benull
.label
- the label, cannot benull
.
-
-
Method Details
-
setLabel
Sets the label.- Parameters:
label
- the label, cannot benull
.
-
getLabel
Description copied from interface:ILabeledDefinition
Returns the label.- Specified by:
getLabel
in interfaceILabeledDefinition
- Returns:
- the label.
-