/** * ADVANCED: * Answers if all objects are to be read as of a past time. Only true if * this is a special historical session. * @see #getAsOfClause */ public boolean hasAsOfClause() { return ((asOfClause != null) && (asOfClause.getValue() != null)); }
/** * ADVANCED: * Answers if all objects are to be read as of a past time. Only true if * this is a special historical session. * @see #getAsOfClause */ public boolean hasAsOfClause() { return ((asOfClause != null) && (asOfClause.getValue() != null)); }
/** * INTERNAL: * Gets the actual as of clause represented by <code>this</code>. */ public AsOfClause getAsOfClause() { return (AsOfClause)super.getValue(); }
/** * INTERNAL: * Gets the actual as of clause represented by <code>this</code>. */ public AsOfClause getAsOfClause() { return (AsOfClause)super.getValue(); }
/** * INTERNAL: * Gets the actual as of clause represented by <code>this</code>. */ public AsOfClause getAsOfClause() { return (AsOfClause)super.getValue(); }
/** * ADVANCED: * Answers if all objects are to be read as of a past time. Only true if * this is a special historical session. * @see #getAsOfClause */ public boolean hasAsOfClause() { return ((asOfClause != null) && (asOfClause.getValue() != null)); }
public String toString() { StringWriter writer = new StringWriter(); writer.write(Helper.getShortClassName(getClass())); writer.write("("); writer.write(String.valueOf(getValue())); writer.write(")"); return writer.toString(); } }
public String toString() { StringWriter writer = new StringWriter(); writer.write(Helper.getShortClassName(getClass())); writer.write("("); writer.write(getValue().toString()); writer.write(")"); return writer.toString(); } }
/** * PUBLIC: * Answers the value this Session is As Of. * Equivalent to getAsOfClause().getValue(). */ public Object getAsOfValue() { return getAsOfClause().getValue(); }
public String toString() { StringWriter writer = new StringWriter(); writer.write(Helper.getShortClassName(getClass())); writer.write("("); writer.write(String.valueOf(getValue())); writer.write(")"); return writer.toString(); } }
/** * PUBLIC: * Answers the value this Session is As Of. * Equivalent to getAsOfClause().getValue(). */ public Object getAsOfValue() { return getAsOfClause().getValue(); }
/** * INTERNAL: * Prints the as of clause for an expression inside of the FROM clause. */ public void printSQL(ExpressionSQLPrinter printer) { ((AsOfClause)super.getValue()).printSQL(printer); }
/** * PUBLIC: * Answers the value this Session is As Of. * Equivalent to getAsOfClause().getValue(). */ public Object getAsOfValue() { return getAsOfClause().getValue(); }
/** * INTERNAL: * Prints the as of clause for an expression inside of the FROM clause. */ public void printSQL(ExpressionSQLPrinter printer) { ((AsOfClause)super.getValue()).printSQL(printer); }
@Override public boolean hasAsOfClause() { return ((getAsOfClause() != null) && (getAsOfClause().getValue() != null)); }
@Override public boolean hasAsOfClause() { return ((getAsOfClause() != null) && (getAsOfClause().getValue() != null)); }
/** * INTERNAL: * This check is optimized for the case where no AsOfClause is specified. */ public boolean isDecorated() { return ((getAsOfClause() != AsOfClause.NO_CLAUSE) && (getAsOfClause() != null) && (getAsOfClause().getValue() != null)); }
/** * INTERNAL: * This check is optimized for the case where no AsOfClause is specified. */ public boolean isDecorated() { return ((getAsOfClause() != AsOfClause.NO_CLAUSE) && (getAsOfClause() != null) && (getAsOfClause().getValue() != null)); }
/** * INTERNAL: * This check is optimized for the case where no AsOfClause is specified. */ public boolean isDecorated() { return ((getAsOfClause() != AsOfClause.NO_CLAUSE) && (getAsOfClause() != null) && (getAsOfClause().getValue() != null)); }
/** * INTERNAL: * Constructs a HistoricalSession given a valid AsOfClause. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { if ((clause == null) || (clause.getValue() == null)) { throw ValidationException.cannotAcquireHistoricalSession(); } if (!getProject().hasGenericHistorySupport() && !hasBroker() && ((getPlatform() == null) || !getPlatform().isOracle())) { throw ValidationException.historicalSessionOnlySupportedOnOracle(); } return new HistoricalSession(this, clause); }