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 Details

  • Constructor Details

    • CopyFieldId

      public CopyFieldId(String source, String destination)
      Build a copy field.
      Parameters:
      source - The copy field source.
      destination - The copy field destination.
  • Method Details

    • getSource

      public String getSource()
      Get the copy field source.
      Returns:
      The copy field source.
    • setSource

      public void setSource(String source)
      Set the copy field source.
      Parameters:
      source - The copy field source to set.
    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object