Generated basic javadoc for most methods. Still need some help here

Reformatteda all source using eclipse
eliminated parameters with same names as method variagles
repackaged all tests so that their package names match the directories they are in
merged in Jiffie and Variant EventProxy changes
This commit is contained in:
clay_shooter
2005-01-08 17:02:55 +00:00
parent 7b81d761b7
commit 43dce6d42f
30 changed files with 3966 additions and 2402 deletions

View File

@@ -1,124 +1,125 @@
import com.jacob.com.*;
public class Field extends Dispatch
{
/**
* This constructor is used instead of a case operation to
* turn a Dispatch object into a wider object - it must exist
* in every wrapper class whose instances may be returned from
* method calls wrapped in VT_DISPATCH Variants.
*/
public Field(Dispatch d)
{
// take over the IDispatch pointer
m_pDispatch = d.m_pDispatch;
// null out the input's pointer
d.m_pDispatch = 0;
}
public Variant getProperties()
{
return Dispatch.get(this, "Properties");
}
public int getActualSize()
{
return Dispatch.get(this, "ActualSize").toInt();
}
public int getAttributes()
{
return Dispatch.get(this, "Attributes").toInt();
}
public int getDefinedSize()
{
return Dispatch.get(this, "DefinedSize").toInt();
}
public String getName()
{
return Dispatch.get(this, "Name").toString();
}
public int getType()
{
return Dispatch.get(this, "Type").toInt();
}
public Variant getValue()
{
return Dispatch.get(this, "Value");
}
public void setValue(Variant pvar)
{
Dispatch.put(this, "Value", pvar);
}
public byte getPrecision()
{
return Dispatch.get(this, "Precision").toByte();
}
public byte getNumericScale()
{
return Dispatch.get(this, "NumericScale").toByte();
}
public void AppendChunk(Variant Data)
{
Dispatch.call(this, "AppendChunk", Data);
}
public Variant GetChunk(int Length)
{
return Dispatch.call(this, "GetChunk", new Variant(Length));
}
public Variant getOriginalValue()
{
return Dispatch.get(this, "OriginalValue");
}
public Variant getUnderlyingValue()
{
return Dispatch.get(this, "UnderlyingValue");
}
public Variant getDataFormat()
{
return Dispatch.get(this, "DataFormat");
}
public void setDataFormat(Variant ppiDF)
{
Dispatch.put(this, "DataFormat", ppiDF);
}
public void setPrecision(byte pb)
{
Dispatch.put(this, "Precision", new Variant(pb));
}
public void setNumericScale(byte pb)
{
Dispatch.put(this, "NumericScale", new Variant(pb));
}
public void setType(int pDataType)
{
Dispatch.put(this, "Type", new Variant(pDataType));
}
public void setDefinedSize(int pl)
{
Dispatch.put(this, "DefinedSize", new Variant(pl));
}
public void setAttributes(int pl)
{
Dispatch.put(this, "Attributes", new Variant(pl));
}
}
package samples.ado;
import com.jacob.com.*;
public class Field extends Dispatch
{
/**
* This constructor is used instead of a case operation to
* turn a Dispatch object into a wider object - it must exist
* in every wrapper class whose instances may be returned from
* method calls wrapped in VT_DISPATCH Variants.
*/
public Field(Dispatch d)
{
// take over the IDispatch pointer
m_pDispatch = d.m_pDispatch;
// null out the input's pointer
d.m_pDispatch = 0;
}
public Variant getProperties()
{
return Dispatch.get(this, "Properties");
}
public int getActualSize()
{
return Dispatch.get(this, "ActualSize").toInt();
}
public int getAttributes()
{
return Dispatch.get(this, "Attributes").toInt();
}
public int getDefinedSize()
{
return Dispatch.get(this, "DefinedSize").toInt();
}
public String getName()
{
return Dispatch.get(this, "Name").toString();
}
public int getType()
{
return Dispatch.get(this, "Type").toInt();
}
public Variant getValue()
{
return Dispatch.get(this, "Value");
}
public void setValue(Variant pvar)
{
Dispatch.put(this, "Value", pvar);
}
public byte getPrecision()
{
return Dispatch.get(this, "Precision").toByte();
}
public byte getNumericScale()
{
return Dispatch.get(this, "NumericScale").toByte();
}
public void AppendChunk(Variant Data)
{
Dispatch.call(this, "AppendChunk", Data);
}
public Variant GetChunk(int Length)
{
return Dispatch.call(this, "GetChunk", new Variant(Length));
}
public Variant getOriginalValue()
{
return Dispatch.get(this, "OriginalValue");
}
public Variant getUnderlyingValue()
{
return Dispatch.get(this, "UnderlyingValue");
}
public Variant getDataFormat()
{
return Dispatch.get(this, "DataFormat");
}
public void setDataFormat(Variant ppiDF)
{
Dispatch.put(this, "DataFormat", ppiDF);
}
public void setPrecision(byte pb)
{
Dispatch.put(this, "Precision", new Variant(pb));
}
public void setNumericScale(byte pb)
{
Dispatch.put(this, "NumericScale", new Variant(pb));
}
public void setType(int pDataType)
{
Dispatch.put(this, "Type", new Variant(pDataType));
}
public void setDefinedSize(int pl)
{
Dispatch.put(this, "DefinedSize", new Variant(pl));
}
public void setAttributes(int pl)
{
Dispatch.put(this, "Attributes", new Variant(pl));
}
}