src/main/java/cz/diribet/aqdef/model/AqdefObjectModel.java
/**
	 * Finds part index to which the given characteristic index belongs.
	 * <p>
	 * You should call this method only after this {@link AqdefObjectModel} is fully created.
	 * </p>
	 *
	 * @param characteristicIndex
	 * @return
	 */
Finds part index to which the given characteristic index belongs.

You should call this method only after this  AqdefObjectModel is fully created.

@param characteristicIndex
@return
Finds part index to which the given characteristic index belongs . You should call this method only after this AqdefObjectModel is fully created . @param characteristicIndex @return
public PartIndex findPartIndexForCharacteristic(int characteristicIndex) {
		for (Map<CharacteristicIndex, CharacteristicEntries> characteristics : characteristicEntries.values()) {
			for (CharacteristicIndex characteristic : characteristics.keySet()) {
				if (characteristic.getCharacteristicIndex() == characteristicIndex) {
					return characteristic.getPartIndex();
				}
			}
		}
		return null;
	}
public PartIndex findPartIndexForCharacteristic ( int characteristicIndex ) { for ( Map < CharacteristicIndex , CharacteristicEntries > characteristics : characteristicEntries . values ( ) ) { for ( CharacteristicIndex characteristic : characteristics . keySet ( ) ) { if ( characteristic . getCharacteristicIndex ( ) == characteristicIndex ) { return characteristic . getPartIndex ( ) ; } } } return null ; }
Finds part index to which the given characteristic index belongs.
Finds part index to which the given characteristic index belongs .