/** * <p>Add the given class as one of the <code>rdf:type</code>'s for this resource.</p> * * @param cls An RDF resource denoting a new value for the <code>rdf:type</code> property. */ @Override public void addRDFType( Resource cls ) { addPropertyValue( RDF.type, "rdf:type", cls ); }
/** * <p>Add the given class as one of the <code>rdf:type</code>'s for this resource.</p> * * @param cls An RDF resource denoting a new value for the <code>rdf:type</code> property. */ @Override public void addRDFType( Resource cls ) { addPropertyValue( RDF.type, "rdf:type", cls ); }
/** * <p>Add the given label to this resource.</p> * @param label The literal label * @exception ProfileException If the {@link Profile#LABEL()} property is not supported in the current language profile. */ @Override public void addLabel( Literal label ) { addPropertyValue( getProfile().LABEL(), "LABEL", label ); }
/** * <p>Add a statement declaring that this resource is distinct from the given resource.</p> * @param res A resource that declared to be distinct from this resource * @exception ProfileException If the {@link Profile#DIFFERENT_FROM()} property is not supported in the current language profile. */ @Override public void addDifferentFrom( Resource res ) { addPropertyValue( getProfile().DIFFERENT_FROM(), "DIFFERENT_FROM", res ); }
/** * <p>Add a resource that is declared to provided additional information about the definition of this resource</p> * @param res A resource that provides extra information on this resource * @exception ProfileException If the {@link Profile#SEE_ALSO()} property is not supported in the current language profile. */ @Override public void addSeeAlso( Resource res ) { addPropertyValue( getProfile().SEE_ALSO(), "SEE_ALSO", res ); }
/** * <p>Add a resource that is declared to be equivalent to this resource.</p> * @param res A resource that declared to be the same as this resource * @exception ProfileException If the {@link Profile#SAME_AS()} property is not supported in the current language profile. */ @Override public void addSameAs( Resource res ) { addPropertyValue( getProfile().SAME_AS(), "SAME_AS", res ); }
/** * <p>Add a resource that is declared to provide a definition of this resource.</p> * @param res A defining resource * @exception ProfileException If the {@link Profile#IS_DEFINED_BY()} property is not supported in the current language profile. */ @Override public void addIsDefinedBy( Resource res ) { addPropertyValue( getProfile().IS_DEFINED_BY(), "IS_DEFINED_BY", res ); }
/** * <p>Add a resource that is declared to be equivalent to this resource.</p> * @param res A resource that declared to be the same as this resource * @exception ProfileException If the {@link Profile#SAME_AS()} property is not supported in the current language profile. */ @Override public void addSameAs( Resource res ) { addPropertyValue( getProfile().SAME_AS(), "SAME_AS", res ); }
/** * <p>Add a resource that is declared to provided additional information about the definition of this resource</p> * @param res A resource that provides extra information on this resource * @exception ProfileException If the {@link Profile#SEE_ALSO()} property is not supported in the current language profile. */ @Override public void addSeeAlso( Resource res ) { addPropertyValue( getProfile().SEE_ALSO(), "SEE_ALSO", res ); }
/** * <p>Add a resource that is declared to provide a definition of this resource.</p> * @param res A defining resource * @exception ProfileException If the {@link Profile#IS_DEFINED_BY()} property is not supported in the current language profile. */ @Override public void addIsDefinedBy( Resource res ) { addPropertyValue( getProfile().IS_DEFINED_BY(), "IS_DEFINED_BY", res ); }
/** * <p>Add a statement declaring that this resource is distinct from the given resource.</p> * @param res A resource that declared to be distinct from this resource * @exception ProfileException If the {@link Profile#DIFFERENT_FROM()} property is not supported in the current language profile. */ @Override public void addDifferentFrom( Resource res ) { addPropertyValue( getProfile().DIFFERENT_FROM(), "DIFFERENT_FROM", res ); }
/** * <p>Add the given label to this resource.</p> * @param label The literal label * @exception ProfileException If the {@link Profile#LABEL()} property is not supported in the current language profile. */ @Override public void addLabel( Literal label ) { addPropertyValue( getProfile().LABEL(), "LABEL", label ); }