Package org.opentest4j.reporting.schema
Class QualifiedName
- java.lang.Object
-
- org.opentest4j.reporting.schema.QualifiedName
-
public class QualifiedName extends java.lang.ObjectA 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 booleanequals(java.lang.Object o)NamespacegetNamespace()java.lang.StringgetSimpleName()inthashCode()static QualifiedNameof(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-