|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.mo.AbstractDataTransferObject org.kuali.rice.kew.framework.document.search.AttributeFields
public final class AttributeFields
An immutable data transfer object used to hold a list of RemotableAttributeField
objects and the name of the
SearchableAttribute
from which the fields are derived. This
is essentially used as a grouping mechanism in order to identify which fields are sourced from which attributes.
Since this class serves primarily as a simple wrapper for use by DocumentSearchCriteriaConfiguration
,
it does not have a builder, only a single static create method that is used for constructing instances of it.
Method Summary | |
---|---|
static AttributeFields |
create(String attributeName,
List<RemotableAttributeField> attributeFields)
Construct a new instance of AttributeFields with the given attribute name and list of remotable attribute
fields. |
String |
getAttributeName()
Returns the name of the searchable attribute associated with this attribute fields instance. |
List<RemotableAttributeField> |
getRemotableAttributeFields()
Returns a list of remotable attribute fields associated with the searchable attribute name of this instance. |
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject |
---|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static AttributeFields create(String attributeName, List<RemotableAttributeField> attributeFields)
AttributeFields
with the given attribute name and list of remotable attribute
fields.
attributeName
- the name of the attribute, must not be a null or blank valueattributeFields
- the remotable attribute fields to associate with the given attribute name
IllegalArgumentException
- if the given attributeName is blank or nullpublic String getAttributeName()
public List<RemotableAttributeField> getRemotableAttributeFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |