Class InquirySectionDefinition
java.lang.Object
org.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
org.kuali.rice.kns.datadictionary.InquirySectionDefinition
- All Implemented Interfaces:
Serializable,Cloneable,org.kuali.rice.krad.datadictionary.Copyable,org.kuali.rice.krad.datadictionary.DataDictionaryDefinition,org.kuali.rice.krad.datadictionary.DictionaryBean
@Deprecated
public class InquirySectionDefinition
extends org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
Deprecated.
inquirySection defines the format and content of one section of the inquiry.
DD: See InquirySectionDefinition.java
numberOfColumns = the number of fields to be displayed in each row of the inquiry section.
For example, numberOfColumns = 2 indicates that the label and values for two fields will be displayed in each row as
follows:
field1label field1value | field2label field2value
field3label field3value | field4label field4value
etc.
Contains section-related information for inquiry sections
Note: the setters do copious amounts of validation, to facilitate generating errors during the parsing process.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDeprecated.protected MapDeprecated.protected Map<String, FieldDefinition> Deprecated.protected List<FieldDefinition> Deprecated.protected IntegerDeprecated.protected StringDeprecated.Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
embeddedDataObjectMetadata, generatedFromMetadata, idFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass) Deprecated.Directly validate simple fields, call completeValidation on Definition fields.Deprecated.Deprecated.Deprecated.Deprecated.getTitle()Deprecated.booleanDeprecated.voidsetDefaultOpen(boolean defaultOpen) Deprecated.voidsetInquiryCollections(Map inquiryCollections) Deprecated.The inquiryCollection defines a collection within the Business Object which contains data that should be displayed with the BO when the inquiry is performed.voidsetInquiryFields(List<FieldDefinition> inquiryFields) Deprecated.JSTL: inquiryFields is a Map which is accessed using a key of "inquiryFields".voidsetNumberOfColumns(Integer numberOfColumns) Deprecated.numberOfColumns = the number of fields to be displayed in each row of the inquiry section.voidDeprecated.Sets title to the given value.toString()Deprecated.Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
completeValidation, getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadataMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
-
Field Details
-
title
Deprecated. -
inquiryFields
Deprecated. -
inquiryFieldMap
Deprecated. -
inquiryCollections
Deprecated. -
numberOfColumns
Deprecated. -
defaultOpen
protected boolean defaultOpenDeprecated.
-
-
Constructor Details
-
InquirySectionDefinition
public InquirySectionDefinition()Deprecated.
-
-
Method Details
-
getTitle
Deprecated.- Returns:
- title
-
setTitle
Deprecated.Sets title to the given value.- Parameters:
title-- Throws:
IllegalArgumentException- if the given title is blank
-
getInquiryFieldNames
Deprecated.- Returns:
- List of attributeNames of all FieldDefinitions associated with this InquirySection, in the order in which they were added
-
getInquiryFields
Deprecated.- Returns:
- Collection of all FieldDefinitions associated with this InquirySection, in the order in which they were added
-
completeValidation
Deprecated.Directly validate simple fields, call completeValidation on Definition fields.- Specified by:
completeValidationin interfaceorg.kuali.rice.krad.datadictionary.DataDictionaryDefinition- Overrides:
completeValidationin classorg.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase- See Also:
-
toString
Deprecated. -
getInquiryCollections
Deprecated. -
setInquiryCollections
Deprecated.The inquiryCollection defines a collection within the Business Object which contains data that should be displayed with the BO when the inquiry is performed. Each inquiryCollection defines a set of data fields, nested inquiryCollections and summaryFields. The summaryFields will be reported in the header of this inquiryCollection, . DD: See InquiryCollectionDefinition.java JSTL: The inquiryCollection element is a Map with the following keys: name (String) dataObjectClass (String) numberOfColumns (String) inquiryFields (Map) inquiryCollections (Map, optional) summaryTitle (String) summaryFields (Map, optional) -
getNumberOfColumns
Deprecated. -
setNumberOfColumns
Deprecated.numberOfColumns = the number of fields to be displayed in each row of the inquiry section. For example, numberOfColumns = 2 indicates that the label and values for two fields will be displayed in each row as follows: field1label field1value | field2label field2value field3label field3value | field4label field4value etc. -
setInquiryFields
Deprecated.JSTL: inquiryFields is a Map which is accessed using a key of "inquiryFields". This map contains the following types of elements: inquirySubSectionHeader field inquiryCollection Each of these entries are keyed by "attributeName". The associated value is the attributeName of the mapped element. The inquirySubSectionHeader allows a separator containing text to separate groups of fields. The name attribute is the displayed text. JSTL: inquirySubSectionHeader appears in the inquiryFields map as: key = "attributeName" value = name of inquirySubSectionHeader The field element defines the attributes of a single data field. DD: See FieldDefinition.java JSTL: The field element is a Map which is accessed using a key of the attributeName. This map contains the following keys: attributeName (String) forceInquiry (boolean String) noInquiry (boolean String) maxLength (String) forceInquiry = true means that the displayed field value will always be made inquirable (this attribute is not used within the code). noInquiry = true means that the displayed field will never be made inquirable. maxLength = the maximum allowable length of the field in the lookup result fields. In other contexts, like inquiries, this field has no effect. -
isDefaultOpen
public boolean isDefaultOpen()Deprecated.- Returns:
- the defaultOpen
-
setDefaultOpen
public void setDefaultOpen(boolean defaultOpen) Deprecated.- Parameters:
defaultOpen- the defaultOpen to set
-
InquiryView.