Class CopyFieldDefinition
java.lang.Object
org.ametys.cms.search.solr.schema.CopyFieldDefinition
- All Implemented Interfaces:
SchemaDefinition
Represents a copy field definition in a solr schema.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCopyFieldDefinition
(String source, String destination) Build a copy field definition.CopyFieldDefinition
(Map<String, Object> attributes) Build a copy field definition from a map of attributes. -
Method Summary
Modifier and TypeMethodDescriptionGet the destination field.Get the source field.void
setDestination
(String destination) Set the destination field.void
Set the source field.
-
Field Details
-
_source
The source field. -
_destination
The destination field.
-
-
Constructor Details
-
CopyFieldDefinition
Build a copy field definition.- Parameters:
source
- The source field.destination
- The destination field.
-
CopyFieldDefinition
Build a copy field definition from a map of attributes.- Parameters:
attributes
- the Map of attributes.
-
-
Method Details
-
getSource
Get the source field.- Returns:
- The source field.
-
setSource
Set the source field.- Parameters:
source
- the source field.
-
getDestination
Get the destination field.- Returns:
- The destination field.
-
setDestination
Set the destination field.- Parameters:
destination
- the destination field.
-