company logo

Property :: hasSuperset - Does collection have a superset

The property returns, whether a superset has been defined for a relationship or extent or not. The property is true , when there exists at least one superset and false otherwise.

The function might be called in order to avoid exceptions before calling superset() .

... fragment ( Property &person ) {

  if ( person.hasSuperset() )

    Application::output(person.superset().count());

}

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false .

Implementation details

bool Property  :: hasSuperset (  )