Package com.senzing.g2.engine.plugin
Class FeatureElementInfo
- java.lang.Object
-
- com.senzing.g2.engine.plugin.FeatureElementInfo
-
public class FeatureElementInfo extends Object
Describes a feature element value with its code, value and formatting. Instances of this class are not modifiable after being constructed.
-
-
Constructor Summary
Constructors Constructor Description FeatureElementInfo(String elementCode, String elementValue)
Constructs an instance with the specified element code and element value usingFeatureElementValueFormat.NONE
as the format.FeatureElementInfo(String elementCode, String elementValue, FeatureElementValueFormat format)
Constructs an instance with the specified element code, element value andFeatureElementValueFormat
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getElementCode()
Gets the feature element code.String
getElementValue()
Gets the feature element value.FeatureElementValueFormat
getElementValueFormat()
Gets the feature element value format for the value.
-
-
-
Constructor Detail
-
FeatureElementInfo
public FeatureElementInfo(String elementCode, String elementValue)
Constructs an instance with the specified element code and element value usingFeatureElementValueFormat.NONE
as the format.- Parameters:
elementCode
- The feature element code.elementValue
- The feature element value.
-
FeatureElementInfo
public FeatureElementInfo(String elementCode, String elementValue, FeatureElementValueFormat format)
Constructs an instance with the specified element code, element value andFeatureElementValueFormat
.- Parameters:
elementCode
- The feature element code.elementValue
- The feature element value.format
- TheFeatureElementValueFormat
to use.
-
-
Method Detail
-
getElementCode
public String getElementCode()
Gets the feature element code.- Returns:
- The feature element code.
-
getElementValue
public String getElementValue()
Gets the feature element value.- Returns:
- The feature element value.
-
getElementValueFormat
public FeatureElementValueFormat getElementValueFormat()
Gets the feature element value format for the value.- Returns:
- The feature element value format for the value.
-
-