Package org.opentest4j.reporting.schema
Class QualifiedName
- java.lang.Object
-
- org.opentest4j.reporting.schema.QualifiedName
-
public class QualifiedName extends java.lang.Object
A qualified name consisting of a namespace and a simple name.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Namespace
getNamespace()
java.lang.String
getSimpleName()
int
hashCode()
static QualifiedName
of(Namespace namespace, java.lang.String simpleName)
Create the qualified name for the supplied namespace and name.
-
-
-
Method Detail
-
of
public static QualifiedName of(Namespace namespace, java.lang.String simpleName)
Create the qualified name for the supplied namespace and name.- Parameters:
namespace
- the namespacesimpleName
- the simple name- Returns:
- namespace with the supplied URI
-
getNamespace
public Namespace getNamespace()
- Returns:
- the namespace of this qualified name
-
getSimpleName
public java.lang.String getSimpleName()
- Returns:
- the simple name of this qualified name
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-