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
Modifier and TypeFieldDescriptionprotected String
Nom de l'attribut en BD : commentprotected double
Nom de l'attribut en BD : doubleValueprotected String
Nom de l'attribut en BD : entityIdprotected Equation
Nom de l'attribut en BD : equationValueprotected org.nuiton.math.matrix.MatrixND
Nom de l'attribut en BD : matrixValueprotected String
Nom de l'attribut en BD : nameprotected VariableType
Nom de l'attribut en BD : typeFields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
TOPIA_CONTEXT
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(org.nuiton.topia.persistence.EntityVisitor visitor) protected void
accept0
(org.nuiton.topia.persistence.EntityVisitor visitor) void
delete()
List<org.nuiton.topia.persistence.TopiaEntity>
List<org.nuiton.topia.persistence.TopiaEntity>
double
org.nuiton.math.matrix.MatrixND
getName()
getType()
void
setComment
(String comment) void
setDoubleValue
(double doubleValue) void
setEntityId
(String entityId) void
setEquationValue
(Equation equationValue) void
setMatrixValue
(org.nuiton.math.matrix.MatrixND matrixValue) void
void
setType
(VariableType type) toString()
void
update()
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, setTopiaVersion
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, setTopiaVersion
Methods 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:
update
in interfaceorg.nuiton.topia.persistence.TopiaEntityContextable
- Throws:
org.nuiton.topia.TopiaException
-
delete
public void delete() throws org.nuiton.topia.TopiaException- Specified by:
delete
in 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:
accept
in 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:
setEntityId
in interfaceVariable
-
getEntityId
- Specified by:
getEntityId
in interfaceVariable
-
setName
-
getName
-
setComment
- Specified by:
setComment
in interfaceVariable
-
getComment
- Specified by:
getComment
in interfaceVariable
-
setDoubleValue
public void setDoubleValue(double doubleValue) - Specified by:
setDoubleValue
in interfaceVariable
-
getDoubleValue
public double getDoubleValue()- Specified by:
getDoubleValue
in interfaceVariable
-
setMatrixValue
public void setMatrixValue(org.nuiton.math.matrix.MatrixND matrixValue) - Specified by:
setMatrixValue
in interfaceVariable
-
getMatrixValue
public org.nuiton.math.matrix.MatrixND getMatrixValue()- Specified by:
getMatrixValue
in interfaceVariable
-
setEquationValue
- Specified by:
setEquationValue
in interfaceVariable
-
getEquationValue
- Specified by:
getEquationValue
in interfaceVariable
-
setType
-
getType
-
getAggregate
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException- Specified by:
getAggregate
in interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getAggregate
in 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:
getComposite
in interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getComposite
in classorg.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
-
toString
-