mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-19 21:50:45 +00:00
Adding heavy field concept
This commit is contained in:
@ -41,6 +41,7 @@ public class GetInput extends AbstractTableActionInput
|
||||
|
||||
private boolean shouldTranslatePossibleValues = false;
|
||||
private boolean shouldGenerateDisplayValues = false;
|
||||
private boolean shouldFetchHeavyFields = true;
|
||||
|
||||
|
||||
|
||||
@ -197,4 +198,35 @@ public class GetInput extends AbstractTableActionInput
|
||||
return (this);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Getter for shouldFetchHeavyFields
|
||||
*******************************************************************************/
|
||||
public boolean getShouldFetchHeavyFields()
|
||||
{
|
||||
return (this.shouldFetchHeavyFields);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Setter for shouldFetchHeavyFields
|
||||
*******************************************************************************/
|
||||
public void setShouldFetchHeavyFields(boolean shouldFetchHeavyFields)
|
||||
{
|
||||
this.shouldFetchHeavyFields = shouldFetchHeavyFields;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Fluent setter for shouldFetchHeavyFields
|
||||
*******************************************************************************/
|
||||
public GetInput withShouldFetchHeavyFields(boolean shouldFetchHeavyFields)
|
||||
{
|
||||
this.shouldFetchHeavyFields = shouldFetchHeavyFields;
|
||||
return (this);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ public class QueryInput extends AbstractTableActionInput
|
||||
|
||||
private boolean shouldTranslatePossibleValues = false;
|
||||
private boolean shouldGenerateDisplayValues = false;
|
||||
private boolean shouldFetchHeavyFields = false;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
// this field - only applies if shouldTranslatePossibleValues is true. //
|
||||
@ -198,6 +199,28 @@ public class QueryInput extends AbstractTableActionInput
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Getter for shouldFetchHeavyFields
|
||||
**
|
||||
*******************************************************************************/
|
||||
public boolean getShouldFetchHeavyFields()
|
||||
{
|
||||
return shouldFetchHeavyFields;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Setter for shouldFetchHeavyFields
|
||||
**
|
||||
*******************************************************************************/
|
||||
public void setShouldFetchHeavyFields(boolean shouldFetchHeavyFields)
|
||||
{
|
||||
this.shouldFetchHeavyFields = shouldFetchHeavyFields;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Getter for transaction
|
||||
**
|
||||
|
@ -51,6 +51,7 @@ public class QFieldMetaData implements Cloneable
|
||||
private QFieldType type;
|
||||
private boolean isRequired = false;
|
||||
private boolean isEditable = true;
|
||||
private boolean isHeavy = false;
|
||||
|
||||
private FieldSecurityLock fieldSecurityLock;
|
||||
|
||||
@ -693,6 +694,7 @@ public class QFieldMetaData implements Cloneable
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Getter for fieldSecurityLock
|
||||
*******************************************************************************/
|
||||
@ -723,4 +725,34 @@ public class QFieldMetaData implements Cloneable
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Getter for isHeavy
|
||||
*******************************************************************************/
|
||||
public boolean getIsHeavy()
|
||||
{
|
||||
return (this.isHeavy);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Setter for isHeavy
|
||||
*******************************************************************************/
|
||||
public void setIsHeavy(boolean isHeavy)
|
||||
{
|
||||
this.isHeavy = isHeavy;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Fluent setter for isHeavy
|
||||
*******************************************************************************/
|
||||
public QFieldMetaData withIsHeavy(boolean isHeavy)
|
||||
{
|
||||
this.isHeavy = isHeavy;
|
||||
return (this);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user