public class WSField
extends java.lang.Object
Constructor | Description |
---|---|
WSField() |
Constructor
|
WSField(java.lang.String table,
java.lang.String fieldName) |
Modifier and Type | Method | Description |
---|---|---|
static WSField |
fromString(java.lang.String jsonRepresentation) |
Convert from json string
|
java.lang.String |
getFieldName() |
Determine the field name
|
java.util.List<java.lang.String> |
getFilterValues() |
Returns the filter values
|
java.lang.String |
getRelationName() |
Returns the name of the relation
|
java.lang.String |
getTable() |
Returns the name of the table
|
boolean |
isFilterEquals() |
Defines if the filter values should be contained or not
|
void |
setFieldName(java.lang.String fieldName) |
Define the field name
|
void |
setFilterEquals(boolean equals) |
Set the filter logic if the values should be contained or not
|
void |
setFilterValues(java.util.List<java.lang.String> filterValues) |
Defines the filter values
|
void |
setRelationName(java.lang.String name) |
Define the name the relation
|
void |
setTable(java.lang.String table) |
Defines the name of the table
|
java.lang.String |
toString() |
Convert to String
|
public WSField()
public WSField(java.lang.String table, java.lang.String fieldName)
public java.lang.String getTable()
public void setTable(java.lang.String table)
table
- public java.lang.String getFieldName()
public void setFieldName(java.lang.String fieldName)
fieldName
- public java.lang.String getRelationName()
public void setRelationName(java.lang.String name)
name
- public static WSField fromString(java.lang.String jsonRepresentation)
jsonRepresentation
- public java.util.List<java.lang.String> getFilterValues()
public void setFilterValues(java.util.List<java.lang.String> filterValues)
filterValues
- public boolean isFilterEquals()
public void setFilterEquals(boolean equals)
equals
- public java.lang.String toString()
toString
in class java.lang.Object