Class Fragment
- java.lang.Object
-
- com.actelion.research.util.datamodel.IDCodeCoord
-
- com.actelion.research.chem.shredder.Fragment
-
public class Fragment extends IDCodeCoord
Fragment Jan 18, 2013 MvK Start implementation
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTAG_FREQUENCYstatic java.lang.StringTAG_FREQUENCY_ONE_PER_MOLECULEstatic java.lang.StringTAG_RELATIVE_FREQUNCYstatic java.lang.StringTAG_SIZE-
Fields inherited from class com.actelion.research.util.datamodel.IDCodeCoord
coordinates, idcode, index
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetFrequencyOnePerMol()intgetFrequencySumAll()StereoMoleculegetMol()intgetSize()voidincrementFrequencyOnePerMol()voidincrementFrequencySumAll()voidsetFrequencyOnePerMol(int frequencyOnePerMol)voidsetFrequencySumAll(int frequency)voidsetMol(StereoMolecule mol)voidsetSize(int size)-
Methods inherited from class com.actelion.research.util.datamodel.IDCodeCoord
getCoordinates, getIdcode, getIndex, hashCode
-
-
-
-
Field Detail
-
TAG_FREQUENCY_ONE_PER_MOLECULE
public static final java.lang.String TAG_FREQUENCY_ONE_PER_MOLECULE
- See Also:
- Constant Field Values
-
TAG_FREQUENCY
public static final java.lang.String TAG_FREQUENCY
- See Also:
- Constant Field Values
-
TAG_RELATIVE_FREQUNCY
public static final java.lang.String TAG_RELATIVE_FREQUNCY
- See Also:
- Constant Field Values
-
TAG_SIZE
public static final java.lang.String TAG_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFrequencyOnePerMol
public int getFrequencyOnePerMol()
- Returns:
- the frequencyOnePermol
-
setFrequencyOnePerMol
public void setFrequencyOnePerMol(int frequencyOnePerMol)
- Parameters:
frequencyOnePerMol- the frequencyOnePermol to set
-
getFrequencySumAll
public int getFrequencySumAll()
- Returns:
- the frequency
-
setFrequencySumAll
public void setFrequencySumAll(int frequency)
- Parameters:
frequency- the frequency to set
-
incrementFrequencySumAll
public void incrementFrequencySumAll()
-
incrementFrequencyOnePerMol
public void incrementFrequencyOnePerMol()
-
getSize
public int getSize()
- Returns:
- the size
-
setSize
public void setSize(int size)
- Parameters:
size- the size to set
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
getMol
public StereoMolecule getMol()
- Returns:
- the mol
-
setMol
public void setMol(StereoMolecule mol)
- Parameters:
mol- the mol to set
-
-