public Profile cast(final OWLObject object, final boolean strictConversion) { if (canCast(object, strictConversion)) return new ExtendedProfile((OWLIndividual) object); throw CastingException.create(object, ExtendedProfile.class); }
public OwnerEntity cast(final OWLObject object, final boolean strictConversion) { if (canCast(object, strictConversion)) return new OwnerEntity((OWLIndividual) object); throw CastingException.create(object, OwnerEntity.class); }