Package org.openscience.cdk.iupac.parser
Class AttachedGroup
- java.lang.Object
-
- org.openscience.cdk.iupac.parser.AttachedGroup
-
-
Constructor Summary
Constructors Constructor Description AttachedGroup()
Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
Getter for property length.List<Token>
getLocations()
Getter for property locations.String
getName()
Getter for property name.void
setLength(int length)
Setter for property length.void
setLocations(List<Token> locations)
Setter for property locations.void
setName(String name)
Setter for property name.String
toString()
A debug string which represents the contents of the class.
-
-
-
Method Detail
-
getName
public String getName()
Getter for property name.- Returns:
- Value of property name.
-
setName
public void setName(String name)
Setter for property name.- Parameters:
name
- New value of property name.
-
getLocations
public List<Token> getLocations()
Getter for property locations.- Returns:
- Value of property locations.
-
setLocations
public void setLocations(List<Token> locations)
Setter for property locations.- Parameters:
locations
- New value of property locations.
-
toString
public String toString()
A debug string which represents the contents of the class.
-
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.
-
-