Package org.opencms.search.fields
Class CmsSearchFieldMappingType
java.lang.Object
org.opencms.util.A_CmsModeIntEnumeration
org.opencms.search.fields.CmsSearchFieldMappingType
- All Implemented Interfaces:
Serializable
Describes a possible mapping type for a piece of content used in building a search index.
The mapping type is responsible to select which content from the OpenCms resource is used for a field.
- Since:
- 7.0.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CmsSearchFieldMappingType
The "dynamic" mapping type, this is required if a special class is used to process the field mapping value.static final CmsSearchFieldMappingType
The "content" mapping type, maps the content of the resource (no parameters required).static final CmsSearchFieldMappingType
The "dynamic" mapping type, this is required if a special class is used to process the field mapping value.static final CmsSearchFieldMappingType
The "item" mapping type, maps the selected content item of the content.static final CmsSearchFieldMappingType
The "property" mapping type, maps the selected property value of the resource.static final CmsSearchFieldMappingType
The "property-search" mapping type, maps the selected property value of the resource with search upwards. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static CmsSearchFieldMappingType
Returns the matching field mapping type, ornull
if the given value is not a valid mapping type name.Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration
equals, getMode, hashCode
-
Field Details
-
ATTRIBUTE
The "dynamic" mapping type, this is required if a special class is used to process the field mapping value. -
CONTENT
The "content" mapping type, maps the content of the resource (no parameters required). -
DYNAMIC
The "dynamic" mapping type, this is required if a special class is used to process the field mapping value. -
ITEM
The "item" mapping type, maps the selected content item of the content. -
PROPERTY
The "property" mapping type, maps the selected property value of the resource. -
PROPERTY_SEARCH
The "property-search" mapping type, maps the selected property value of the resource with search upwards.
-
-
Method Details
-
valueOf
Returns the matching field mapping type, ornull
if the given value is not a valid mapping type name.- Parameters:
value
- the name of the mapping type- Returns:
- the matching field mapping type
-
toString
- Overrides:
toString
in classA_CmsModeIntEnumeration
- See Also:
-