public class SimpleFeatureNamedProcessable extends SimpleProcessable implements FeatureNamed
SimpleProcessable
that additionally implements FeatureNamed
.Modifier and Type | Field and Description |
---|---|
java.util.Set<java.lang.String> |
extraFeatureNames |
java.lang.String |
featureName |
processingFlags, processingInfo
Constructor and Description |
---|
SimpleFeatureNamedProcessable()
Creates an uninitialized SimpleFeatureNamedProcessable.
|
SimpleFeatureNamedProcessable(java.lang.String featureName,
int processingFlags,
java.lang.Object processingInfo)
Creates an initialized SimpleFeatureNamedProcessable.
|
Modifier and Type | Method and Description |
---|---|
void |
addExtraFeatureName(java.lang.String featureName)
Adds the feature name to the set of features this entity is part of.
|
java.util.Set<java.lang.String> |
getExtraFeatureNames()
Returns the set of feature names for this entity.
|
java.lang.String |
getFeatureName()
Returns the feature name for this entity.
|
boolean |
isInFeature(java.lang.String featureName)
Returns whether the entity is part of the given feature.
|
void |
setFeatureName(java.lang.String featureName)
Sets the feature name for this entity.
|
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public java.lang.String featureName
public java.util.Set<java.lang.String> extraFeatureNames
public SimpleFeatureNamedProcessable()
public SimpleFeatureNamedProcessable(java.lang.String featureName, int processingFlags, java.lang.Object processingInfo)
public java.lang.String getFeatureName()
FeatureNamed
getFeatureName
in interface FeatureNamed
public void setFeatureName(java.lang.String featureName)
FeatureNamed
setFeatureName
in interface FeatureNamed
featureName
- the feature Name to be set.public void addExtraFeatureName(java.lang.String featureName)
FeatureNamed
addExtraFeatureName
in interface FeatureNamed
featureName
- the feature name to add.public java.util.Set<java.lang.String> getExtraFeatureNames()
FeatureNamed
getExtraFeatureNames
in interface FeatureNamed
public boolean isInFeature(java.lang.String featureName)
FeatureNamed
isInFeature
in interface FeatureNamed
featureName
- the name of the feature to check.