Package org.openbravo.model.ad.ui
Class Field
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.ad.ui.Field
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class Field extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity ADField (stored in table AD_Field).
Help: The Field table defines the Fields displayed within a tab. Changes made to the Field Tab become visible after restart due to caching
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table AD_Fieldstatic String
PROPERTY_ADFIELDACCESSLIST
Property aDFieldAccessList stored in table AD_Fieldstatic String
PROPERTY_ADFIELDTRLLIST
Property aDFieldTrlList stored in table AD_Fieldstatic String
PROPERTY_CENTRALMAINTENANCE
Property centralMaintenance stored in column IsCentrallyMaintained in table AD_Field
Help: The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in 'System Element' table or 'Window' table.static String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table AD_Fieldstatic String
PROPERTY_CLIENTCLASS
Property clientclass stored in column Clientclass in table AD_Fieldstatic String
PROPERTY_COLUMN
Property column stored in column AD_Column_ID in table AD_Field
Help: Link to the database column of the tablestatic String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table AD_Fieldstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table AD_Fieldstatic String
PROPERTY_DESCRIPTION
Property description stored in column Description in table AD_Field
Help: A description is limited to 255 characters.static String
PROPERTY_DISPLAYED
Property displayed stored in column IsDisplayed in table AD_Field
Help: If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayedstatic String
PROPERTY_DISPLAYEDLENGTH
Property displayedLength stored in column DisplayLength in table AD_Field
Help: Display length is the size that will be appear for the field, it can be different that the actual size of the column (note that if it is bigger than the column the data will be truncated to the column size).static String
PROPERTY_DISPLAYENCRIPTION
Deprecated.Property marked as deprecated on field Development Statusstatic String
PROPERTY_DISPLAYFIELDONLY
Property displayFieldOnly stored in column IsFieldOnly in table AD_Field
Help: The Field Only checkbox indicates that the column will display without a label.static String
PROPERTY_DISPLAYLOGIC
Property displayLogic stored in column DisplayLogic in table AD_Field
Help: A specification of statements which, when evaluated as false, cause the field to appear hidden.static String
PROPERTY_DISPLAYLOGICEVALUATEDINTHESERVER
Property displayLogicEvaluatedInTheServer stored in column Displaylogic_Server in table AD_Field
Help: A specification of statements which, when evaluated as false in the Server, cause the field to not appear at all in the Window generated.static String
PROPERTY_DISPLAYLOGICGRID
Property displaylogicgrid stored in column Displaylogicgrid in table AD_Fieldstatic String
PROPERTY_DISPLAYONSAMELINE
Property displayOnSameLine stored in column IsSameLine in table AD_Field
Help: An indication that the field will display on the same line as the previous one.static String
PROPERTY_FIELDGROUP
Property fieldGroup stored in column AD_FieldGroup_ID in table AD_Field
Help: The Field Group indicates the logical group that this field belongs to (History, Amounts, Quantities)static String
PROPERTY_GRIDPOSITION
Property gridPosition stored in column Grid_Seqno in table AD_Field
Help: Position of the column in grid view. If there are fields shown in grid with this property set, they will be placed at first in grid ordered by this value, after them, the rest of fields ordered by their seqNo value.static String
PROPERTY_HELPCOMMENT
Property helpComment stored in column Help in table AD_Field
Help: The Help field contains a hint, comment or help about the use of this item.static String
PROPERTY_ID
Property id stored in column AD_Field_ID in table AD_Field
Help: The Field identifies a field on a database table.static String
PROPERTY_IGNOREINWAD
Property ignoreInWad stored in column Ignoreinwad in table AD_Fieldstatic String
PROPERTY_ISFIRSTFOCUSEDFIELD
Property isFirstFocusedField stored in column Isfirstfocusedfield in table AD_Field
Help: When it is active this field will be focused by default when the tab is opened.static String
PROPERTY_MODULE
Property module stored in column AD_Module_ID in table AD_Field
Help: Indicates the module the element forms part of.static String
PROPERTY_NAME
Property name stored in column Name in table AD_Fieldstatic String
PROPERTY_OBUIAPPCOLSPAN
Property obuiappColspan stored in column EM_Obuiapp_Colspan in table AD_Field
Help: This value can be used to define, multi-columns fields. So fields occupying more then one column. If this value is not set the normal calculation takes place.static String
PROPERTY_OBUIAPPDEFAULTEXPRESSION
Property obuiappDefaultExpression stored in column EM_Obuiapp_Default_Expression in table AD_Field
Help: Defines a JavaScript expression that will be evaluated in the server side and used as default value for the property. You can use any type of variable but it must match the property type, examples: true - the property associated is a boolean "Hello" - the property associated is a string 5.3 - the property associated is a number You can also access the Openbravo API through the OB object and do some more complex expressions, e.g. OB.getSession().getAttribute("SESSIONVAR"); This will retrieve the session variable SESSIONVAR and use it as default value for the filter of this field.static String
PROPERTY_OBUIAPPGCFIELDLIST
Property oBUIAPPGCFieldList stored in table AD_Fieldstatic String
PROPERTY_OBUIAPPROWSPAN
Property obuiappRowspan stored in column EM_Obuiapp_Rowspan in table AD_Field
Help: This value can be used to define, multi-row fields. So fields occupying more then one row. If this value is not set the normal calculation takes place.static String
PROPERTY_OBUIAPPSHOWSUMMARY
Deprecated.Property marked as deprecated on field Development Statusstatic String
PROPERTY_OBUIAPPSUMMARYFN
Property obuiappSummaryfn stored in column EM_Obuiapp_Summaryfn in table AD_Field
Help: Defines the summary function to use, valid values: sum, avg, max, min, countstatic String
PROPERTY_OBUIAPPVALIDATOR
Property obuiappValidator stored in column EM_Obuiapp_Validator in table AD_Field
Help: By default a field have a set of validation functions, isNumber, isBoolean, etc. The developer can define a custom validator function to check the value entered by a the user.static String
PROPERTY_OBUISELOUTFIELD
Property obuiselOutfield stored in column EM_Obuisel_Outfield_ID in table AD_Field
Help: The new selector can define a field as 'Out Field'. If a column from a tab is using a selector with an out field it will get listed. A field from the tab can receive the value of an Selector Out Field when the user picks a record in the selector. This fields establishes the connection between a selector out field and a field in the tab.static String
PROPERTY_ONCHANGEFUNCTION
Property onChangeFunction stored in column Onchangefunction in table AD_Field
Help: This function needs to be the global id of a javascript function which is called on the client whenever the value of the field changes.static String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table AD_Fieldstatic String
PROPERTY_PROPERTY
Property property stored in column Property in table AD_Field
Help: It is the "Configuration Property" this record sets value to. Configuration Properties are defined by modules with the purpose other modules are capable to assign them values.static String
PROPERTY_READONLY
Property readOnly stored in column IsReadOnly in table AD_Field
Help: The Read Only indicates that this field may only be Read. It may not be updated.static String
PROPERTY_RECORDSORTNO
Property recordSortNo stored in column SortNo in table AD_Field
Help: The Record Sort No indicates the ascending sort sequence of the recordsstatic String
PROPERTY_SEQUENCENUMBER
Property sequenceNumber stored in column SeqNo in table AD_Field
Help: The Sequence indicates the order of recordsstatic String
PROPERTY_SHOWINGRIDVIEW
Property showInGridView stored in column ShowInRelation in table AD_Field
Help: When this field is set as 'Y' the field will be shown in the grid view (as well as in the form view), otherwise it only will be displayed in the form view.static String
PROPERTY_SHOWNINSTATUSBAR
Property shownInStatusBar stored in column isShownInStatusBar in table AD_Field
Help: Defines if the field is shown in the status bar.static String
PROPERTY_STARTINODDCOLUMN
Property startinoddcolumn stored in column Startinoddcolumn in table AD_Fieldstatic String
PROPERTY_STARTNEWLINE
Property startnewline stored in column Startnewline in table AD_Fieldstatic String
PROPERTY_TAB
Property tab stored in column AD_Tab_ID in table AD_Field
Help: The Tab indicates a tab that displays within a window.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table AD_Fieldstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table AD_Fieldstatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description Field()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<FieldAccess>
getADFieldAccessList()
List<FieldTrl>
getADFieldTrlList()
Help: Fields are automatically translated, if centrally maintained. You only need to translate not centrally maintained Fields. Allows the translation of any field of the application. After performing any edits, the window must be regenerated.Client
getClient()
Client fieldString
getClientclass()
Column
getColumn()
User
getCreatedBy()
Created by audit userDate
getCreationDate()
Creation date of auditString
getDescription()
Long
getDisplayedLength()
String
getDisplayLogic()
String
getDisplayLogicEvaluatedInTheServer()
String
getDisplaylogicgrid()
String
getEntityName()
FieldGroup
getFieldGroup()
Long
getGridPosition()
String
getHelpComment()
String
getId()
Module
getModule()
String
getName()
Long
getObuiappColspan()
String
getObuiappDefaultExpression()
List<GCField>
getOBUIAPPGCFieldList()
Help: All values set here will be used for the current field.Long
getObuiappRowspan()
String
getObuiappSummaryfn()
String
getObuiappValidator()
SelectorField
getObuiselOutfield()
String
getOnChangeFunction()
Organization
getOrganization()
Gets organization fieldString
getProperty()
Long
getRecordSortNo()
Long
getSequenceNumber()
Tab
getTab()
Date
getUpdated()
Update date of auditUser
getUpdatedBy()
Update by audit userBoolean
isActive()
Gets active fieldBoolean
isCentralMaintenance()
Boolean
isDisplayed()
Boolean
isDisplayEncription()
Deprecated.Property marked as deprecated on field Development StatusBoolean
isDisplayFieldOnly()
Boolean
isDisplayOnSameLine()
Boolean
isFirstFocusedField()
Boolean
isIgnoreInWad()
Boolean
isOBUIAPPShowSummary()
Deprecated.Property marked as deprecated on field Development StatusBoolean
isReadOnly()
Boolean
isShowInGridView()
Boolean
isShownInStatusBar()
Boolean
isStartinoddcolumn()
Boolean
isStartnewline()
void
setActive(Boolean active)
Sets active fieldvoid
setADFieldAccessList(List<FieldAccess> aDFieldAccessList)
void
setADFieldTrlList(List<FieldTrl> aDFieldTrlList)
Help: Fields are automatically translated, if centrally maintained. You only need to translate not centrally maintained Fields. Allows the translation of any field of the application. After performing any edits, the window must be regenerated.void
setCentralMaintenance(Boolean centralMaintenance)
void
setClient(Client client)
Client fieldvoid
setClientclass(String clientclass)
void
setColumn(Column column)
void
setCreatedBy(User createdBy)
Created by audit uservoid
setCreationDate(Date creationDate)
Creation date of auditvoid
setDescription(String description)
void
setDisplayed(Boolean displayed)
void
setDisplayedLength(Long displayedLength)
void
setDisplayEncription(Boolean displayEncription)
Deprecated.Property marked as deprecated on field Development Statusvoid
setDisplayFieldOnly(Boolean displayFieldOnly)
void
setDisplayLogic(String displayLogic)
void
setDisplayLogicEvaluatedInTheServer(String displayLogicEvaluatedInTheServer)
void
setDisplaylogicgrid(String displaylogicgrid)
void
setDisplayOnSameLine(Boolean displayOnSameLine)
void
setFieldGroup(FieldGroup fieldGroup)
void
setFirstFocusedField(Boolean isFirstFocusedField)
void
setGridPosition(Long gridPosition)
void
setHelpComment(String helpComment)
void
setId(String id)
void
setIgnoreInWad(Boolean ignoreInWad)
void
setModule(Module module)
void
setName(String name)
void
setObuiappColspan(Long obuiappColspan)
void
setObuiappDefaultExpression(String obuiappDefaultExpression)
void
setOBUIAPPGCFieldList(List<GCField> oBUIAPPGCFieldList)
Help: All values set here will be used for the current field.void
setObuiappRowspan(Long obuiappRowspan)
void
setOBUIAPPShowSummary(Boolean oBUIAPPShowSummary)
Deprecated.Property marked as deprecated on field Development Statusvoid
setObuiappSummaryfn(String obuiappSummaryfn)
void
setObuiappValidator(String obuiappValidator)
void
setObuiselOutfield(SelectorField obuiselOutfield)
void
setOnChangeFunction(String onChangeFunction)
void
setOrganization(Organization organization)
Sets organization fieldvoid
setProperty(String property)
void
setReadOnly(Boolean readOnly)
void
setRecordSortNo(Long recordSortNo)
void
setSequenceNumber(Long sequenceNumber)
void
setShowInGridView(Boolean showInGridView)
void
setShownInStatusBar(Boolean shownInStatusBar)
void
setStartinoddcolumn(Boolean startinoddcolumn)
void
setStartnewline(Boolean startnewline)
void
setTab(Tab tab)
void
setUpdated(Date updated)
Update date of auditvoid
setUpdatedBy(User updatedBy)
Update by audit user-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column AD_Field_ID in table AD_Field
Help: The Field identifies a field on a database table.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table AD_Field- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table AD_Field- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table AD_Field- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table AD_Field- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table AD_Field- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table AD_Field- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table AD_Field- See Also:
Traceable
, Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
Property name stored in column Name in table AD_Field- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table AD_Field
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_HELPCOMMENT
public static final String PROPERTY_HELPCOMMENT
Property helpComment stored in column Help in table AD_Field
Help: The Help field contains a hint, comment or help about the use of this item.- See Also:
- Constant Field Values
-
PROPERTY_CENTRALMAINTENANCE
public static final String PROPERTY_CENTRALMAINTENANCE
Property centralMaintenance stored in column IsCentrallyMaintained in table AD_Field
Help: The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in 'System Element' table or 'Window' table.- See Also:
- Constant Field Values
-
PROPERTY_TAB
public static final String PROPERTY_TAB
Property tab stored in column AD_Tab_ID in table AD_Field
Help: The Tab indicates a tab that displays within a window.- See Also:
- Constant Field Values
-
PROPERTY_COLUMN
public static final String PROPERTY_COLUMN
Property column stored in column AD_Column_ID in table AD_Field
Help: Link to the database column of the table- See Also:
- Constant Field Values
-
PROPERTY_PROPERTY
public static final String PROPERTY_PROPERTY
Property property stored in column Property in table AD_Field
Help: It is the "Configuration Property" this record sets value to. Configuration Properties are defined by modules with the purpose other modules are capable to assign them values.- See Also:
- Constant Field Values
-
PROPERTY_IGNOREINWAD
public static final String PROPERTY_IGNOREINWAD
Property ignoreInWad stored in column Ignoreinwad in table AD_Field- See Also:
- Constant Field Values
-
PROPERTY_FIELDGROUP
public static final String PROPERTY_FIELDGROUP
Property fieldGroup stored in column AD_FieldGroup_ID in table AD_Field
Help: The Field Group indicates the logical group that this field belongs to (History, Amounts, Quantities)- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYED
public static final String PROPERTY_DISPLAYED
Property displayed stored in column IsDisplayed in table AD_Field
Help: If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYLOGIC
public static final String PROPERTY_DISPLAYLOGIC
Property displayLogic stored in column DisplayLogic in table AD_Field
Help: A specification of statements which, when evaluated as false, cause the field to appear hidden.- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYEDLENGTH
public static final String PROPERTY_DISPLAYEDLENGTH
Property displayedLength stored in column DisplayLength in table AD_Field
Help: Display length is the size that will be appear for the field, it can be different that the actual size of the column (note that if it is bigger than the column the data will be truncated to the column size).- See Also:
- Constant Field Values
-
PROPERTY_READONLY
public static final String PROPERTY_READONLY
Property readOnly stored in column IsReadOnly in table AD_Field
Help: The Read Only indicates that this field may only be Read. It may not be updated.- See Also:
- Constant Field Values
-
PROPERTY_SEQUENCENUMBER
public static final String PROPERTY_SEQUENCENUMBER
Property sequenceNumber stored in column SeqNo in table AD_Field
Help: The Sequence indicates the order of records- See Also:
- Constant Field Values
-
PROPERTY_RECORDSORTNO
public static final String PROPERTY_RECORDSORTNO
Property recordSortNo stored in column SortNo in table AD_Field
Help: The Record Sort No indicates the ascending sort sequence of the records- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYONSAMELINE
public static final String PROPERTY_DISPLAYONSAMELINE
Property displayOnSameLine stored in column IsSameLine in table AD_Field
Help: An indication that the field will display on the same line as the previous one.- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYFIELDONLY
public static final String PROPERTY_DISPLAYFIELDONLY
Property displayFieldOnly stored in column IsFieldOnly in table AD_Field
Help: The Field Only checkbox indicates that the column will display without a label.- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYENCRIPTION
@Deprecated public static final String PROPERTY_DISPLAYENCRIPTION
Deprecated.Property marked as deprecated on field Development StatusProperty displayEncription stored in column IsEncrypted in table AD_Field
Help: This option is deprecated. One of the new references "Password (decryptable)" or "Password (not-decryptable)" should be used instead.- See Also:
- Constant Field Values
-
PROPERTY_SHOWINGRIDVIEW
public static final String PROPERTY_SHOWINGRIDVIEW
Property showInGridView stored in column ShowInRelation in table AD_Field
Help: When this field is set as 'Y' the field will be shown in the grid view (as well as in the form view), otherwise it only will be displayed in the form view.- See Also:
- Constant Field Values
-
PROPERTY_ISFIRSTFOCUSEDFIELD
public static final String PROPERTY_ISFIRSTFOCUSEDFIELD
Property isFirstFocusedField stored in column Isfirstfocusedfield in table AD_Field
Help: When it is active this field will be focused by default when the tab is opened.- See Also:
- Constant Field Values
-
PROPERTY_MODULE
public static final String PROPERTY_MODULE
Property module stored in column AD_Module_ID in table AD_Field
Help: Indicates the module the element forms part of.- See Also:
- Constant Field Values
-
PROPERTY_GRIDPOSITION
public static final String PROPERTY_GRIDPOSITION
Property gridPosition stored in column Grid_Seqno in table AD_Field
Help: Position of the column in grid view. If there are fields shown in grid with this property set, they will be placed at first in grid ordered by this value, after them, the rest of fields ordered by their seqNo value.- See Also:
- Constant Field Values
-
PROPERTY_STARTINODDCOLUMN
public static final String PROPERTY_STARTINODDCOLUMN
Property startinoddcolumn stored in column Startinoddcolumn in table AD_Field- See Also:
- Constant Field Values
-
PROPERTY_STARTNEWLINE
public static final String PROPERTY_STARTNEWLINE
Property startnewline stored in column Startnewline in table AD_Field- See Also:
- Constant Field Values
-
PROPERTY_SHOWNINSTATUSBAR
public static final String PROPERTY_SHOWNINSTATUSBAR
Property shownInStatusBar stored in column isShownInStatusBar in table AD_Field
Help: Defines if the field is shown in the status bar.- See Also:
- Constant Field Values
-
PROPERTY_ONCHANGEFUNCTION
public static final String PROPERTY_ONCHANGEFUNCTION
Property onChangeFunction stored in column Onchangefunction in table AD_Field
Help: This function needs to be the global id of a javascript function which is called on the client whenever the value of the field changes.- See Also:
- Constant Field Values
-
PROPERTY_CLIENTCLASS
public static final String PROPERTY_CLIENTCLASS
Property clientclass stored in column Clientclass in table AD_Field- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYLOGICGRID
public static final String PROPERTY_DISPLAYLOGICGRID
Property displaylogicgrid stored in column Displaylogicgrid in table AD_Field- See Also:
- Constant Field Values
-
PROPERTY_OBUIAPPCOLSPAN
public static final String PROPERTY_OBUIAPPCOLSPAN
Property obuiappColspan stored in column EM_Obuiapp_Colspan in table AD_Field
Help: This value can be used to define, multi-columns fields. So fields occupying more then one column. If this value is not set the normal calculation takes place.- See Also:
- Constant Field Values
-
PROPERTY_OBUIAPPROWSPAN
public static final String PROPERTY_OBUIAPPROWSPAN
Property obuiappRowspan stored in column EM_Obuiapp_Rowspan in table AD_Field
Help: This value can be used to define, multi-row fields. So fields occupying more then one row. If this value is not set the normal calculation takes place.- See Also:
- Constant Field Values
-
PROPERTY_OBUIAPPVALIDATOR
public static final String PROPERTY_OBUIAPPVALIDATOR
Property obuiappValidator stored in column EM_Obuiapp_Validator in table AD_Field
Help: By default a field have a set of validation functions, isNumber, isBoolean, etc. The developer can define a custom validator function to check the value entered by a the user.- See Also:
- Constant Field Values
-
PROPERTY_OBUIAPPSHOWSUMMARY
@Deprecated public static final String PROPERTY_OBUIAPPSHOWSUMMARY
Deprecated.Property marked as deprecated on field Development StatusProperty oBUIAPPShowSummary stored in column EM_Obuiapp_Showsummary in table AD_Field
Help: Defines if the Field should show a summary function at the end of the grid- See Also:
- Constant Field Values
-
PROPERTY_OBUIAPPSUMMARYFN
public static final String PROPERTY_OBUIAPPSUMMARYFN
Property obuiappSummaryfn stored in column EM_Obuiapp_Summaryfn in table AD_Field
Help: Defines the summary function to use, valid values: sum, avg, max, min, count- See Also:
- Constant Field Values
-
PROPERTY_OBUISELOUTFIELD
public static final String PROPERTY_OBUISELOUTFIELD
Property obuiselOutfield stored in column EM_Obuisel_Outfield_ID in table AD_Field
Help: The new selector can define a field as 'Out Field'. If a column from a tab is using a selector with an out field it will get listed. A field from the tab can receive the value of an Selector Out Field when the user picks a record in the selector. This fields establishes the connection between a selector out field and a field in the tab.- See Also:
- Constant Field Values
-
PROPERTY_OBUIAPPDEFAULTEXPRESSION
public static final String PROPERTY_OBUIAPPDEFAULTEXPRESSION
Property obuiappDefaultExpression stored in column EM_Obuiapp_Default_Expression in table AD_Field
Help: Defines a JavaScript expression that will be evaluated in the server side and used as default value for the property. You can use any type of variable but it must match the property type, examples: true - the property associated is a boolean "Hello" - the property associated is a string 5.3 - the property associated is a number You can also access the Openbravo API through the OB object and do some more complex expressions, e.g. OB.getSession().getAttribute("SESSIONVAR"); This will retrieve the session variable SESSIONVAR and use it as default value for the filter of this field.- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYLOGICEVALUATEDINTHESERVER
public static final String PROPERTY_DISPLAYLOGICEVALUATEDINTHESERVER
Property displayLogicEvaluatedInTheServer stored in column Displaylogic_Server in table AD_Field
Help: A specification of statements which, when evaluated as false in the Server, cause the field to not appear at all in the Window generated.- See Also:
- Constant Field Values
-
PROPERTY_ADFIELDACCESSLIST
public static final String PROPERTY_ADFIELDACCESSLIST
Property aDFieldAccessList stored in table AD_Field- See Also:
- Constant Field Values
-
PROPERTY_ADFIELDTRLLIST
public static final String PROPERTY_ADFIELDTRLLIST
Property aDFieldTrlList stored in table AD_Field- See Also:
- Constant Field Values
-
PROPERTY_OBUIAPPGCFIELDLIST
public static final String PROPERTY_OBUIAPPGCFIELDLIST
Property oBUIAPPGCFieldList stored in table AD_Field- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
getName
public String getName()
- See Also:
PROPERTY_NAME
-
setName
public void setName(String name)
- See Also:
PROPERTY_NAME
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
getHelpComment
public String getHelpComment()
- See Also:
PROPERTY_HELPCOMMENT
-
setHelpComment
public void setHelpComment(String helpComment)
- See Also:
PROPERTY_HELPCOMMENT
-
isCentralMaintenance
public Boolean isCentralMaintenance()
- See Also:
PROPERTY_CENTRALMAINTENANCE
-
setCentralMaintenance
public void setCentralMaintenance(Boolean centralMaintenance)
- See Also:
PROPERTY_CENTRALMAINTENANCE
-
getTab
public Tab getTab()
- See Also:
PROPERTY_TAB
-
setTab
public void setTab(Tab tab)
- See Also:
PROPERTY_TAB
-
getColumn
public Column getColumn()
- See Also:
PROPERTY_COLUMN
-
setColumn
public void setColumn(Column column)
- See Also:
PROPERTY_COLUMN
-
getProperty
public String getProperty()
- See Also:
PROPERTY_PROPERTY
-
setProperty
public void setProperty(String property)
- See Also:
PROPERTY_PROPERTY
-
isIgnoreInWad
public Boolean isIgnoreInWad()
- See Also:
PROPERTY_IGNOREINWAD
-
setIgnoreInWad
public void setIgnoreInWad(Boolean ignoreInWad)
- See Also:
PROPERTY_IGNOREINWAD
-
getFieldGroup
public FieldGroup getFieldGroup()
- See Also:
PROPERTY_FIELDGROUP
-
setFieldGroup
public void setFieldGroup(FieldGroup fieldGroup)
- See Also:
PROPERTY_FIELDGROUP
-
isDisplayed
public Boolean isDisplayed()
- See Also:
PROPERTY_DISPLAYED
-
setDisplayed
public void setDisplayed(Boolean displayed)
- See Also:
PROPERTY_DISPLAYED
-
getDisplayLogic
public String getDisplayLogic()
- See Also:
PROPERTY_DISPLAYLOGIC
-
setDisplayLogic
public void setDisplayLogic(String displayLogic)
- See Also:
PROPERTY_DISPLAYLOGIC
-
getDisplayedLength
public Long getDisplayedLength()
- See Also:
PROPERTY_DISPLAYEDLENGTH
-
setDisplayedLength
public void setDisplayedLength(Long displayedLength)
- See Also:
PROPERTY_DISPLAYEDLENGTH
-
isReadOnly
public Boolean isReadOnly()
- See Also:
PROPERTY_READONLY
-
setReadOnly
public void setReadOnly(Boolean readOnly)
- See Also:
PROPERTY_READONLY
-
getSequenceNumber
public Long getSequenceNumber()
- See Also:
PROPERTY_SEQUENCENUMBER
-
setSequenceNumber
public void setSequenceNumber(Long sequenceNumber)
- See Also:
PROPERTY_SEQUENCENUMBER
-
getRecordSortNo
public Long getRecordSortNo()
- See Also:
PROPERTY_RECORDSORTNO
-
setRecordSortNo
public void setRecordSortNo(Long recordSortNo)
- See Also:
PROPERTY_RECORDSORTNO
-
isDisplayOnSameLine
public Boolean isDisplayOnSameLine()
- See Also:
PROPERTY_DISPLAYONSAMELINE
-
setDisplayOnSameLine
public void setDisplayOnSameLine(Boolean displayOnSameLine)
- See Also:
PROPERTY_DISPLAYONSAMELINE
-
isDisplayFieldOnly
public Boolean isDisplayFieldOnly()
- See Also:
PROPERTY_DISPLAYFIELDONLY
-
setDisplayFieldOnly
public void setDisplayFieldOnly(Boolean displayFieldOnly)
- See Also:
PROPERTY_DISPLAYFIELDONLY
-
isDisplayEncription
@Deprecated public Boolean isDisplayEncription()
Deprecated.Property marked as deprecated on field Development Status- See Also:
PROPERTY_DISPLAYENCRIPTION
-
setDisplayEncription
@Deprecated public void setDisplayEncription(Boolean displayEncription)
Deprecated.Property marked as deprecated on field Development Status- See Also:
PROPERTY_DISPLAYENCRIPTION
-
isShowInGridView
public Boolean isShowInGridView()
- See Also:
PROPERTY_SHOWINGRIDVIEW
-
setShowInGridView
public void setShowInGridView(Boolean showInGridView)
- See Also:
PROPERTY_SHOWINGRIDVIEW
-
isFirstFocusedField
public Boolean isFirstFocusedField()
- See Also:
PROPERTY_ISFIRSTFOCUSEDFIELD
-
setFirstFocusedField
public void setFirstFocusedField(Boolean isFirstFocusedField)
- See Also:
PROPERTY_ISFIRSTFOCUSEDFIELD
-
getModule
public Module getModule()
- See Also:
PROPERTY_MODULE
-
setModule
public void setModule(Module module)
- See Also:
PROPERTY_MODULE
-
getGridPosition
public Long getGridPosition()
- See Also:
PROPERTY_GRIDPOSITION
-
setGridPosition
public void setGridPosition(Long gridPosition)
- See Also:
PROPERTY_GRIDPOSITION
-
isStartinoddcolumn
public Boolean isStartinoddcolumn()
- See Also:
PROPERTY_STARTINODDCOLUMN
-
setStartinoddcolumn
public void setStartinoddcolumn(Boolean startinoddcolumn)
- See Also:
PROPERTY_STARTINODDCOLUMN
-
isStartnewline
public Boolean isStartnewline()
- See Also:
PROPERTY_STARTNEWLINE
-
setStartnewline
public void setStartnewline(Boolean startnewline)
- See Also:
PROPERTY_STARTNEWLINE
-
isShownInStatusBar
public Boolean isShownInStatusBar()
- See Also:
PROPERTY_SHOWNINSTATUSBAR
-
setShownInStatusBar
public void setShownInStatusBar(Boolean shownInStatusBar)
- See Also:
PROPERTY_SHOWNINSTATUSBAR
-
getOnChangeFunction
public String getOnChangeFunction()
- See Also:
PROPERTY_ONCHANGEFUNCTION
-
setOnChangeFunction
public void setOnChangeFunction(String onChangeFunction)
- See Also:
PROPERTY_ONCHANGEFUNCTION
-
getClientclass
public String getClientclass()
- See Also:
PROPERTY_CLIENTCLASS
-
setClientclass
public void setClientclass(String clientclass)
- See Also:
PROPERTY_CLIENTCLASS
-
getDisplaylogicgrid
public String getDisplaylogicgrid()
- See Also:
PROPERTY_DISPLAYLOGICGRID
-
setDisplaylogicgrid
public void setDisplaylogicgrid(String displaylogicgrid)
- See Also:
PROPERTY_DISPLAYLOGICGRID
-
getObuiappColspan
public Long getObuiappColspan()
- See Also:
PROPERTY_OBUIAPPCOLSPAN
-
setObuiappColspan
public void setObuiappColspan(Long obuiappColspan)
- See Also:
PROPERTY_OBUIAPPCOLSPAN
-
getObuiappRowspan
public Long getObuiappRowspan()
- See Also:
PROPERTY_OBUIAPPROWSPAN
-
setObuiappRowspan
public void setObuiappRowspan(Long obuiappRowspan)
- See Also:
PROPERTY_OBUIAPPROWSPAN
-
getObuiappValidator
public String getObuiappValidator()
- See Also:
PROPERTY_OBUIAPPVALIDATOR
-
setObuiappValidator
public void setObuiappValidator(String obuiappValidator)
- See Also:
PROPERTY_OBUIAPPVALIDATOR
-
isOBUIAPPShowSummary
@Deprecated public Boolean isOBUIAPPShowSummary()
Deprecated.Property marked as deprecated on field Development Status- See Also:
PROPERTY_OBUIAPPSHOWSUMMARY
-
setOBUIAPPShowSummary
@Deprecated public void setOBUIAPPShowSummary(Boolean oBUIAPPShowSummary)
Deprecated.Property marked as deprecated on field Development Status- See Also:
PROPERTY_OBUIAPPSHOWSUMMARY
-
getObuiappSummaryfn
public String getObuiappSummaryfn()
- See Also:
PROPERTY_OBUIAPPSUMMARYFN
-
setObuiappSummaryfn
public void setObuiappSummaryfn(String obuiappSummaryfn)
- See Also:
PROPERTY_OBUIAPPSUMMARYFN
-
getObuiselOutfield
public SelectorField getObuiselOutfield()
- See Also:
PROPERTY_OBUISELOUTFIELD
-
setObuiselOutfield
public void setObuiselOutfield(SelectorField obuiselOutfield)
- See Also:
PROPERTY_OBUISELOUTFIELD
-
getObuiappDefaultExpression
public String getObuiappDefaultExpression()
- See Also:
PROPERTY_OBUIAPPDEFAULTEXPRESSION
-
setObuiappDefaultExpression
public void setObuiappDefaultExpression(String obuiappDefaultExpression)
- See Also:
PROPERTY_OBUIAPPDEFAULTEXPRESSION
-
getDisplayLogicEvaluatedInTheServer
public String getDisplayLogicEvaluatedInTheServer()
-
setDisplayLogicEvaluatedInTheServer
public void setDisplayLogicEvaluatedInTheServer(String displayLogicEvaluatedInTheServer)
-
getADFieldAccessList
public List<FieldAccess> getADFieldAccessList()
- See Also:
FieldAccess
-
setADFieldAccessList
public void setADFieldAccessList(List<FieldAccess> aDFieldAccessList)
- See Also:
FieldAccess
-
getADFieldTrlList
public List<FieldTrl> getADFieldTrlList()
Help: Fields are automatically translated, if centrally maintained. You only need to translate not centrally maintained Fields. Allows the translation of any field of the application. After performing any edits, the window must be regenerated.- See Also:
FieldTrl
-
setADFieldTrlList
public void setADFieldTrlList(List<FieldTrl> aDFieldTrlList)
Help: Fields are automatically translated, if centrally maintained. You only need to translate not centrally maintained Fields. Allows the translation of any field of the application. After performing any edits, the window must be regenerated.- See Also:
FieldTrl
-
getOBUIAPPGCFieldList
public List<GCField> getOBUIAPPGCFieldList()
Help: All values set here will be used for the current field.- See Also:
GCField
-
-