public class PlsqlAttr
extends java.lang.Object
implements oracle.sql.ORAData, oracle.sql.ORADataFactory
| Constructor and Description |
|---|
PlsqlAttr()
Default Constructor.
|
PlsqlAttr(java.sql.Connection conn, LDIFAttribute attr, java.lang.String schemaName)
Creates a PlsqlAttr object from LDIFAttribute
|
PlsqlAttr(java.lang.String attrName, int attrType, int attrChgType)
Create a PlsqlAttr attribute object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValues(oracle.sql.ARRAY attrs)
Add values to this attribute
|
void |
addValues(java.sql.Connection conn, PlsqlAttrVal[] attrVals)
Add values to this attribute
|
oracle.sql.ORAData |
create(oracle.sql.Datum d, int sqlType)
Convert from SQL data type to JAVA object.
|
java.lang.String |
getAttrName()
Return the attribute name
|
int |
getAttrType()
Return the attribute type
|
int |
getChgType()
Return the attribute change type
|
static oracle.sql.ORADataFactory |
getFactory() |
oracle.sql.ARRAY |
getValues() |
oracle.sql.Datum |
toDatum(java.sql.Connection c)
Convert to SQL data type
|
java.lang.String |
toString()
Returns the string representation
|
public PlsqlAttr()
public PlsqlAttr(java.lang.String attrName,
int attrType,
int attrChgType)
attrName - attribute nameattrType - attribute typeattrChgType - attribute change type
public PlsqlAttr(java.sql.Connection conn,
LDIFAttribute attr,
java.lang.String schemaName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static oracle.sql.ORADataFactory getFactory()
public void addValues(java.sql.Connection conn,
PlsqlAttrVal[] attrVals)
throws java.sql.SQLException
conn - JDBC Connection objectattrs - a list of attribute valuesjava.sql.SQLExceptionpublic void addValues(oracle.sql.ARRAY attrs)
attrs - array of attribute value objects.
public oracle.sql.Datum toDatum(java.sql.Connection c)
throws java.sql.SQLException
toDatum in interface oracle.sql.ORADataconn - JDBC Connection objectjava.sql.SQLException
public oracle.sql.ORAData create(oracle.sql.Datum d,
int sqlType)
throws java.sql.SQLException
create in interface oracle.sql.ORADataFactoryjava.sql.SQLExceptionpublic oracle.sql.ARRAY getValues()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getAttrName()
public int getAttrType()
public int getChgType()