public class Identifier
extends java.lang.Object
Constructor and Description |
---|
Identifier() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Return the id of the entity.
|
java.lang.String |
getNamespace()
Return the namespace of the entity.
|
java.lang.String |
toString() |
void |
withId(java.lang.String id)
Set the id.
|
void |
withNamespace(java.lang.String namespace)
Set the namespace.
|
public java.lang.String getId()
public void withId(java.lang.String id)
id
- of the entitypublic java.lang.String getNamespace()
public void withNamespace(java.lang.String namespace)
namespace
- namespace of the entitypublic java.lang.String toString()
toString
in class java.lang.Object