org.openmdx.base.accessor.rest.AbstractPersistenceCapableCollection Maven / Gradle / Ivy
package org.openmdx.base.accessor.rest;
import javax.jdo.spi.PersistenceCapable;
import javax.jdo.spi.StateManager;
import org.openmdx.base.persistence.spi.PersistenceCapableCollection;
abstract class AbstractPersistenceCapableCollection implements PersistenceCapableCollection {
protected AbstractPersistenceCapableCollection() {
super();
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoReplaceStateManager(javax.jdo.spi.StateManager)
*/
@Override
public void jdoReplaceStateManager(
StateManager sm
) throws SecurityException {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoProvideField(int)
*/
@Override
public void jdoProvideField(int fieldNumber) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoProvideFields(int[])
*/
@Override
public void jdoProvideFields(int[] fieldNumbers) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoReplaceField(int)
*/
@Override
public void jdoReplaceField(int fieldNumber) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoReplaceFields(int[])
*/
@Override
public void jdoReplaceFields(int[] fieldNumbers) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoReplaceFlags()
*/
@Override
public void jdoReplaceFlags() {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoCopyFields(java.lang.Object, int[])
*/
@Override
public void jdoCopyFields(Object other, int[] fieldNumbers) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoMakeDirty(java.lang.String)
*/
@Override
public void jdoMakeDirty(String fieldName) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoGetVersion()
*/
@Override
public Object jdoGetVersion() {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoIsDirty()
*/
@Override
public boolean jdoIsDirty() {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoIsTransactional()
*/
@Override
public boolean jdoIsTransactional() {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoIsNew()
*/
@Override
public boolean jdoIsNew() {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoIsDeleted()
*/
@Override
public boolean jdoIsDeleted() {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoIsDetached()
*/
@Override
public boolean jdoIsDetached() {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoNewInstance(javax.jdo.spi.StateManager)
*/
@Override
public PersistenceCapable jdoNewInstance(StateManager sm) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoNewInstance(javax.jdo.spi.StateManager, java.lang.Object)
*/
@Override
public PersistenceCapable jdoNewInstance(StateManager sm, Object oid) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoNewObjectIdInstance()
*/
@Override
public Object jdoNewObjectIdInstance() {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoNewObjectIdInstance(java.lang.Object)
*/
@Override
public Object jdoNewObjectIdInstance(Object o) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoCopyKeyFieldsToObjectId(java.lang.Object)
*/
@Override
public void jdoCopyKeyFieldsToObjectId(Object oid) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoCopyKeyFieldsToObjectId(javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier, java.lang.Object)
*/
@Override
public void jdoCopyKeyFieldsToObjectId(ObjectIdFieldSupplier fm, Object oid) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
/* (non-Javadoc)
* @see javax.jdo.spi.PersistenceCapable#jdoCopyKeyFieldsFromObjectId(javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, java.lang.Object)
*/
@Override
public void jdoCopyKeyFieldsFromObjectId(
ObjectIdFieldConsumer fm,
Object oid
) {
throw new UnsupportedOperationException("Not supported by persistence capable collections");
}
}