/** * <p> * Answer an iterator that ranges over the complement class-descriptions * in this model, i.e. the class resources specified to have a property * <code>complementOf</code> (or equivalent) and a list of values. * </p> * <p> * <strong>Note:</strong> the number of nodes returned by this iterator will vary according to * the completeness of the deductive extension of the underlying graph. See class * overview for more details. * </p> * * @return An iterator over complement class resources. * @see Profile#COMPLEMENT_OF */ @Override public ExtendedIterator<ComplementClass> listComplementClasses() { checkProfileEntry( getProfile().COMPLEMENT_OF(), "COMPLEMENT_OF" ); return findByDefiningPropertyAs( getProfile().COMPLEMENT_OF(), ComplementClass.class ) .filterKeep( new UniqueFilter<ComplementClass>()); }
/** * <p> * Answer an iterator that ranges over the complement class-descriptions * in this model, i.e. the class resources specified to have a property * <code>complementOf</code> (or equivalent) and a list of values. * </p> * <p> * <strong>Note:</strong> the number of nodes returned by this iterator will vary according to * the completeness of the deductive extension of the underlying graph. See class * overview for more details. * </p> * * @return An iterator over complement class resources. * @see Profile#COMPLEMENT_OF */ @Override public ExtendedIterator<ComplementClass> listComplementClasses() { checkProfileEntry( getProfile().COMPLEMENT_OF(), "COMPLEMENT_OF" ); return findByDefiningPropertyAs( getProfile().COMPLEMENT_OF(), ComplementClass.class ) .filterKeep( new UniqueFilter<ComplementClass>()); }
/** * <p> * Answer an iterator that ranges over the intersection class-descriptions * in this model, i.e. the class resources specified to have a property * <code>intersectionOf</code> (or equivalent) and a list of values. * </p> * <p> * <strong>Note:</strong> the number of nodes returned by this iterator will vary according to * the completeness of the deductive extension of the underlying graph. See class * overview for more details. * </p> * * @return An iterator over complement class resources. * @see Profile#INTERSECTION_OF */ @Override public ExtendedIterator<IntersectionClass> listIntersectionClasses() { checkProfileEntry( getProfile().INTERSECTION_OF(), "INTERSECTION_OF" ); return findByDefiningPropertyAs( getProfile().INTERSECTION_OF(), IntersectionClass.class ) .filterKeep( new UniqueFilter<IntersectionClass>()); }
/** * <p> * Answer an iterator that ranges over the enumerated class class-descriptions * in this model, i.e. the class resources specified to have a property * <code>oneOf</code> (or equivalent) and a list of values. * </p> * <p> * <strong>Note:</strong> the number of nodes returned by this iterator will vary according to * the completeness of the deductive extension of the underlying graph. See class * overview for more details. * </p> * * @return An iterator over enumerated class resources. * @see Profile#ONE_OF */ @Override public ExtendedIterator<EnumeratedClass> listEnumeratedClasses() { checkProfileEntry( getProfile().ONE_OF(), "ONE_OF" ); return findByDefiningPropertyAs( getProfile().ONE_OF(), EnumeratedClass.class ) .filterKeep( new UniqueFilter<EnumeratedClass>()); }
/** * <p> * Answer an iterator that ranges over the enumerated class class-descriptions * in this model, i.e. the class resources specified to have a property * <code>oneOf</code> (or equivalent) and a list of values. * </p> * <p> * <strong>Note:</strong> the number of nodes returned by this iterator will vary according to * the completeness of the deductive extension of the underlying graph. See class * overview for more details. * </p> * * @return An iterator over enumerated class resources. * @see Profile#ONE_OF */ @Override public ExtendedIterator<EnumeratedClass> listEnumeratedClasses() { checkProfileEntry( getProfile().ONE_OF(), "ONE_OF" ); return findByDefiningPropertyAs( getProfile().ONE_OF(), EnumeratedClass.class ) .filterKeep( new UniqueFilter<EnumeratedClass>()); }
/** * <p> * Answer an iterator that ranges over the union class-descriptions * in this model, i.e. the class resources specified to have a property * <code>unionOf</code> (or equivalent) and a list of values. * </p> * <p> * <strong>Note:</strong> the number of nodes returned by this iterator will vary according to * the completeness of the deductive extension of the underlying graph. See class * overview for more details. * </p> * * @return An iterator over union class resources. * @see Profile#UNION_OF */ @Override public ExtendedIterator<UnionClass> listUnionClasses() { checkProfileEntry( getProfile().UNION_OF(), "UNION_OF" ); return findByDefiningPropertyAs( getProfile().UNION_OF(), UnionClass.class ) .filterKeep( new UniqueFilter<UnionClass>()); }
/** * <p> * Answer an iterator that ranges over the union class-descriptions * in this model, i.e. the class resources specified to have a property * <code>unionOf</code> (or equivalent) and a list of values. * </p> * <p> * <strong>Note:</strong> the number of nodes returned by this iterator will vary according to * the completeness of the deductive extension of the underlying graph. See class * overview for more details. * </p> * * @return An iterator over union class resources. * @see Profile#UNION_OF */ @Override public ExtendedIterator<UnionClass> listUnionClasses() { checkProfileEntry( getProfile().UNION_OF(), "UNION_OF" ); return findByDefiningPropertyAs( getProfile().UNION_OF(), UnionClass.class ) .filterKeep( new UniqueFilter<UnionClass>()); }
/** * <p> * Answer an iterator that ranges over the intersection class-descriptions * in this model, i.e. the class resources specified to have a property * <code>intersectionOf</code> (or equivalent) and a list of values. * </p> * <p> * <strong>Note:</strong> the number of nodes returned by this iterator will vary according to * the completeness of the deductive extension of the underlying graph. See class * overview for more details. * </p> * * @return An iterator over complement class resources. * @see Profile#INTERSECTION_OF */ @Override public ExtendedIterator<IntersectionClass> listIntersectionClasses() { checkProfileEntry( getProfile().INTERSECTION_OF(), "INTERSECTION_OF" ); return findByDefiningPropertyAs( getProfile().INTERSECTION_OF(), IntersectionClass.class ) .filterKeep( new UniqueFilter<IntersectionClass>()); }