be.SIRAPRISE.client.jsba
Class AttributeValueDistribution

java.lang.Object
  extended by be.SIRAPRISE.client.jsba.AbstractDBObject
      extended by be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
          extended by be.SIRAPRISE.client.jsba.AttributeValueDistribution
All Implemented Interfaces:
AttributevaluedistributionToDBObject, DBObject, DBObjectToAttributevaluedistribution, UpdatableDBObject

public final class AttributeValueDistribution
extends AbstractUpdatableDBObject
implements AttributevaluedistributionToDBObject, DBObjectToAttributevaluedistribution

Author:
Erwin

Constructor Summary
AttributeValueDistribution()
          Creates the AttributeValueDistribution
AttributeValueDistribution(java.lang.String relvarName, java.lang.String attributeName, int valueCount, double frequency, double standardDeviation)
          Creates the AttributeValueDistribution
 
Method Summary
 java.lang.String getAttributeName()
          Gets attributeName
 java.lang.String getAttributevaluedistributionAttributename()
          Gets the attributename for attributevaluedistribution
 java.lang.String getAttributevaluedistributionFrequency()
          Gets the frequency for attributevaluedistribution
 java.lang.String getAttributevaluedistributionRelvarname()
          Gets the relvarname for attributevaluedistribution
 java.lang.String getAttributevaluedistributionStddev()
          Gets the stddev for attributevaluedistribution
 java.lang.String getAttributevaluedistributionValuecount()
          Gets the valuecount for attributevaluedistribution
 double getFrequency()
          Gets frequency
 UpdatableDBObject getPreUpdateState()
          Gets The state of the object as it was built by the J/R bridging engine immediately after the object was created from a database tuple (and which should have been set by/using the setPreUpdateState() method.
 java.lang.String getRelvarName()
          Gets relvarName
 double getStandardDeviation()
          Gets standardDeviation
 int getValueCount()
          Gets valueCount
 void setAttributeName(java.lang.String attributeName)
          Sets attributeName
 void setAttributenameFromDB(java.lang.String attributename)
          Sets attributename from the DB
 void setFrequency(double frequency)
          Sets frequency
 void setFrequencyFromDB(java.lang.String frequency)
          Sets frequency from the DB
 void setPreUpdateState()
          This method is called by the J/R bridging engine after an object has been setup from some tuple retrieved from the database.
 void setRelvarName(java.lang.String relvarName)
          Sets relvarName
 void setRelvarnameFromDB(java.lang.String relvarname)
          Sets relvarname from the DB
 void setStandardDeviation(double standardDeviation)
          Sets standardDeviation
 void setStddevFromDB(java.lang.String stddev)
          Sets stddev from the DB
 void setValueCount(int valueCount)
          Sets valueCount
 void setValuecountFromDB(java.lang.String valuecount)
          Sets valuecount from the DB
 
Methods inherited from class be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
dbUpdateCommand, dbUpdateCommand
 
Methods inherited from class be.SIRAPRISE.client.jsba.AbstractDBObject
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValueDistribution

public AttributeValueDistribution()
Creates the AttributeValueDistribution


AttributeValueDistribution

public AttributeValueDistribution(java.lang.String relvarName,
                                  java.lang.String attributeName,
                                  int valueCount,
                                  double frequency,
                                  double standardDeviation)
Creates the AttributeValueDistribution

Parameters:
relvarName -
attributeName -
valueCount -
frequency -
standardDeviation -
Method Detail

getAttributeName

public final java.lang.String getAttributeName()
Gets attributeName

Returns:
attributeName.

getAttributevaluedistributionAttributename

public java.lang.String getAttributevaluedistributionAttributename()
Description copied from interface: DBObjectToAttributevaluedistribution
Gets the attributename for attributevaluedistribution

Specified by:
getAttributevaluedistributionAttributename in interface DBObjectToAttributevaluedistribution
Returns:
The attributename for attributevaluedistribution

getAttributevaluedistributionFrequency

public java.lang.String getAttributevaluedistributionFrequency()
Description copied from interface: DBObjectToAttributevaluedistribution
Gets the frequency for attributevaluedistribution

Specified by:
getAttributevaluedistributionFrequency in interface DBObjectToAttributevaluedistribution
Returns:
The frequency for attributevaluedistribution

getAttributevaluedistributionRelvarname

public java.lang.String getAttributevaluedistributionRelvarname()
Description copied from interface: DBObjectToAttributevaluedistribution
Gets the relvarname for attributevaluedistribution

Specified by:
getAttributevaluedistributionRelvarname in interface DBObjectToAttributevaluedistribution
Returns:
The relvarname for attributevaluedistribution

getAttributevaluedistributionStddev

public java.lang.String getAttributevaluedistributionStddev()
Description copied from interface: DBObjectToAttributevaluedistribution
Gets the stddev for attributevaluedistribution

Specified by:
getAttributevaluedistributionStddev in interface DBObjectToAttributevaluedistribution
Returns:
The stddev for attributevaluedistribution

getAttributevaluedistributionValuecount

public java.lang.String getAttributevaluedistributionValuecount()
Description copied from interface: DBObjectToAttributevaluedistribution
Gets the valuecount for attributevaluedistribution

Specified by:
getAttributevaluedistributionValuecount in interface DBObjectToAttributevaluedistribution
Returns:
The valuecount for attributevaluedistribution

getFrequency

public final double getFrequency()
Gets frequency

Returns:
frequency.

getPreUpdateState

public UpdatableDBObject getPreUpdateState()
Description copied from interface: UpdatableDBObject
Gets The state of the object as it was built by the J/R bridging engine immediately after the object was created from a database tuple (and which should have been set by/using the setPreUpdateState() method.

Specified by:
getPreUpdateState in interface UpdatableDBObject
Returns:
The state of the object as it was built by the J/R bridging engine immediately after the object was created from a database tuple (and which should have been set by/using the setPreUpdateState() method.

getRelvarName

public final java.lang.String getRelvarName()
Gets relvarName

Returns:
relvarName.

getStandardDeviation

public final double getStandardDeviation()
Gets standardDeviation

Returns:
standardDeviation.

getValueCount

public final int getValueCount()
Gets valueCount

Returns:
valueCount.

setAttributeName

public final void setAttributeName(java.lang.String attributeName)
Sets attributeName

Parameters:
attributeName - The attributeName to set.

setAttributenameFromDB

public void setAttributenameFromDB(java.lang.String attributename)
Description copied from interface: AttributevaluedistributionToDBObject
Sets attributename from the DB

Specified by:
setAttributenameFromDB in interface AttributevaluedistributionToDBObject
Parameters:
attributename - The DB value for attributename

setFrequency

public final void setFrequency(double frequency)
Sets frequency

Parameters:
frequency - The frequency to set.

setFrequencyFromDB

public void setFrequencyFromDB(java.lang.String frequency)
Description copied from interface: AttributevaluedistributionToDBObject
Sets frequency from the DB

Specified by:
setFrequencyFromDB in interface AttributevaluedistributionToDBObject
Parameters:
frequency - The DB value for frequency

setPreUpdateState

public void setPreUpdateState()
Description copied from interface: UpdatableDBObject
This method is called by the J/R bridging engine after an object has been setup from some tuple retrieved from the database. The method must cause the object to save a copy (/clone) of all the fields that are pertinent to the database. This copy will be retrieved by the J/R bridging engine using the getPreUpdateState() method call, and will subsequently be used by the J/R bridging engine to determine which fields have changed value, and thus to determine which attributes need to be updated in the database.

Specified by:
setPreUpdateState in interface UpdatableDBObject

setRelvarName

public final void setRelvarName(java.lang.String relvarName)
Sets relvarName

Parameters:
relvarName - The relvarName to set.

setRelvarnameFromDB

public void setRelvarnameFromDB(java.lang.String relvarname)
Description copied from interface: AttributevaluedistributionToDBObject
Sets relvarname from the DB

Specified by:
setRelvarnameFromDB in interface AttributevaluedistributionToDBObject
Parameters:
relvarname - The DB value for relvarname

setStandardDeviation

public final void setStandardDeviation(double standardDeviation)
Sets standardDeviation

Parameters:
standardDeviation - The standardDeviation to set.

setStddevFromDB

public void setStddevFromDB(java.lang.String stddev)
Description copied from interface: AttributevaluedistributionToDBObject
Sets stddev from the DB

Specified by:
setStddevFromDB in interface AttributevaluedistributionToDBObject
Parameters:
stddev - The DB value for stddev

setValueCount

public final void setValueCount(int valueCount)
Sets valueCount

Parameters:
valueCount - The valueCount to set.

setValuecountFromDB

public void setValuecountFromDB(java.lang.String valuecount)
Description copied from interface: AttributevaluedistributionToDBObject
Sets valuecount from the DB

Specified by:
setValuecountFromDB in interface AttributevaluedistributionToDBObject
Parameters:
valuecount - The DB value for valuecount