本文整理了Java中org.eclipse.persistence.exceptions.QueryException.methodNotValid
方法的一些代码示例,展示了QueryException.methodNotValid
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryException.methodNotValid
方法的具体详情如下:
包路径:org.eclipse.persistence.exceptions.QueryException
类名称: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()");
}
}
内容来源于网络,如有侵权,请联系作者删除!