Package org.spdx.rdfparser
Class DOAPProject
java.lang.Object
org.spdx.rdfparser.DOAPProject
- All Implemented Interfaces:
Cloneable
@Deprecated public class DOAPProject extends Object implements Cloneable
Deprecated.
Contains a DOAP project
Currently, only the home page and name properties are supported
This class is provided for compatibility with the 1.2 version of the library
and is no longer used in version 2.0 and above (replaced by model.DoapProject)
- Author:
- Gary O'Neall
-
Field Summary
Fields Modifier and Type Field Description static StringUNKNOWN_URIDeprecated. -
Constructor Summary
Constructors Constructor Description DOAPProject(String projectName, String homePage)Deprecated.DOAPProject(org.apache.jena.rdf.model.Model model, org.apache.jena.graph.Node node)Deprecated. -
Method Summary
Modifier and Type Method Description DOAPProjectclone()Deprecated.org.apache.jena.rdf.model.ResourcecreateResource(org.apache.jena.rdf.model.Model model)Deprecated.booleanequals(Object o)Deprecated.StringgetHomePage()Deprecated.StringgetName()Deprecated.StringgetProjectUri()Deprecated.org.apache.jena.rdf.model.ResourcegetResource()Deprecated.inthashCode()Deprecated.voidsetHomePage(String homePage)Deprecated.voidsetName(String name)Deprecated.voidsetUri(String uri)Deprecated.List<String>verify()Deprecated.
-
Field Details
-
UNKNOWN_URI
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
DOAPProject
public DOAPProject(org.apache.jena.rdf.model.Model model, org.apache.jena.graph.Node node) throws InvalidSPDXAnalysisExceptionDeprecated.- Throws:
InvalidSPDXAnalysisException
-
DOAPProject
Deprecated.- Parameters:
projectName-homePage-
-
-
Method Details
-
getName
Deprecated.- Returns:
- the name
-
setName
Deprecated.- Parameters:
name- the name to set
-
getHomePage
Deprecated.- Returns:
- the homePage
-
setHomePage
Deprecated.- Parameters:
homePage- the homePage to set
-
getProjectUri
Deprecated. -
createResource
public org.apache.jena.rdf.model.Resource createResource(org.apache.jena.rdf.model.Model model)Deprecated. -
verify
Deprecated.- Returns:
-
setUri
Deprecated.- Parameters:
uri-- Throws:
InvalidSPDXAnalysisException
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
getResource
public org.apache.jena.rdf.model.Resource getResource()Deprecated.- Returns:
-
clone
Deprecated.
-