Enum Class SgroupType

java.lang.Object
java.lang.Enum<SgroupType>
org.openscience.cdk.sgroup.SgroupType
All Implemented Interfaces:
Serializable, Comparable<SgroupType>, java.lang.constant.Constable

public enum SgroupType extends Enum<SgroupType>
Enumeration of Ctab Sgroup types.
Display shortcuts
  • SUP, abbreviation Sgroup (formerly called superatom)
  • MUL, multiple group
  • GEN, generic
Polymers
  • SRU, SRU type
  • MON, monomer
  • MER, Mer type
  • COP, copolymer
  • CRO, crosslink
  • MOD, modification
  • GRA, graft
  • ANY, any polymer
Components, Mixtures, and formulations
  • COM, component
  • MIX, mixture
  • FOR, formulation
Non-chemical
  • DAT, data Sgroup
  • Enum Constant Details

    • CtabAbbreviation

      public static final SgroupType CtabAbbreviation
    • CtabMultipleGroup

      public static final SgroupType CtabMultipleGroup
    • CtabStructureRepeatUnit

      public static final SgroupType CtabStructureRepeatUnit
    • CtabMonomer

      public static final SgroupType CtabMonomer
    • CtabModified

      public static final SgroupType CtabModified
    • CtabCopolymer

      public static final SgroupType CtabCopolymer
    • CtabMer

      public static final SgroupType CtabMer
    • CtabGraft

      public static final SgroupType CtabGraft
    • CtabAnyPolymer

      public static final SgroupType CtabAnyPolymer
    • CtabComponent

      public static final SgroupType CtabComponent
    • CtabMixture

      public static final SgroupType CtabMixture
    • CtabFormulation

      public static final SgroupType CtabFormulation
    • CtabData

      public static final SgroupType CtabData
    • CtabGeneric

      public static final SgroupType CtabGeneric
    • ExtMulticenter

      public static final SgroupType ExtMulticenter
    • ExtAttachOrdering

      public static final SgroupType ExtAttachOrdering
  • Method Details

    • values

      public static SgroupType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SgroupType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isCtabStandard

      public boolean isCtabStandard()
      Indicates if this SGroup type is support by standard CTAB (Molfile/SDfile) sgroups.
      Returns:
      true/false
    • getKey

      public String getKey()
    • parseCtabKey

      public static SgroupType parseCtabKey(String str)