org.eclipse.persistence.exceptions.QueryException.methodNotValid()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(5.8k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中org.eclipse.persistence.exceptions.QueryException.methodNotValid方法的一些代码示例,展示了QueryException.methodNotValid的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryException.methodNotValid方法的具体详情如下:
包路径:org.eclipse.persistence.exceptions.QueryException
类名称:QueryException
方法名:methodNotValid

QueryException.methodNotValid介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Used by the MW
 */
public String getContainerClassName() {
  throw QueryException.methodNotValid(this, "getContainerClassName()");
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return the size of container.
 */
@Override
public int sizeFor(Object container) {
  throw QueryException.methodNotValid(this, "sizeFor(Object container)");
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Remove all the elements from the specified container.
 * Valid only for certain subclasses.
 */
@Override
public void clear(Object container) {
  throw QueryException.methodNotValid(this, "clear(Object container)");
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * This can be used by collection such as cursored stream to gain control over execution.
 */
public Object execute() {
  throw QueryException.methodNotValid(this, "execute()");
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Return whether the specified object is of a valid container type.
 *
 * @see org.eclipse.persistence.internal.queries.CollectionContainerPolicy#isValidContainer(Object)
 * @see org.eclipse.persistence.internal.queries.MapContainerPolicy#isValidContainer(Object)
 */
public boolean isValidContainer(Object container) {
  throw QueryException.methodNotValid(this, "isValidContainer(Object container)");
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return whether element exists in container.
 */
protected boolean containsKey(Object element, Object container) {
  throw QueryException.methodNotValid(this, "containsKey(Object element, Object container)");
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Set the class used for the container.
 */
public void setContainerClass(Class containerClass) {
  throw QueryException.methodNotValid(this, "getContainerClass()");
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return the class used for the container.
 */
public Class getContainerClass() {
  throw QueryException.methodNotValid(this, "getContainerClass()");
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Used by the MW
 */
public void setContainerClassName(String containerClassName) {
  throw QueryException.methodNotValid(this, "getContainerClassName()");
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Return the size of container.
 */
@Override
public int sizeFor(Object container) {
  throw QueryException.methodNotValid(this, "sizeFor(Object container)");
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * This can be used by collection such as cursored stream to gain control over execution.
 */
public Object execute() {
  throw QueryException.methodNotValid(this, "execute()");
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return the class used for the container.
 */
public Class getContainerClass() {
  throw QueryException.methodNotValid(this, "getContainerClass()");
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return whether the specified object is of a valid container type.
 *
 * @see org.eclipse.persistence.internal.queries.CollectionContainerPolicy#isValidContainer(Object)
 * @see org.eclipse.persistence.internal.queries.MapContainerPolicy#isValidContainer(Object)
 */
public boolean isValidContainer(Object container) {
  throw QueryException.methodNotValid(this, "isValidContainer(Object container)");
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return the size of container.
 */
public int sizeFor(Object container) {
  throw QueryException.methodNotValid(this, "sizeFor(Object container)");
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * This can be used by collection such as cursored stream to gain control over execution.
 */
public Object execute() {
  throw QueryException.methodNotValid(this, "execute()");
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return whether the specified type is a valid container type.
 */
public boolean isValidContainerType(Class containerType) {
  throw QueryException.methodNotValid(this, "isValidContainerType(Class containerType)");
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Set the class used for the container.
 */
public void setContainerClass(Class containerClass) {
  throw QueryException.methodNotValid(this, "getContainerClass()");
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Remove all the elements from container.
 */
@Override
public void clear(Object container) {
  try {
    ((Map)container).clear();
  } catch (UnsupportedOperationException ex) {
    throw QueryException.methodNotValid(container, "clear()");
  }
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Remove all the elements from container.
 *
 * @param container java.lang.Object
 */
public void clear(Object container) {
  try {
    ((Collection)container).clear();
  } catch (UnsupportedOperationException ex) {
    throw QueryException.methodNotValid(container, "clear()");
  }
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Remove all the elements from container.
 *
 * @param container java.lang.Object
 */
public void clear(Object container) {
  try {
    ((Collection)container).clear();
  } catch (UnsupportedOperationException ex) {
    throw QueryException.methodNotValid(container, "clear()");
  }
}

相关文章

微信公众号

最新文章

更多

QueryException类方法