public enum RelationshipDegree extends Enum<RelationshipDegree> implements HasURI
| Enum Constant and Description |
|---|
ManyToMany |
ManyToOne |
OneToMany |
OneToOne |
| Modifier and Type | Method and Description |
|---|---|
static RelationshipDegree |
fromLocalName(String localName) |
static RelationshipDegree |
fromURI(org.openrdf.model.URI uri) |
org.openrdf.model.URI |
getURI() |
static RelationshipDegree |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationshipDegree[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationshipDegree OneToOne
public static final RelationshipDegree OneToMany
public static final RelationshipDegree ManyToOne
public static final RelationshipDegree ManyToMany
public static RelationshipDegree[] values()
for (RelationshipDegree c : RelationshipDegree.values()) System.out.println(c);
public static RelationshipDegree valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static RelationshipDegree fromURI(org.openrdf.model.URI uri)
public static RelationshipDegree fromLocalName(String localName)
Copyright © 2019. All rights reserved.