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, setParentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com._1c.g5.aef2.standard.definitions.IComponentFactory
createComponentMethods 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:ILabeledDefinitionReturns the label.- Specified by:
getLabelin interfaceILabeledDefinition- Returns:
- the label.
-