public enum SgroupType extends Enum<SgroupType>
Enum Constant and Description |
---|
AMINOACID |
ANY |
COMPONENT |
COPOLYMER |
COPOLYMER_ALT |
COPOLYMER_BLK |
COPOLYMER_RAN |
CROSSLINK |
DATA |
FORMULATION |
GENERIC |
GRAFT |
MER |
MIXTURE |
MODIFICATION |
MONOMER |
MULTICENTER |
MULTIPLE |
SRU |
SUPERATOM |
Modifier and Type | Method and Description |
---|---|
String |
getShortName() |
static SgroupType |
getType(String name)
Returns an SgroupType for the given short name.
|
static SgroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SgroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SgroupType SUPERATOM
public static final SgroupType MULTIPLE
public static final SgroupType SRU
public static final SgroupType MONOMER
public static final SgroupType MER
public static final SgroupType COPOLYMER
public static final SgroupType CROSSLINK
public static final SgroupType MODIFICATION
public static final SgroupType MIXTURE
public static final SgroupType FORMULATION
public static final SgroupType DATA
public static final SgroupType ANY
public static final SgroupType GENERIC
public static final SgroupType COMPONENT
public static final SgroupType MULTICENTER
public static final SgroupType GRAFT
public static final SgroupType AMINOACID
public static final SgroupType COPOLYMER_ALT
public static final SgroupType COPOLYMER_RAN
public static final SgroupType COPOLYMER_BLK
public static SgroupType[] values()
for (SgroupType c : SgroupType.values()) System.out.println(c);
public static SgroupType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getShortName()
public static SgroupType getType(String name) throws IllegalArgumentException
name
- the short nameIllegalArgumentException
- if there is no SgroupType with that short name.