Class PdoType

java.lang.Object
org.tentackle.maven.plugin.wizard.fx.PdoType

public class PdoType extends Object
The PDO type used by the entity combobox of the PdoBrowser.
  • Constructor Details

    • PdoType

      public PdoType(String name, Class<? extends org.tentackle.pdo.PersistentDomainObject<?>> clazz)
      Creates a PDO type.
      Parameters:
      name - the displayed name
      clazz - the effective PDO interface
  • Method Details

    • getName

      public String getName()
      The displayed name.
      Returns:
      the name visible in the combobox
    • getClazz

      public Class<? extends org.tentackle.pdo.PersistentDomainObject<?>> getClazz()
      The PDO interface class.
      Returns:
      the effective PDO class
    • getCamelCaseLetters

      public String getCamelCaseLetters()
      The camel case letters derived from the displayed name.
      Used for keyboard navigation.
      Returns:
      the camelcase letters
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object