public final class AttributeFields extends AbstractDataTransferObject
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.
Modifier and Type | Method and Description |
---|---|
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.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
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 nameIllegalArgumentException
- if the given attributeName is blank or nullpublic String getAttributeName()
public List<RemotableAttributeField> getRemotableAttributeFields()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.