@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"); }
AssetComments extends AssetPropertyIteratorBase implements Iterator<AssetComment> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } }
AssetComments extends AssetPropertyIteratorBase implements Iterator<AssetComment> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetComments(AssetDescriptor              parentAsset,
                         int                          totalElementCount,
                         int                          maxCacheSize);  AssetComments(AssetDescriptor   parentAsset, AssetComments template); }
AssetComments extends AssetPropertyIteratorBase implements Iterator<AssetComment> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetComments(AssetDescriptor              parentAsset,
                         int                          totalElementCount,
                         int                          maxCacheSize);  AssetComments(AssetDescriptor   parentAsset, AssetComments template); @Override boolean hasNext(); @Override AssetComment next(); @Override void remove(); @Override String toString(); }
AssetComments extends AssetPropertyIteratorBase implements Iterator<AssetComment> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetComments(AssetDescriptor              parentAsset,
                         int                          totalElementCount,
                         int                          maxCacheSize);  AssetComments(AssetDescriptor   parentAsset, AssetComments template); @Override boolean hasNext(); @Override AssetComment next(); @Override void remove(); @Override String toString();  }