/** * <p>Add a super-class of this class.</p> * @param cls A class that is a super-class of this class. * @exception ProfileException If the {@link Profile#SUB_CLASS_OF()} property is not supported in the current language profile. */ @Override public void addSuperClass( Resource cls ) { addPropertyValue( getProfile().SUB_CLASS_OF(), "SUB_CLASS_OF", cls ); }
/** * <p>Add a class that this class is disjoint with.</p> * @param cls A class that has no instances in common with this class. * @exception ProfileException If the {@link Profile#DISJOINT_WITH()} property is not supported in the current language profile. */ @Override public void addDisjointWith( Resource cls ) { addPropertyValue( getProfile().DISJOINT_WITH(), "DISJOINT_WITH", cls ); }
/** * <p>Add a class that is equivalent to this class.</p> * @param cls A class that is equivalent to this class. * @exception ProfileException If the {@link Profile#EQUIVALENT_CLASS()} property is not supported in the current language profile. */ @Override public void addEquivalentClass( Resource cls ) { addPropertyValue( getProfile().EQUIVALENT_CLASS(), "EQUIVALENT_CLASS", cls ); }
/** * <p>Add a class that this class is disjoint with.</p> * @param cls A class that has no instances in common with this class. * @exception ProfileException If the {@link Profile#DISJOINT_WITH()} property is not supported in the current language profile. */ @Override public void addDisjointWith( Resource cls ) { addPropertyValue( getProfile().DISJOINT_WITH(), "DISJOINT_WITH", cls ); }
/** * <p>Add a super-class of this class.</p> * @param cls A class that is a super-class of this class. * @exception ProfileException If the {@link Profile#SUB_CLASS_OF()} property is not supported in the current language profile. */ @Override public void addSuperClass( Resource cls ) { addPropertyValue( getProfile().SUB_CLASS_OF(), "SUB_CLASS_OF", cls ); }
/** * <p>Add a class that is equivalent to this class.</p> * @param cls A class that is equivalent to this class. * @exception ProfileException If the {@link Profile#EQUIVALENT_CLASS()} property is not supported in the current language profile. */ @Override public void addEquivalentClass( Resource cls ) { addPropertyValue( getProfile().EQUIVALENT_CLASS(), "EQUIVALENT_CLASS", cls ); }