public class UnknownTerm extends Object implements Term, Serializable
Constructor and Description |
---|
UnknownTerm(URI uri,
boolean isClass) |
UnknownTerm(URI uri,
String prefix,
String name,
boolean isClass) |
Modifier and Type | Method and Description |
---|---|
static UnknownTerm |
build(String name) |
static UnknownTerm |
build(String name,
boolean isClass) |
static UnknownTerm |
build(String qualifiedName,
String simpleName) |
static UnknownTerm |
build(String qualifiedName,
String simpleName,
boolean isClass) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isClass()
Informs if a term is generally used as a class term, i.e.
|
URI |
namespace()
The namespace the terms are in.
|
String |
prefix()
A unique standard prefix representing the namespace.
|
String |
prefixedName()
The simple term name prefixed by a short unique namespace abbreviation.
|
String |
qualifiedName()
The full qualified term uri including the namespace.
|
String |
simpleName()
The simple term name without any namespace or paths.
|
String |
toString() |
public UnknownTerm(URI uri, String prefix, String name, boolean isClass)
public UnknownTerm(URI uri, boolean isClass)
public static UnknownTerm build(String name)
public static UnknownTerm build(String name, boolean isClass)
public static UnknownTerm build(String qualifiedName, String simpleName)
public static UnknownTerm build(String qualifiedName, String simpleName, boolean isClass)
public String qualifiedName()
Term
qualifiedName
in interface Term
public String simpleName()
Term
simpleName
in interface Term
public boolean isClass()
Term
public String prefixedName()
Term
prefixedName
in interface Term
public String prefix()
Term
public URI namespace()
Term
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.