@Test public void testRemove() { try { getPropertyIterator(30, 10).remove(); } catch (OCFRuntimeException err) { assertTrue(err.getMessage().contains("OCF-PROPERTIES-400-018 ")); } catch (Throwable exc) { assertTrue(false); } }
@Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); }
AssetNoteLogs extends AssetPropertyIteratorBase implements Iterator<AssetNoteLog> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } }
AssetNoteLogs extends AssetPropertyIteratorBase implements Iterator<AssetNoteLog> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetNoteLogs(AssetDescriptor              parentAsset,
                         int                          totalElementCount,
                         int                          maxCacheSize);  AssetNoteLogs(AssetDescriptor   parentAsset, AssetNoteLogs template); }
AssetNoteLogs extends AssetPropertyIteratorBase implements Iterator<AssetNoteLog> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetNoteLogs(AssetDescriptor              parentAsset,
                         int                          totalElementCount,
                         int                          maxCacheSize);  AssetNoteLogs(AssetDescriptor   parentAsset, AssetNoteLogs template); @Override boolean hasNext(); @Override AssetNoteLog next(); @Override void remove(); @Override String toString(); }
AssetNoteLogs extends AssetPropertyIteratorBase implements Iterator<AssetNoteLog> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetNoteLogs(AssetDescriptor              parentAsset,
                         int                          totalElementCount,
                         int                          maxCacheSize);  AssetNoteLogs(AssetDescriptor   parentAsset, AssetNoteLogs template); @Override boolean hasNext(); @Override AssetNoteLog next(); @Override void remove(); @Override String toString();  }