Package fr.ifremer.isisfish.entities
Class VariableAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.VariableAbstract
- All Implemented Interfaces:
Variable,Serializable,org.nuiton.topia.persistence.TopiaEntity,org.nuiton.topia.persistence.TopiaEntityContextable
- Direct Known Subclasses:
VariableImpl
public abstract class VariableAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Variable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringNom de l'attribut en BD : commentprotected doubleNom de l'attribut en BD : doubleValueprotected StringNom de l'attribut en BD : entityIdprotected EquationNom de l'attribut en BD : equationValueprotected org.nuiton.math.matrix.MatrixNDNom de l'attribut en BD : matrixValueprotected StringNom de l'attribut en BD : nameprotected VariableTypeNom de l'attribut en BD : typeFields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoablesFields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSIONFields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
TOPIA_CONTEXTFields inherited from interface fr.ifremer.isisfish.entities.Variable
PROPERTY_COMMENT, PROPERTY_DOUBLE_VALUE, PROPERTY_ENTITY_ID, PROPERTY_EQUATION_VALUE, PROPERTY_MATRIX_VALUE, PROPERTY_NAME, PROPERTY_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.nuiton.topia.persistence.EntityVisitor visitor) protected voidaccept0(org.nuiton.topia.persistence.EntityVisitor visitor) voiddelete()List<org.nuiton.topia.persistence.TopiaEntity>List<org.nuiton.topia.persistence.TopiaEntity>doubleorg.nuiton.math.matrix.MatrixNDgetName()getType()voidsetComment(String comment) voidsetDoubleValue(double doubleValue) voidsetEntityId(String entityId) voidsetEquationValue(Equation equationValue) voidsetMatrixValue(org.nuiton.math.matrix.MatrixND matrixValue) voidvoidsetType(VariableType type) toString()voidupdate()Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersionMethods inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
getTopiaContext, setTopiaContext
-
Field Details
-
entityId
Nom de l'attribut en BD : entityId -
name
Nom de l'attribut en BD : name -
comment
Nom de l'attribut en BD : comment -
doubleValue
protected double doubleValueNom de l'attribut en BD : doubleValue -
matrixValue
protected org.nuiton.math.matrix.MatrixND matrixValueNom de l'attribut en BD : matrixValue -
equationValue
Nom de l'attribut en BD : equationValue -
type
Nom de l'attribut en BD : type
-
-
Constructor Details
-
VariableAbstract
public VariableAbstract()
-
-
Method Details
-
update
public void update() throws org.nuiton.topia.TopiaException- Specified by:
updatein interfaceorg.nuiton.topia.persistence.TopiaEntityContextable- Throws:
org.nuiton.topia.TopiaException
-
delete
public void delete() throws org.nuiton.topia.TopiaException- Specified by:
deletein interfaceorg.nuiton.topia.persistence.TopiaEntityContextable- Throws:
org.nuiton.topia.TopiaException
-
accept
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException - Specified by:
acceptin interfaceorg.nuiton.topia.persistence.TopiaEntity- Throws:
org.nuiton.topia.TopiaException
-
accept0
protected void accept0(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException - Throws:
org.nuiton.topia.TopiaException
-
setEntityId
- Specified by:
setEntityIdin interfaceVariable
-
getEntityId
- Specified by:
getEntityIdin interfaceVariable
-
setName
-
getName
-
setComment
- Specified by:
setCommentin interfaceVariable
-
getComment
- Specified by:
getCommentin interfaceVariable
-
setDoubleValue
public void setDoubleValue(double doubleValue) - Specified by:
setDoubleValuein interfaceVariable
-
getDoubleValue
public double getDoubleValue()- Specified by:
getDoubleValuein interfaceVariable
-
setMatrixValue
public void setMatrixValue(org.nuiton.math.matrix.MatrixND matrixValue) - Specified by:
setMatrixValuein interfaceVariable
-
getMatrixValue
public org.nuiton.math.matrix.MatrixND getMatrixValue()- Specified by:
getMatrixValuein interfaceVariable
-
setEquationValue
- Specified by:
setEquationValuein interfaceVariable
-
getEquationValue
- Specified by:
getEquationValuein interfaceVariable
-
setType
-
getType
-
getAggregate
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException- Specified by:
getAggregatein interfaceorg.nuiton.topia.persistence.TopiaEntity- Overrides:
getAggregatein classorg.nuiton.topia.persistence.TopiaEntityAbstract- Throws:
org.nuiton.topia.TopiaException
-
getComposite
public List<org.nuiton.topia.persistence.TopiaEntity> getComposite() throws org.nuiton.topia.TopiaException- Specified by:
getCompositein interfaceorg.nuiton.topia.persistence.TopiaEntity- Overrides:
getCompositein classorg.nuiton.topia.persistence.TopiaEntityAbstract- Throws:
org.nuiton.topia.TopiaException
-
toString
-