Codota Logo
AsOfClause.getValue
Code IndexAdd Codota to your IDE (free)

How to use
getValue
method
in
org.eclipse.persistence.history.AsOfClause

Best Java code snippets using org.eclipse.persistence.history.AsOfClause.getValue (Showing top 20 results out of 315)

  • Common ways to obtain AsOfClause
private void myMethod () {
AsOfClause a =
  • Codota IconExpressionBuilder expressionBuilder;expressionBuilder.getAsOfClause()
  • Codota IconObjectLevelReadQuery objectLevelReadQuery;objectLevelReadQuery.getSession().getAsOfClause()
  • Codota IconObjectBuildingQuery objectBuildingQuery;objectBuildingQuery.getSession().getAsOfClause()
  • Smart code suggestions by Codota
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * 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));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * 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));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Gets the actual as of clause represented by <code>this</code>.
 */
public AsOfClause getAsOfClause() {
  return (AsOfClause)super.getValue();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Gets the actual as of clause represented by <code>this</code>.
 */
public AsOfClause getAsOfClause() {
  return (AsOfClause)super.getValue();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Gets the actual as of clause represented by <code>this</code>.
 */
public AsOfClause getAsOfClause() {
  return (AsOfClause)super.getValue();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * 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));
}
origin: com.haulmont.thirdparty/eclipselink

  public String toString() {
    StringWriter writer = new StringWriter();
    writer.write(Helper.getShortClassName(getClass()));
    writer.write("(");
    writer.write(String.valueOf(getValue()));
    writer.write(")");
    return writer.toString();
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  public String toString() {
    StringWriter writer = new StringWriter();
    writer.write(Helper.getShortClassName(getClass()));
    writer.write("(");
    writer.write(getValue().toString());
    writer.write(")");
    return writer.toString();
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * PUBLIC:
 * Answers the value this Session is As Of.
 * Equivalent to getAsOfClause().getValue().
 */
public Object getAsOfValue() {
  return getAsOfClause().getValue();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  public String toString() {
    StringWriter writer = new StringWriter();
    writer.write(Helper.getShortClassName(getClass()));
    writer.write("(");
    writer.write(String.valueOf(getValue()));
    writer.write(")");
    return writer.toString();
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Answers the value this Session is As Of.
 * Equivalent to getAsOfClause().getValue().
 */
public Object getAsOfValue() {
  return getAsOfClause().getValue();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Prints the as of clause for an expression inside of the FROM clause.
 */
public void printSQL(ExpressionSQLPrinter printer) {
  ((AsOfClause)super.getValue()).printSQL(printer);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Answers the value this Session is As Of.
 * Equivalent to getAsOfClause().getValue().
 */
public Object getAsOfValue() {
  return getAsOfClause().getValue();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Prints the as of clause for an expression inside of the FROM clause.
 */
public void printSQL(ExpressionSQLPrinter printer) {
  ((AsOfClause)super.getValue()).printSQL(printer);
}
origin: com.haulmont.thirdparty/eclipselink

@Override
public boolean hasAsOfClause() {
  return ((getAsOfClause() != null) && (getAsOfClause().getValue() != null));
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

@Override
public boolean hasAsOfClause() {
  return ((getAsOfClause() != null) && (getAsOfClause().getValue() != null));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * 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));
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * 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));
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * 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));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * 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);
}
org.eclipse.persistence.historyAsOfClausegetValue

Javadoc

PUBLIC: The past time represented by the receiver. Either a timestamp, a system change number, or an Expression.

Popular methods of AsOfClause

  • equals
    INTERNAL: Return if the as of is equal to the other. Equality of asOf clauses is complex (with subcl
  • isUniversal
    PUBLIC: Answers if this is a UniversalAsOfClause, one to be applied to the entire selection criteria
  • printSQL
    INTERNAL: Prints the as of clause for an expression inside of the FROM clause.
  • toString
  • <init>

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now