public static class PGUtils.RDFPredicate
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static PGUtils.RDFPredicate |
getInstance(java.lang.String uri)
This methods creates an instance of RDFPredicate
|
static PGUtils.RDFPredicate |
getInstance(java.lang.String uri, java.lang.String label)
This methods creates an instance of RDFPredicate
|
static PGUtils.RDFPredicate |
getInstance(java.lang.String uri, java.lang.String label, java.lang.Double weight)
This methods creates an instance of RDFPredicate
|
java.lang.String |
getLabel()
This method returns the name of the property graph attributes/key
|
java.lang.String |
getURI()
This method returns the RDF predicate URI
|
java.lang.Double |
getWeight()
This method returns the weight of the property graph edge, only applicable to edges
|
void |
setLabel(java.lang.String label)
This method sets the name of the property graph attributes/key
|
void |
setURI(java.lang.String uri)
This method sets the URI of the RDF predicate
|
void |
setWeight(java.lang.Double weight)
This method sets the weight of the property graph edge, only applicable to edges
|
public static PGUtils.RDFPredicate getInstance(java.lang.String uri)
uri
- uri of the RDF predicatepublic static PGUtils.RDFPredicate getInstance(java.lang.String uri, java.lang.String label)
uri
- uri of the RDF predicatelabel
- name of the property graph attribute/keypublic static PGUtils.RDFPredicate getInstance(java.lang.String uri, java.lang.String label, java.lang.Double weight)
uri
- uri of the RDF predicatelabel
- name of the property graph attribute/keyweight
- weight of the property graph edge, only applicable to edgespublic java.lang.String getLabel()
public java.lang.String getURI()
public java.lang.Double getWeight()
public void setLabel(java.lang.String label)
public void setURI(java.lang.String uri)
public void setWeight(java.lang.Double weight)
Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.