Class FieldDefinition
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.AbstractDefinition
- 
- com._1c.g5.aef2.standard.definitions.LabeledDefinition
- 
- com._1c.g5.aef2.standard.definitions.FieldDefinition
 
 
 
- 
- All Implemented Interfaces:
- IComponentFactory,- IDefinition,- IFieldDefinition,- ILabeledDefinition
 - Direct Known Subclasses:
- ExtendedFieldDefinition
 
 public class FieldDefinition extends LabeledDefinition implements IFieldDefinition The field definition is a definition of a component capable of editing a list of features of an object. The features are defined asFeaturePaths.
 The main purpose of this definition is to describe the UI element that consists of a label and a control for editing the specified list of features.
 The key feature of this definition isAbstractDefinition.hashCode()andAbstractDefinition.equals(Object)implementation, which ignores all fields except the array of the feature paths. This feature allows to implement rules with convenient ways for managing sets of definitions.
- 
- 
Constructor SummaryConstructors Constructor Description FieldDefinition(Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label, org.eclipse.emf.databinding.FeaturePath... paths)Creates a new instance with the specified arguments.FieldDefinition(Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label, org.eclipse.emf.ecore.EStructuralFeature... features)Creates a new instance with the single feature path defined by its features.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.databinding.FeaturePath[]getFeaturePaths()Returns theFeaturePaths.StringtoString()- 
Methods inherited from class com._1c.g5.aef2.standard.definitions.LabeledDefinitiongetLabel, setLabel
 - 
Methods inherited from class com._1c.g5.aef2.standard.definitions.AbstractDefinitioncreateComponent, equals, getComponentClass, getConstructor, getId, getLayoutData, getParametrization, getParent, hashCode, setComponentClass, setComponentFactory, setLayoutData, setModelFactory, setParameterization, setParent
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IComponentFactorycreateComponent
 - 
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IDefinitiongetComponentClass, getId, getLayoutData, getParametrization, getParent
 - 
Methods inherited from interface com._1c.g5.aef2.standard.definitions.ILabeledDefinitiongetLabel
 
- 
 
- 
- 
- 
Constructor Detail- 
FieldDefinitionpublic FieldDefinition(Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label, org.eclipse.emf.databinding.FeaturePath... paths) Creates a new instance with the specified arguments.- Parameters:
- componentClass- the class of the component
- parameterization- the parameterization
- label- the label
- paths- the feature paths, may be empty
 
 - 
FieldDefinitionpublic FieldDefinition(Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label, org.eclipse.emf.ecore.EStructuralFeature... features) Creates a new instance with the single feature path defined by its features.- Parameters:
- componentClass- the class of the component.
- parameterization- the parameterization.
- label- the label.
- features- the features for- FeaturePath.
 
 
- 
 - 
Method Detail- 
getFeaturePathspublic org.eclipse.emf.databinding.FeaturePath[] getFeaturePaths() Description copied from interface:IFieldDefinitionReturns theFeaturePaths.- Specified by:
- getFeaturePathsin interface- IFieldDefinition
- Returns:
- the feature paths.
 
 
- 
 
-