@Entity @CollectionUniqueField(fieldName="ref", pathToCollection="extraction.extraits") @Embeddable public class Extrait extends Produit
LENGTH_BIG_TEXT, LENGTH_LONG_TEXT, LENGTH_MEDIUM_TEXT, LENGTH_TINY_TEXT| Constructor and Description |
|---|
Extrait()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Extrait |
clone() |
Extraction |
getExtraction()
extraction getter
|
Float |
getRendement()
Rend le rendement calculé pour l'extrait (masseObtenue / masseDepart)
|
TypeExtrait |
getTypeExtrait()
typeExtrait getter
|
boolean |
isExtrait()
Détermine si le produit est un extrait
|
boolean |
isFraction()
Détermine si le produit est une fraction
|
void |
setExtraction(Extraction extraction)
extraction setter
|
void |
setTypeExtrait(TypeExtrait typeExtrait)
typeExtrait setter
|
compareTo, getId, getMasseObtenue, getPurificationsSuivantes, getRef, getResultatsTestsBioSuivants, setId, setMasseObtenue, setPurificationsSuivantes, setRef, setResultatsTestsBioSuivants, toStringgetIdField, getIdField, getIdValuepublic Float getRendement()
public boolean isExtrait()
public boolean isFraction()
isFraction in class Produitpublic Extrait clone() throws CloneNotSupportedException
clone in class ProduitCloneNotSupportedExceptionpublic TypeExtrait getTypeExtrait()
public void setTypeExtrait(TypeExtrait typeExtrait)
typeExtrait - typeExtraitpublic Extraction getExtraction()
public void setExtraction(Extraction extraction)
extraction - extractionCopyright © 2009-2013 IRD. All Rights Reserved.