public class Identifier extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Identifier.Type |
Modifier and Type | Method and Description |
---|---|
static Identifier |
byId(String id)
Creates a new identifier which is an ID based value
|
static Identifier |
byName(String name)
Creates an identifier which is NAME based identification
|
String |
getId() |
Identifier.Type |
getType() |
boolean |
isTypeID() |
public static Identifier byId(String id)
id
- the ID valuepublic static Identifier byName(String name)
name
- the name valuepublic Identifier.Type getType()
public String getId()
public boolean isTypeID()
Copyright © 2017. All rights reserved.