Enum SgroupType

  • All Implemented Interfaces:
    Serializable, Comparable<SgroupType>

    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 Detail

      • 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
      • CtabCrossLink

        public static final SgroupType CtabCrossLink
      • 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 Detail

      • values

        public static SgroupType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SgroupType c : SgroupType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SgroupType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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()