public class DoapProject extends RdfModelObject
| Modifier and Type | Field and Description |
|---|---|
static String |
UNKNOWN_URI |
model, modelContainer, node, refreshOnGet, resource| Constructor and Description |
|---|
DoapProject(IModelContainer modelContainer,
org.apache.jena.graph.Node node) |
DoapProject(String name,
String homePage) |
| Modifier and Type | Method and Description |
|---|---|
DoapProject |
clone() |
boolean |
equals(Object o) |
boolean |
equivalent(IRdfModel compare)
Returns true if the compare object contains properties which would be equal if they were contained in the same RDF Model
|
String |
getHomePage() |
String |
getName() |
String |
getProjectUri() |
void |
getPropertiesFromModel()
Fetch all of the properties from the model and populate the local Java properties
|
org.apache.jena.rdf.model.Resource |
getType(org.apache.jena.rdf.model.Model model) |
String |
getUri(IModelContainer modelContainer)
Get the URI for this RDF object.
|
int |
hashCode() |
void |
populateModel()
Populate the RDF model from the Java properties
|
void |
setHomePage(String homePage) |
void |
setName(String name) |
void |
setProjectUri(String uri) |
List<String> |
verify() |
addPropertyUriValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, arraysEquivalent, createResource, createResource, equivalentConsideringNull, findAnnotationPropertyValues, findAnyLicenseInfoPropertyValue, findAnyLicenseInfoPropertyValues, findChecksumPropertyValue, findCreationInfoPropertyValue, findDuplicateResource, findElementPropertyValue, findExternalDocRefPropertyValues, findExternalDocRefPropertyValues, findExternalRefPropertyValues, findIntPropertyValue, findMultipleChecksumPropertyValues, findMultipleDoapPropertyValues, findMultipleElementPropertyValues, findMultiplePropertyValues, findReferenceTypePropertyValue, findRelationshipPropertyValues, findReviewPropertyValues, findSinglePointerPropertyValue, findSinglePropertyValue, findStartEndPointerPropertyValues, findUriPropertyValue, findUriPropertyValues, findVerificationCodePropertyValue, getNode, isRefreshOnGet, removePropertyValue, resourcesEqual, setMultipleObjectsForSameNode, setPropertyUriValue, setPropertyUriValues, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setSingleObjectForSameNodepublic static final String UNKNOWN_URI
public DoapProject(IModelContainer modelContainer, org.apache.jena.graph.Node node) throws InvalidSPDXAnalysisException
modelContainer - node - InvalidSPDXAnalysisExceptionpublic void getPropertiesFromModel()
throws InvalidSPDXAnalysisException
RdfModelObjectgetPropertiesFromModel in class RdfModelObjectInvalidSPDXAnalysisExceptionpublic void populateModel()
throws InvalidSPDXAnalysisException
RdfModelObjectpopulateModel in class RdfModelObjectInvalidSPDXAnalysisExceptionpublic String getName()
public void setName(String name)
name - the name to setpublic String getHomePage()
public void setHomePage(String homePage)
homePage - the homePage to setpublic String getProjectUri()
public void setProjectUri(String uri) throws InvalidSPDXAnalysisException
uri - the uri to setInvalidSPDXAnalysisExceptionpublic List<String> verify()
public String getUri(IModelContainer modelContainer)
RdfModelObjectgetUri in class RdfModelObjectpublic boolean equals(Object o)
equals in class RdfModelObjectpublic int hashCode()
hashCode in class RdfModelObjectpublic org.apache.jena.rdf.model.Resource getType(org.apache.jena.rdf.model.Model model)
getType in class RdfModelObjectpublic DoapProject clone()
Copyright © 2017 Linux Foundation. All Rights Reserved.