Class StructureFixerDescriptor

java.lang.Object
chemaxon.fixers.StructureFixerDescriptor
All Implemented Interfaces:
Cloneable

@PublicApi public class StructureFixerDescriptor extends Object implements Cloneable
Descriptor class for StructureFixer classes.
Since:
5.9
  • Field Details

  • Constructor Details

  • Method Details

    • getIdentifier

      public String getIdentifier()
      Returns the fixer identifier
      Returns:
      the fixer identifier
    • setIdentifier

      public void setIdentifier(String fixerId)
      Sets the fixer identifier
      Parameters:
      fixerId - the fixer identifier to set
    • getName

      public String getName()
      Returns the fixer name
      Returns:
      the fixer name
    • setName

      public void setName(String name)
      Sets the fixer name
      Parameters:
      name - the new name
    • getDescription

      public String getDescription()
      Returns the description
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description of the concerning fixer
      Parameters:
      description - is a String object which represents the description of the concerning fixer
    • getPriority

      public int getPriority()
      Returns the fixer priority.
      Returns:
      the priority of the fixer
      Since:
      5.12
    • setPriority

      public void setPriority(int priority)
      Sets the fixer priority.
      Parameters:
      priority - the new priority
      Since:
      5.12
    • getActionStringTokens

      public String[] getActionStringTokens()
      Gets the action string token of the fixer
      Returns:
      the action string token of the fixer
    • setActionStringTokens

      public void setActionStringTokens(String[] actionStringTokens)
      Sets the action string token of the fixer
      Parameters:
      actionStringTokens - the action string tokens of the fixer
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
      Add a PropertyChangeListener to the listener list. The listener is registered for all properties. The same listener object may be added more than once, and will be called as many times as it is added. If listener is null, no exception is thrown and no action is taken.
      Parameters:
      listener - The PropertyChangeListener to be added
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
      Remove a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties. If listener was added more than once to the same event source, it will be notified one less time after being removed. If listener is null, or was never added, no exception is thrown and no action is taken.
      Parameters:
      listener - The PropertyChangeListener to be removed
    • addPropertyChangeListener

      public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
      Add a PropertyChangeListener for a specific property. The listener will be invoked only when a call on firePropertyChange names that specific property. The same listener object may be added more than once. For each property, the listener will be invoked the number of times it was added for that property. If propertyName or listener is null, no exception is thrown and no action is taken.
      Parameters:
      propertyName - The name of the property to listen on.
      listener - The PropertyChangeListener to be added
    • removePropertyChangeListener

      public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
      Remove a PropertyChangeListener for a specific property. If listener was added more than once to the same event source for the specified property, it will be notified one less time after being removed. If propertyName is null, no exception is thrown and no action is taken. If listener is null, or was never added for the specified property, no exception is thrown and no action is taken.
      Parameters:
      propertyName - The name of the property that was listened on.
      listener - The PropertyChangeListener to be removed
    • hashCode

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

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

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

      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException