/** * <p>Remove the statement that this enumeration includes <code>res</code> among its members. If this statement * is not true of the current model, nothing happens.</p> * @param res A resource that may be declared to be part of this enumeration, and which is * no longer one of the enumeration values. */ @Override public void removeOneOf( Resource res ) { setOneOf( getOneOf().remove( res ) ); }
Assert.assertTrue("list should contain z ", list2.contains(r2)); list2 = list2.remove(r1); Assert.assertTrue("list should contain x ", list2.contains(r0)); Assert.assertTrue("list should contain y ", !list2.contains(r1)); Assert.assertTrue("list should contain z ", list2.contains(r2)); list2 = list2.remove(r0); Assert.assertTrue("list should contain x ", !list2.contains(r0)); Assert.assertTrue("list should contain y ", !list2.contains(r1)); Assert.assertTrue("list should contain z ", list2.contains(r2)); list2 = list2.remove(r2); Assert.assertTrue("list should contain x ", !list2.contains(r0)); Assert.assertTrue("list should contain y ", !list2.contains(r1));
/** * <p>Remove the given resource from the operands of this class expression.</p> * @param res An resource to be removed from the operands of this class expression */ @Override public void removeOperand( Resource res ) { setOperands( getOperands().remove( res ) ); }
Assert.assertTrue("list should contain z ", list2.contains(r2)); list2 = list2.remove(r1); Assert.assertTrue("list should contain x ", list2.contains(r0)); Assert.assertTrue("list should contain y ", !list2.contains(r1)); Assert.assertTrue("list should contain z ", list2.contains(r2)); list2 = list2.remove(r0); Assert.assertTrue("list should contain x ", !list2.contains(r0)); Assert.assertTrue("list should contain y ", !list2.contains(r1)); Assert.assertTrue("list should contain z ", list2.contains(r2)); list2 = list2.remove(r2); Assert.assertTrue("list should contain x ", !list2.contains(r0)); Assert.assertTrue("list should contain y ", !list2.contains(r1));
/** * <p>Remove the given resource from the list of distinct individuals. If this statement * is not true of the current model, nothing happens.</p> * @param res A resource that is no longer distinct from the other listed individuals */ @Override public void removeDistinctMember( Resource res ) { setDistinctMembers( getDistinctMembers().remove( res ) ); }
/** * <p>Remove the statement that this enumeration includes <code>lit</code> among its members. If this statement * is not true of the current model, nothing happens.</p> * @param lit A literal that may be declared to be part of this data range, and which is * no longer to be one of the data range values. */ @Override public void removeOneOf( Literal lit ) { setOneOf( getOneOf().remove( lit ) ); }
/** * <p>Remove the given resource from the list of distinct individuals. If this statement * is not true of the current model, nothing happens.</p> * @param res A resource that is no longer distinct from the other listed individuals */ @Override public void removeDistinctMember( Resource res ) { setDistinctMembers( getDistinctMembers().remove( res ) ); }
/** * <p>Remove the given resource from the operands of this class expression.</p> * @param res An resource to be removed from the operands of this class expression */ @Override public void removeOperand( Resource res ) { setOperands( getOperands().remove( res ) ); }
/** * <p>Remove the statement that this enumeration includes <code>lit</code> among its members. If this statement * is not true of the current model, nothing happens.</p> * @param lit A literal that may be declared to be part of this data range, and which is * no longer to be one of the data range values. */ @Override public void removeOneOf( Literal lit ) { setOneOf( getOneOf().remove( lit ) ); }
/** * <p>Remove the statement that this enumeration includes <code>res</code> among its members. If this statement * is not true of the current model, nothing happens.</p> * @param res A resource that may be declared to be part of this enumeration, and which is * no longer one of the enumeration values. */ @Override public void removeOneOf( Resource res ) { setOneOf( getOneOf().remove( res ) ); }
.getBaseItem().remove(val));