/**
* If the object given is already a {@link CdmBase} then it is returned.<br>
- * If it is a facade then it is asked for its "responsible" CdmBase entity.<br>
+ * If it is a kind of "container" for CDM objects then it is asked for its "responsible" CdmBase entity.<br>
* Otherwise an exception is thrown.
* @param object the object to test for CdmBase
* @return a CdmBase object
- * @throws IllegalArgumentException if the tested object is neither a CdmBase nor a facade
+ * @throws IllegalArgumentException if the tested object is neither a CdmBase nor a CDM "container"
*/
public static CdmBase getCdmEntity(Object object){
// TODO temporary solution for ticket #4091????
else if(object instanceof CdmBase){
return (CdmBase) object;
}
- throw new IllegalArgumentException("Object " + object.toString() + " is neither a CdmBase nor an EntityFacade");
+ throw new IllegalArgumentException("Object " + object.toString() + " is neither a CdmBase nor a CDM \"container\"");
}
/**