Enum Class SgroupType

java.lang.Object
java.lang.Enum<SgroupType>
chemaxon.struc.SgroupType
All Implemented Interfaces:
Serializable, Comparable<SgroupType>, java.lang.constant.Constable

@PublicApi public enum SgroupType extends Enum<SgroupType>
Enum of possible sgroup types.
Since:
5.12, 10/19/2012
  • Enum Constant Details

    • SUPERATOM

      public static final SgroupType SUPERATOM
    • MULTIPLE

      public static final SgroupType MULTIPLE
    • SRU

      public static final SgroupType SRU
    • MONOMER

      public static final SgroupType MONOMER
    • MER

      public static final SgroupType MER
    • COPOLYMER

      public static final SgroupType COPOLYMER
    • MODIFICATION

      public static final SgroupType MODIFICATION
    • MIXTURE

      public static final SgroupType MIXTURE
    • FORMULATION

      public static final SgroupType FORMULATION
    • DATA

      public static final SgroupType DATA
    • ANY

      public static final SgroupType ANY
    • GENERIC

      public static final SgroupType GENERIC
    • COMPONENT

      public static final SgroupType COMPONENT
    • MULTICENTER

      public static final SgroupType MULTICENTER
    • GRAFT

      public static final SgroupType GRAFT
    • AMINOACID

      public static final SgroupType AMINOACID
    • COPOLYMER_ALT

      public static final SgroupType COPOLYMER_ALT
    • COPOLYMER_RAN

      public static final SgroupType COPOLYMER_RAN
    • COPOLYMER_BLK

      public static final SgroupType COPOLYMER_BLK
  • 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
    • getShortName

      public String getShortName()
    • getType

      public static SgroupType getType(String name) throws IllegalArgumentException
      Returns an SgroupType for the given short name.
      Parameters:
      name - the short name
      Returns:
      the SgroupType
      Throws:
      IllegalArgumentException - if there is no SgroupType with that short name.