Class CopyFieldId
- java.lang.Object
-
- org.ametys.cms.search.solr.schema.CopyFieldId
-
public class CopyFieldId extends Object
A copy field identifier (source and destination).
-
-
Field Summary
Fields Modifier and Type Field Description protected String
_destination
The copy field destination.protected String
_source
The copy field source.
-
Constructor Summary
Constructors Constructor Description CopyFieldId(String source, String destination)
Build a copy field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDestination()
Get the copy field destination.String
getSource()
Get the copy field source.int
hashCode()
void
setDestination(String destination)
Set the copy field destination.void
setSource(String source)
Set the copy field source.String
toString()
-
-
-
Field Detail
-
_destination
protected String _destination
The copy field destination.
-
-
Constructor Detail
-
CopyFieldId
public CopyFieldId(String source, String destination)
Build a copy field.- Parameters:
source
- The copy field source.destination
- The copy field destination.
-
-
Method Detail
-
setSource
public void setSource(String source)
Set the copy field source.- Parameters:
source
- The copy field source to set.
-
getDestination
public String getDestination()
Get the copy field destination.- Returns:
- The copy field destination.
-
setDestination
public void setDestination(String destination)
Set the copy field destination.- Parameters:
destination
- The copy field destination to set.
-
-