Methods Summary |
---|
public oracle.sql.CustomDatum | create(oracle.sql.Datum d, int sqlType)
if (d == null) return null;
LocationTyp o = new LocationTyp();
o._struct = new MutableStruct((STRUCT) d, _sqlType, _factory);
o._ctx = new _Ctx(((STRUCT) d).getConnection());
return o;
|
public java.lang.String | getCode() return (String) _struct.getAttribute(2);
|
public java.sql.Timestamp | getEndDate() return (java.sql.Timestamp) _struct.getAttribute(5);
|
public static oracle.sql.CustomDatumFactory | getFactory()
return _LocationTypFactory;
|
public java.math.BigDecimal | getId()
java.math.BigDecimal __jPt_result;
/*@lineinfo:generated-code*//*@lineinfo:125^5*/
// ************************************************************
// #sql [_ctx] __jPt_result = { VALUES(LOCATION_TYP.GET_ID()) };
// ************************************************************
{
sqlj.runtime.ConnectionContext __sJT_connCtx = _ctx;
if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
synchronized (__sJT_execCtx) {
sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, LocationTyp_SJProfileKeys.getKey(0), 0);
try
{
__sJT_execCtx.executeUpdate();
java.math.BigDecimal __sJT_result;
__sJT_result = __sJT_stmt.getBigDecimal(1);
__jPt_result = __sJT_result;
}
finally
{
__sJT_execCtx.releaseStatement();
}
}
}
// ************************************************************
/*@lineinfo:user-code*//*@lineinfo:125^64*/
return __jPt_result;
|
public java.math.BigDecimal | getLocationId() return (java.math.BigDecimal) _struct.getAttribute(0);
|
public java.lang.String | getName() return (String) _struct.getAttribute(3);
|
public java.math.BigDecimal | getParentLocationId() return (java.math.BigDecimal) _struct.getAttribute(1);
|
public java.sql.Timestamp | getStartDate() return (java.sql.Timestamp) _struct.getAttribute(4);
|
public void | setCode(java.lang.String code) _struct.setAttribute(2, code);
|
public void | setEndDate(java.sql.Timestamp endDate) _struct.setAttribute(5, endDate);
|
public void | setLocationId(java.math.BigDecimal locationId) _struct.setAttribute(0, locationId);
|
public void | setName(java.lang.String name) _struct.setAttribute(3, name);
|
public void | setParentLocationId(java.math.BigDecimal parentLocationId) _struct.setAttribute(1, parentLocationId);
|
public void | setStartDate(java.sql.Timestamp startDate) _struct.setAttribute(4, startDate);
|
public oracle.sql.Datum | toDatum(oracle.jdbc.driver.OracleConnection c)
_ctx = new _Ctx(c);
return _struct.toDatum(c, _SQL_NAME);
|