Class AttachedGroup
java.lang.Object
org.openscience.cdk.iupac.parser.AttachedGroup
Holds data on a specific functional group or substituent.
- Author:
- Stephen Tomkinson
- Requires:
- ant1.6
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of FunctionalGroupAttachedGroup(List<Token> locations, int length) Creates a new instance of AttachedGroup with an int denoting the length of the substituent chainAttachedGroup(List<Token> locations, String name) Creates a new instance of AttachedGroup with a Sting denoting the functional group -
Method Summary
Modifier and TypeMethodDescriptionintGetter for property length.Getter for property locations.getName()Getter for property name.voidsetLength(int length) Setter for property length.voidsetLocations(List<Token> locations) Setter for property locations.voidSetter for property name.toString()A debug string which represents the contents of the class.
-
Constructor Details
-
AttachedGroup
public AttachedGroup()Creates a new instance of FunctionalGroup -
AttachedGroup
-
AttachedGroup
-
-
Method Details
-
getName
-
setName
Setter for property name.- Parameters:
name- New value of property name.
-
getLocations
-
setLocations
-
toString
-
getLength
public int getLength()Getter for property length.- Returns:
- Value of property length.
-
setLength
public void setLength(int length) Setter for property length.- Parameters:
length- New value of property length.
-