public class RelatedFeaturesImpl extends AbstractComplement<Tagged> implements RelatedFeatures
RelatedFeatures.ContextRelatedFeatures
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOGGER |
COMPLEMENT_MANE, DAL_RELATED_COLUMNS, DAL_RELATED_TABLE, DAL_RELATED_UNIQUE_FIELD_NAME
Constructor and Description |
---|
RelatedFeaturesImpl(ComplementFactory<Tagged> factory,
Tagged object) |
Modifier and Type | Method and Description |
---|---|
RelatedFeatures.ContextRelatedFeatures |
createContext() |
java.util.List<java.lang.String> |
getColumns(RelatedFeatures.ContextRelatedFeatures context) |
FeatureStore |
getFeatureStore(RelatedFeatures.ContextRelatedFeatures context) |
FeatureQuery |
getForeingKeyQuery(RelatedFeatures.ContextRelatedFeatures context,
java.lang.Object codeValue) |
FeatureQuery |
getQuery(RelatedFeatures.ContextRelatedFeatures context,
java.lang.String fieldName,
java.lang.Object codeValue) |
java.lang.String |
getTableName() |
java.lang.Object |
getUniqueKey(RelatedFeatures.ContextRelatedFeatures context,
Feature feature) |
java.lang.String |
getUniqueKeyName() |
FeatureQuery |
getUniqueKeyQuery(RelatedFeatures.ContextRelatedFeatures context,
java.lang.Object codeValue) |
boolean |
isRelatedFeatures() |
boolean |
isRelatedFeatures(RelatedFeatures.ContextRelatedFeatures context) |
getFactory, getObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFactory, getObject
public RelatedFeaturesImpl(ComplementFactory<Tagged> factory, Tagged object)
public boolean isRelatedFeatures()
isRelatedFeatures
in interface RelatedFeatures
public boolean isRelatedFeatures(RelatedFeatures.ContextRelatedFeatures context)
isRelatedFeatures
in interface RelatedFeatures
public java.lang.String getUniqueKeyName()
getUniqueKeyName
in interface RelatedFeatures
public java.lang.String getTableName()
getTableName
in interface RelatedFeatures
public RelatedFeatures.ContextRelatedFeatures createContext()
createContext
in interface RelatedFeatures
public FeatureStore getFeatureStore(RelatedFeatures.ContextRelatedFeatures context)
getFeatureStore
in interface RelatedFeatures
public java.lang.Object getUniqueKey(RelatedFeatures.ContextRelatedFeatures context, Feature feature)
getUniqueKey
in interface RelatedFeatures
public FeatureQuery getForeingKeyQuery(RelatedFeatures.ContextRelatedFeatures context, java.lang.Object codeValue)
getForeingKeyQuery
in interface RelatedFeatures
public FeatureQuery getUniqueKeyQuery(RelatedFeatures.ContextRelatedFeatures context, java.lang.Object codeValue)
getUniqueKeyQuery
in interface RelatedFeatures
public FeatureQuery getQuery(RelatedFeatures.ContextRelatedFeatures context, java.lang.String fieldName, java.lang.Object codeValue)
public java.util.List<java.lang.String> getColumns(RelatedFeatures.ContextRelatedFeatures context)
getColumns
in interface RelatedFeatures