company logo

Property :: hasSuperset - Does collection have a super set

The property returns, whether a super set has been defined for a relationship or extent or not. The property is true, when there exists at least one super set 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 (  )