|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.api.support.EntitySQLFilterProperty
public class EntitySQLFilterProperty
SQL filter extra attribute for entities.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.im.df.api.util.ExtraDFItemProperty |
|---|
ExtraDFItemProperty.Customizer |
| Constructor Summary | |
|---|---|
EntitySQLFilterProperty()
|
|
| Method Summary | |
|---|---|
ExtraDFItemProperty.Customizer |
create(DFEntity ent,
String value)
Create customizer for property value modification. |
String |
getDisplayName()
|
static String |
getFilterForEntity(DFEntity entity)
Helper method to find the SQL to be used as a row filter. |
String |
getPropertyName()
|
String |
getShortDescription()
|
boolean |
isCompatible(DFItem item)
Check if this property can be applied to the input field. |
String |
toString()
|
boolean |
validate(DFEntity ent,
String value)
Check validity of value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EntitySQLFilterProperty()
| Method Detail |
|---|
public boolean isCompatible(DFItem item)
ExtraDFItemProperty
isCompatible in interface ExtraDFItemProperty<DFEntity>item - The field for testing
public String getPropertyName()
getPropertyName in interface ExtraDFItemProperty<DFEntity>public String getDisplayName()
getDisplayName in interface ExtraDFItemProperty<DFEntity>public String getShortDescription()
getShortDescription in interface ExtraDFItemProperty<DFEntity>
public ExtraDFItemProperty.Customizer create(DFEntity ent,
String value)
ExtraDFItemProperty
create in interface ExtraDFItemProperty<DFEntity>ent - item for customization.value - default value.
public boolean validate(DFEntity ent,
String value)
ExtraDFItemProperty
validate in interface ExtraDFItemProperty<DFEntity>ent - Item for validation.value - value for validation.
public static String getFilterForEntity(DFEntity entity)
entity - The entity for the filter
public String toString()
toString in class Object
|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||